public class ElementTypeDataRegister extends Object
ProcessElementType
.Modifier and Type | Method and Description |
---|---|
static ProcessElementType |
find(Class<?> clazz)
Finds
ProcessElementType for the given class. |
static String |
getColor(ProcessElementType type)
Gets the default background color for the given type.
|
static int |
getHeight(ProcessElementType type)
Gets the default height for the given type
|
static int |
getWidth(ProcessElementType type)
Gets the default width for the given type.
|
public static ProcessElementType find(Class<?> clazz)
ProcessElementType
for the given class.clazz
- the class for which to find the type.null
if it cannot be found in this register.public static String getColor(ProcessElementType type)
type
- the typepublic static int getWidth(ProcessElementType type)
type
- the typepublic static int getHeight(ProcessElementType type)
type
- the typeCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.