java.lang.Object
de.grogra.mtg.MTGKeys
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final String[]
static final String[]
static final String
static final String
static final String[]
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final String
static final String
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
codeToJavaTypeFeatureTypes
(int code) For creating strings specifiying java primitive or object types from MTG feature typesstatic int
doubleToInt
(Object value) static String
edgeBitToSymbol
(int bit) static boolean
featureNameMatchesFeatureType
(int nameIndex, int typeIndex) static String
getGeneratedModuleName
(String mtgClassName) static int
getStdAttFlagMask
(String featureName) static double
integerToDouble
(Object value) static boolean
isStandardAttribute
(String featureName) static int
javaTypeToFeatureTypesCode
(String javaType) static String
javaTypeToMTGType
(String javaType) static int
keywordToCodeDecomposition
(String keyword) static int
keywordToCodeDefinition
(String keyword) static int
keywordToCodeEdgeType
(String keyword) static int
keywordToCodeMax
(String keyword) static int
keywordToCodeRelType
(String keyword) static int
keywordToCodeStandardFeatureName
(String keyword) static int
keywordToCodeStandardFeatureTypes
(String keyword) static boolean
stateFeatureCharactersAcceptable
(String valueString)
-
Field Details
-
MTG_CODE_KEYWORD_CODE
- See Also:
-
MTG_CODE_KEYWORD_FORM_A
- See Also:
-
MTG_CODE_KEYWORD_FORM_B
- See Also:
-
MTG_CLASSES_KEYWORD_CLASSES
- See Also:
-
MTG_CLASSES_KEYWORD_SYMBOL
- See Also:
-
MTG_CLASSES_KEYWORD_SCALE
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION
- See Also:
-
MTG_CLASSES_KEYWORD_INDEXATION
- See Also:
-
MTG_CLASSES_KEYWORD_DEFINITION
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION_CONNECTED
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION_LINEAR
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION_LINEAR_SUCC
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION_LINEAR_BRAN
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION_LINEAR_FREE
- See Also:
-
MTG_CLASSES_KEYWORD_DECOMPOSITION_LINEAR_NONE
- See Also:
-
MTG_CLASSES_KEYWORD_DEFINITION_IMPLICIT
- See Also:
-
MTG_CLASSES_KEYWORD_DEFINITION_EXPLICIT
- See Also:
-
MTG_CLASSES_KEYCODE_DECOMPOSITION_CONNECTED
public static final int MTG_CLASSES_KEYCODE_DECOMPOSITION_CONNECTED- See Also:
-
MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR
public static final int MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR- See Also:
-
MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_SUCC
public static final int MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_SUCC- See Also:
-
MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_BRAN
public static final int MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_BRAN- See Also:
-
MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_FREE
public static final int MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_FREE- See Also:
-
MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_NONE
public static final int MTG_CLASSES_KEYCODE_DECOMPOSITION_LINEAR_NONE- See Also:
-
MTG_CLASSES_KEYCODE_DEFINITION_IMPLICIT
public static final int MTG_CLASSES_KEYCODE_DEFINITION_IMPLICIT- See Also:
-
MTG_CLASSES_KEYCODE_DEFINITION_EXPLICIT
public static final int MTG_CLASSES_KEYCODE_DEFINITION_EXPLICIT- See Also:
-
MTG_TOPO_KEYWORD_DESCRIPTION
- See Also:
-
MTG_TOPO_KEYWORD_LEFT
- See Also:
-
MTG_TOPO_KEYWORD_RIGHT
- See Also:
-
MTG_TOPO_KEYWORD_RELTYPE
- See Also:
-
MTG_TOPO_KEYWORD_MAX
- See Also:
-
MTG_TOPO_KEYWORD_RELTYPE_SUCC
- See Also:
-
MTG_TOPO_KEYWORD_RELTYPE_BRAN
- See Also:
-
MTG_TOPO_KEYWORD_RELTYPE_REFI
- See Also:
-
MTG_TOPO_KEYWORD_MAX_ONE
- See Also:
-
MTG_TOPO_KEYWORD_MAX_MANY
- See Also:
-
MTG_TOPO_KEYCODE_RELTYPE_SUCC
public static final int MTG_TOPO_KEYCODE_RELTYPE_SUCC- See Also:
-
MTG_TOPO_KEYCODE_RELTYPE_BRAN
public static final int MTG_TOPO_KEYCODE_RELTYPE_BRAN- See Also:
-
MTG_TOPO_KEYCODE_MAX_ONE
public static final int MTG_TOPO_KEYCODE_MAX_ONE- See Also:
-
MTG_TOPO_KEYCODE_MAX_MANY
public static final int MTG_TOPO_KEYCODE_MAX_MANY- See Also:
-
MTG_ATTRIBUTE_KEYWORD_FEATURES
- See Also:
-
MTG_ATTRIBUTE_KEYWORD_NAME
- See Also:
-
MTG_ATTRIBUTE_KEYWORD_TYPE
- See Also:
-
MTG_ATTRIBUTE_KEYWORD_FEATURE_NAMES
-
MTG_ATTRIBUTE_KEYWORD_STATE_CHARS
-
MTG_ATTRIBUTE_KEYWORD_FEATURE_TYPES
-
MTG_DATA_KEYWORD_MTG
- See Also:
-
MTG_DATA_KEYWORD_ENTITY_CODE
- See Also:
-
MTG_DATA_KEYWORD_EDGE_SUCC
- See Also:
-
MTG_DATA_KEYWORD_EDGE_BRAN
- See Also:
-
MTG_DATA_KEYWORD_EDGE_REFI
- See Also:
-
MTG_DATA_KEYWORD_EDGE_SUCC_MANY
- See Also:
-
MTG_DATA_KEYWORD_EDGE_BRAN_MANY
- See Also:
-
MTG_DATA_KEYWORD_EDGE_SUCC_MANY_ATT
- See Also:
-
MTG_DATA_KEYWORD_EDGE_BRAN_MANY_ATT
- See Also:
-
MTG_DATA_KEYCODE_EDGE_SUCC
public static final int MTG_DATA_KEYCODE_EDGE_SUCC- See Also:
-
MTG_DATA_KEYCODE_EDGE_BRAN
public static final int MTG_DATA_KEYCODE_EDGE_BRAN- See Also:
-
MTG_DATA_KEYCODE_EDGE_REFI
public static final int MTG_DATA_KEYCODE_EDGE_REFI- See Also:
-
MTG_DATA_KEYCODE_EDGE_SUCC_MANY
public static final int MTG_DATA_KEYCODE_EDGE_SUCC_MANY- See Also:
-
MTG_DATA_KEYCODE_EDGE_BRAN_MANY
public static final int MTG_DATA_KEYCODE_EDGE_BRAN_MANY- See Also:
-
MTG_DATA_KEYCODE_EDGE_SUCC_MANY_ATT
public static final int MTG_DATA_KEYCODE_EDGE_SUCC_MANY_ATT- See Also:
-
MTG_DATA_KEYCODE_EDGE_BRAN_MANY_ATT
public static final int MTG_DATA_KEYCODE_EDGE_BRAN_MANY_ATT- See Also:
-
MTG_UNKNOWN_KEYCODE
public static final int MTG_UNKNOWN_KEYCODE- See Also:
-
MTG_ROOT_NODE
public static final int MTG_ROOT_NODE- See Also:
-
MTG_ANY
public static final int MTG_ANY- See Also:
-
MTG_NODE_ENTITY_CLASS
- See Also:
-
MTG_NODE_ENTITY_INDEX
- See Also:
-
MTG_NODE_LIST_INDEX
- See Also:
-
MTG_NODE_NODELIST
- See Also:
-
MTG_NODE_BRANCHES
- See Also:
-
MTG_NODE_PLANT_COUNT
- See Also:
-
MTG_NODE_PLANT_ORIGIN
- See Also:
-
MTG_NODE_PLANT_MIN
- See Also:
-
MTG_NODE_PLANT_MAX
- See Also:
-
MTG_NODE_DRESSING
- See Also:
-
MTG_NODE_COORD_ORIGIN
- See Also:
-
MTG_NODE_COORD_SQUARES
- See Also:
-
MTG_RGG_MODULES
- See Also:
-
MTG_MODULE_PREFIX
- See Also:
-
TR_X
- See Also:
-
TR_Y
- See Also:
-
TR_Z
- See Also:
-
TR_DAB
- See Also:
-
TR_DAC
- See Also:
-
TR_DBC
- See Also:
-
CA_X
- See Also:
-
CA_Y
- See Also:
-
CA_Z
- See Also:
-
ATT_LENGTH
- See Also:
-
ATT_AZIMUT
- See Also:
-
ATT_ALPHA
- See Also:
-
ATT_TETA
- See Also:
-
ATT_PHI
- See Also:
-
ATT_PSI
- See Also:
-
ATT_TOPDIA
- See Also:
-
ATT_BOTTOMDIA
- See Also:
-
ATT_POSITION
- See Also:
-
ATT_CATEGORY
- See Also:
-
ATT_DIRECTION_PRI
- See Also:
-
ATT_ORDER
- See Also:
-
MTG_TYPE_STANDARD
public static final int MTG_TYPE_STANDARD- See Also:
-
MTG_TYPE_COORD_TRI_REF
public static final int MTG_TYPE_COORD_TRI_REF- See Also:
-
MTG_TYPE_COORD_CARTESIAN
public static final int MTG_TYPE_COORD_CARTESIAN- See Also:
-
MTG_SCALES_VISIBLE
-
MTG_SCALES_CHANGED
-
MTG_TRUNK_ORDER
public static final int MTG_TRUNK_ORDER- See Also:
-
-
Constructor Details
-
MTGKeys
public MTGKeys()
-
-
Method Details
-
keywordToCodeEdgeType
- Throws:
MTGError.MTGGraphBuildException
-
keywordToCodeStandardFeatureName
-
keywordToCodeStandardFeatureTypes
-
featureNameMatchesFeatureType
public static boolean featureNameMatchesFeatureType(int nameIndex, int typeIndex) -
stateFeatureCharactersAcceptable
-
keywordToCodeDecomposition
- Throws:
MTGError.MTGGraphBuildException
-
keywordToCodeDefinition
- Throws:
MTGError.MTGGraphBuildException
-
keywordToCodeRelType
- Throws:
MTGError.MTGGraphBuildException
-
keywordToCodeMax
- Throws:
MTGError.MTGGraphBuildException
-
codeToJavaTypeFeatureTypes
For creating strings specifiying java primitive or object types from MTG feature types- Parameters:
code
- representing index of MTG feature type in array MTG_ATTRIBUTE_KEYWORD_FEATURE_TYPES- Returns:
- string
-
javaTypeToFeatureTypesCode
-
javaTypeToMTGType
-
getGeneratedModuleName
-
isStandardAttribute
-
getStdAttFlagMask
-
integerToDouble
- Throws:
MTGError.MTGGraphBuildException
-
doubleToInt
- Throws:
MTGError.MTGGraphBuildException
-
edgeBitToSymbol
-