|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GrappaConstants
This class provides a common set of constant, class variables used by the classes in the grappa package.
Field Summary | |
---|---|
static int |
_NO_TYPE
Indicator that no attribute value type is specified. |
static java.lang.String |
ANONYMOUS_PREFIX
Name prefix for name generation of unnamed subgraphs. |
static java.lang.String |
BBOX_ATTR
String name for bounding box attribute (bb). |
static int |
BBOX_HASH
Hash code for bounding box attribute (bb). |
static int |
BOX_SHAPE
Indicator that the element has a box shape. |
static int |
BOX_TYPE
Indicator that attribute value is an instance of GrappaBox. |
static java.lang.String |
CLUSTERRANK_ATTR
String name for cluster rank attribute (clusterrank). |
static java.lang.String |
COLOR_ATTR
String name for color attribute (color). |
static int |
COLOR_HASH
Hash code for color attribute (color). |
static int |
COLOR_TYPE
Indicator that attribute value is an instance of java.awt.Color. |
static java.lang.String |
CUSTOM_ATTR
String name for custom class used to draw custom shapes (custom). |
static int |
CUSTOM_HASH
Hash code for custom attribute (custom). |
static int |
CUSTOM_SHAPE
Indicator that the element shape is determined by a user-supplied class defined by the "custom" attribute |
static int |
DELETION_MASK
Bit indicator that deletion highlight is active. |
static int |
DIAMOND_SHAPE
Indicator that the element has a diamond shape. |
static java.lang.String |
DIR_ATTR
String name for direction attribute (dir). |
static int |
DIR_HASH
Hash code for edge direction attribute (dir). |
static int |
DIR_TYPE
Indicator that attribute value is an instance of java.lang.Integer representing an edge direction. |
static java.lang.String |
DISTORTION_ATTR
String name for distortion attribute (distortion). |
static int |
DISTORTION_HASH
Hash code for distortion attribute (distortion). |
static int |
DOUBLE_TYPE
Indicator that attribute value is an instance of java.lang.Double. |
static int |
DOUBLECIRCLE_SHAPE
Indicator that the element has a double circle shape. |
static int |
DOUBLEOCTAGON_SHAPE
Indicator that the element has a double octagon shape. |
static int |
EDGE
Element type value indicating an edge. |
static int |
EGG_SHAPE
Indicator that the element has a egg shape. |
static java.lang.String |
FILLCOLOR_ATTR
String name for fill color attribute (fillcolor). |
static int |
FILLCOLOR_HASH
Hash code for fillcolor attribute (fillcolor). |
static java.lang.String |
FONTCOLOR_ATTR
String name for fontcolor attribute (fontcolor). |
static int |
FONTCOLOR_HASH
Hash code for fontcolor attribute (fontcolor). |
static java.lang.String |
FONTNAME_ATTR
String name for fontname attribute (fontname). |
static int |
FONTNAME_HASH
Hash code for fontname attribute (fontname). |
static java.lang.String |
FONTSIZE_ATTR
String name for fontsize attribute (fontsize). |
static int |
FONTSIZE_HASH
Hash code for fontsize attribute (fontsize). |
static java.lang.String |
FONTSTYLE_ATTR
String name for fontstyle attribute (fontstyle). |
static int |
FONTSTYLE_HASH
Hash code for fontstyle attribute (fontstyle). |
static int |
FONTSTYLE_TYPE
Indicator that attribute value is a java.lang.Integer representing a font style. |
static java.lang.String |
GRAPPA_BACKGROUND_COLOR_ATTR
String name for background color attribute (grappaBackgroundColor). |
static int |
GRAPPA_BACKGROUND_COLOR_HASH
Hash code for background color attribute (grappaBackgroundColor). |
static java.lang.String |
GRAPPA_DELETION_STYLE_ATTR
String name for deletion color attribute (grappaDeletionColor). |
static int |
GRAPPA_DELETION_STYLE_HASH
Hash code for deletion color attribute (grappaDeletionColor). |
static java.lang.String |
GRAPPA_FONTSIZE_ADJUSTMENT_ATTR
String name for fontsize adjustment attribute (grappaFontsizeAdjustment). |
static int |
GRAPPA_FONTSIZE_ADJUSTMENT_HASH
Hash code for fontsize adjustment attribute (grappaFontsizeAdjustment). |
static java.lang.String |
GRAPPA_SELECTION_STYLE_ATTR
String name for selection color attribute (grappaSelectionColor). |
static int |
GRAPPA_SELECTION_STYLE_HASH
Hash code for selection color attribute (grappaSelectionColor). |
static int |
GRAPPA_SHAPE
Bit flag indicating that the shape path needs to be generated by by Grappa rather than relying on Java built-ins. |
static int |
HASHLIST_TYPE
Indicator that attribute value is a java.lang.Hashtable whose keys provide a list of values |
static java.lang.String |
HEADLABEL_ATTR
String name for head label attribute (headlabel). |
static int |
HEADLABEL_HASH
Hash code for head label attribute (headlabel). |
static java.lang.String |
HEADLP_ATTR
String name for head label position attribute (head_lp). |
static int |
HEADLP_HASH
Hash code for head label position attribute (head_lp). |
static java.lang.String |
HEIGHT_ATTR
String name for height attribute (height). |
static int |
HEIGHT_HASH
Hash code for height attribute (height). |
static int |
HEXAGON_SHAPE
Indicator that the element has a hexagon shape. |
static int |
HIGHLIGHT_MASK
Bit mask for highlight bits. |
static int |
HIGHLIGHT_OFF
Bit indicator that an element should not be highlighted. |
static int |
HIGHLIGHT_ON
Bit indicator that an element should be highlighted. |
static int |
HIGHLIGHT_TOGGLE
Bit indicator that an element's highlight should be toggled. |
static int |
HOUSE_SHAPE
Indicator that the element has a house shape. |
static java.awt.geom.AffineTransform |
IDENTXFRM
The identity transform (as a convenience). |
static java.lang.String |
IMAGE_ATTR
String name for image attribute (image). |
static int |
IMAGE_HASH
Hash code for image attribute (image). |
static int |
INTEGER_TYPE
Indicator that attribute value is an instance of java.lang.Integer. |
static int |
INVERTEDHOUSE_SHAPE
Indicator that the element has a upside-down house shape. |
static int |
INVERTEDTRAPEZIUM_SHAPE
Indicator that the element has a upside-down trapezium shape. |
static int |
INVERTEDTRIANGLE_SHAPE
Indicator that the element has a upside-down triangle shape. |
static java.lang.String |
LABEL_ATTR
String name for label attribute (label). |
static int |
LABEL_HASH
Hash code for label attribute (label). |
static int |
LINE_SHAPE
Indicator that the element has a line shape. |
static int |
LINE_TYPE
Indicator that attribute value is an instance of GrappaLine. |
static double |
LOG10
Natural log of 10 (as a convenience). |
static java.lang.String |
LP_ATTR
String name for label position attribute (lp). |
static int |
LP_HASH
Hash code for label position attribute (lp). |
static java.lang.String |
MARGIN_ATTR
String name for label position attribute (margin). |
static int |
MARGIN_HASH
Hash code for margin attribute (margin). |
static int |
MCIRCLE_SHAPE
Indicator that the element has a circular shape with parallel chords top and bottom. |
static java.lang.String |
MCLIMIT_ATTR
String name for mincross limit attribute [unused] (mclimit). |
static int |
MCLIMIT_HASH
Hash code for mincross limit attribute (mclimit). |
static int |
MDIAMOND_SHAPE
Indicator that the element has a diamond shape with triangles inset in each corner. |
static java.lang.String |
MINBOX_ATTR
String name for minimum subgraph bounding box attribute (minbox). |
static int |
MINBOX_HASH
Hash code for minimum subgraph bounding box attribute (minbox). |
static java.lang.String |
MINLEN_ATTR
String name for minimum rank distance between head and tail of edges attribute [unused] (minlen). |
static int |
MINLEN_HASH
Hash code for minimum rank distance between head and tail of edges attribute (minlen). |
static java.lang.String |
MINSIZE_ATTR
String name for minimum subgraph size attribute (minsize). |
static int |
MINSIZE_HASH
Hash code for minimum subgraph size attribute (minsize). |
static int |
MRECORD_SHAPE
Indicator that the element has a record shape with triangles inset in each of its four outer corners. |
static int |
MSQUARE_SHAPE
Indicator that the element has a square shape with triangles inset in each of its corners. |
static char |
NBSP
The unicode no-break space character. |
static java.lang.String |
NEW_LINE
The new-line string for this system (as specified by the line.spearator property). |
static int |
NO_SHAPE
Indicator that a valid shape was not specified for a graph element. |
static int |
NODE
Element type value indicating a node. |
static java.lang.String |
NODESEP_ATTR
String name for node separation attribute [unused] (nodesep). |
static int |
NODESEP_HASH
Hash code for node separation attribute (nodesep). |
static int |
OCTAGON_SHAPE
Indicator that the element has a octagon shape. |
static java.lang.String |
ORIENTATION_ATTR
String name for orientation angle attribute (orientation). |
static int |
ORIENTATION_HASH
Hash code for orientation attribute (orientation). |
static int |
OVAL_SHAPE
Indicator that the element has a oval shape. |
static java.lang.String |
PACKAGE_PREFIX
Package prefix string ("att.grappa.") if anyone needs it. |
static int |
PARALLELOGRAM_SHAPE
Indicator that the element has a parallelogram shape. |
static java.lang.String |
PATCH_ATTR
String name for patch work attribute (patch). |
static int |
PATCH_HASH
Hash code for patch work attribute (patch). |
static int |
PENTAGON_SHAPE
Indicator that the element has a pentagon shape. |
static java.lang.String |
PERIPHERIES_ATTR
String name for peripheries attribute (peripheries). |
static int |
PERIPHERIES_HASH
Hash code for peripheries attribute (peripheries). |
static int |
PERIPHERY_GAP
Default gap in pixels between peripheries. |
static java.lang.String |
PKG_LOWER
Package name as an lower-case string (as a convenience). |
static java.lang.String |
PKG_UPLOW
Package name as an up-low string. |
static java.lang.String |
PKG_UPPER
Package name as an upper-case string (as a convenience). |
static int |
PLAINTEXT_SHAPE
Indicator that the element has no shape, but rather is just a text label. |
static int |
POINT_SHAPE
Indicator that the element has a general polygonal shape. |
static int |
POINT_TYPE
Indicator that attribute value is an instance of GrappaPoint. |
static double |
PointsPerInch
Points per inch (72). |
static int |
POLYGON_SHAPE
Indicator that the element has a general polygonal shape. |
static java.lang.String |
POS_ATTR
String name for position attribute (pos). |
static int |
POS_HASH
Hash code for position attribute (pos). |
static java.lang.String |
PRINTLIST_ATTR
String name for print list attribute (printlist). |
static int |
PRINTLIST_HASH
Hash code for print list attribute (printlist). |
static java.lang.String |
RANKDIR_ATTR
String name for rank direction attribute [unused] (rankdir). |
static int |
RANKDIR_HASH
|
static java.lang.String |
RANKSEP_ATTR
String name for rank separation attribute [unused] (ranksep) |
static int |
RANKSEP_HASH
Hash code for rank separation attribute (ranksep). |
static int |
RECORD_SHAPE
Indicator that the element has a record shape. |
static java.lang.String |
RECTS_ATTR
String name for rectangles attribute (rects). |
static int |
RECTS_HASH
Hash code for rectangles attribute (rects). |
static java.lang.String |
ROTATION_ATTR
String name for rotation attribute (rotation). |
static int |
ROTATION_HASH
Hash code for rotation attribute (rotation). |
static int |
ROUNDEDBOX_SHAPE
Indicator that the element has a box shape with rounded corners. |
static int |
SELECTION_MASK
Bit indicator that selection highlight is active. |
static java.lang.String |
SHAPE_ATTR
String name for shape attribute (shape). |
static int |
SHAPE_HASH
Hash code for shape attribute (shape). |
static int |
SHAPE_MASK
Bit mask for extracting shape information. |
static int |
SHAPE_TYPE
Indicator that attribute value is a java.lang.Integer representing a Grappa shape. |
static java.lang.String |
SIDES_ATTR
String name for sides attribute (sides). |
static int |
SIDES_HASH
Hash code for sides attribute (sides). |
static java.lang.String |
SIZE_ATTR
String name for size attribute [unused] (size). |
static int |
SIZE_HASH
Hash code for size attribute (size). |
static int |
SIZE_TYPE
Indicator that attribute value is an instance of GrappaSize. |
static java.lang.String |
SKEW_ATTR
String name for skew attribute (skew). |
static int |
SKEW_HASH
Hash code for skew attribute (skew). |
static int |
STRING_TYPE
Indicator that attribute value is an instance of java.lang.String. |
static java.lang.String |
STYLE_ATTR
String name for style attribute (style). |
static int |
STYLE_HASH
Hash code for style attribute (style). |
static int |
STYLE_TYPE
Indicator that attribute value is an instance of GrappaStyle. |
static int |
SUBGRAPH
Element type value indicating a graph (or subgraph). |
static int |
SYSTEM
System attribute indicator. |
static java.lang.String |
TAG_ATTR
String name for tag attribute (tag). |
static int |
TAG_HASH
Hash code for tag attribute (tag). |
static java.lang.String |
TAILLABEL_ATTR
String name for tail label attribute (taillabel). |
static int |
TAILLABEL_HASH
Hash code for tail label attribute (taillabel). |
static java.lang.String |
TAILLP_ATTR
String name for tail label position attribute (tail_lp). |
static int |
TAILLP_HASH
Hash code for tail label position attribute (tail_lp). |
static java.lang.String |
TIP_ATTR
String name for tip attribute (tip). |
static int |
TIP_HASH
Hash code for tip attribute (tip). |
static int |
TRAPEZIUM_SHAPE
Indicator that the element has a trapezium shape. |
static int |
TRIANGLE_SHAPE
Indicator that the element has a triangle shape. |
static int |
TRIPLEOCTAGON_SHAPE
Indicator that the element has a triple octagon shape. |
static int |
TYPES_SHIFT
Maximum number of bits needed to represet the Element types. |
static java.lang.String |
WEIGHT_ATTR
String name for weight attribute [unused] (weight). |
static int |
WEIGHT_HASH
Hash code for weight attribute (weight). |
static java.lang.String |
WIDTH_ATTR
String name for width attribute (width). |
static int |
WIDTH_HASH
Hash code for width attribute (width). |
Field Detail |
---|
static final java.lang.String PACKAGE_PREFIX
static final java.lang.String PKG_UPLOW
static final java.lang.String PKG_UPPER
static final java.lang.String PKG_LOWER
static final java.lang.String NEW_LINE
static final char NBSP
static final java.awt.geom.AffineTransform IDENTXFRM
static final int NODE
static final int EDGE
static final int SUBGRAPH
static final int SYSTEM
static final double LOG10
static final int SELECTION_MASK
static final int DELETION_MASK
static final int HIGHLIGHT_MASK
static final int HIGHLIGHT_ON
static final int HIGHLIGHT_OFF
static final int HIGHLIGHT_TOGGLE
static final int TYPES_SHIFT
static final double PointsPerInch
static final int PERIPHERY_GAP
static final java.lang.String ANONYMOUS_PREFIX
static final java.lang.String BBOX_ATTR
static final java.lang.String CLUSTERRANK_ATTR
static final java.lang.String COLOR_ATTR
static final java.lang.String CUSTOM_ATTR
static final java.lang.String DIR_ATTR
static final java.lang.String DISTORTION_ATTR
static final java.lang.String FILLCOLOR_ATTR
static final java.lang.String FONTCOLOR_ATTR
static final java.lang.String FONTNAME_ATTR
static final java.lang.String FONTSIZE_ATTR
static final java.lang.String FONTSTYLE_ATTR
static final java.lang.String GRAPPA_BACKGROUND_COLOR_ATTR
static final java.lang.String GRAPPA_SELECTION_STYLE_ATTR
static final java.lang.String GRAPPA_DELETION_STYLE_ATTR
static final java.lang.String GRAPPA_FONTSIZE_ADJUSTMENT_ATTR
static final java.lang.String HEIGHT_ATTR
static final java.lang.String IMAGE_ATTR
static final java.lang.String LABEL_ATTR
static final java.lang.String LP_ATTR
static final java.lang.String HEADLABEL_ATTR
static final java.lang.String HEADLP_ATTR
static final java.lang.String TAILLABEL_ATTR
static final java.lang.String TAILLP_ATTR
static final java.lang.String MARGIN_ATTR
static final java.lang.String MCLIMIT_ATTR
static final java.lang.String MINBOX_ATTR
static final java.lang.String MINLEN_ATTR
static final java.lang.String MINSIZE_ATTR
static final java.lang.String NODESEP_ATTR
static final java.lang.String ORIENTATION_ATTR
static final java.lang.String PATCH_ATTR
static final java.lang.String PERIPHERIES_ATTR
static final java.lang.String POS_ATTR
static final java.lang.String PRINTLIST_ATTR
static final java.lang.String RANKDIR_ATTR
static final java.lang.String RANKSEP_ATTR
static final java.lang.String RECTS_ATTR
static final java.lang.String ROTATION_ATTR
static final java.lang.String SHAPE_ATTR
static final java.lang.String SIDES_ATTR
static final java.lang.String SIZE_ATTR
static final java.lang.String SKEW_ATTR
static final java.lang.String STYLE_ATTR
static final java.lang.String TAG_ATTR
static final java.lang.String TIP_ATTR
static final java.lang.String WEIGHT_ATTR
static final java.lang.String WIDTH_ATTR
static final int BBOX_HASH
static final int COLOR_HASH
static final int CUSTOM_HASH
static final int DIR_HASH
static final int DISTORTION_HASH
static final int FILLCOLOR_HASH
static final int FONTCOLOR_HASH
static final int FONTNAME_HASH
static final int FONTSIZE_HASH
static final int FONTSTYLE_HASH
static final int GRAPPA_BACKGROUND_COLOR_HASH
static final int GRAPPA_SELECTION_STYLE_HASH
static final int GRAPPA_DELETION_STYLE_HASH
static final int GRAPPA_FONTSIZE_ADJUSTMENT_HASH
static final int HEIGHT_HASH
static final int IMAGE_HASH
static final int LABEL_HASH
static final int LP_HASH
static final int HEADLABEL_HASH
static final int HEADLP_HASH
static final int TAILLABEL_HASH
static final int TAILLP_HASH
static final int MARGIN_HASH
static final int MCLIMIT_HASH
static final int MINBOX_HASH
static final int MINLEN_HASH
static final int MINSIZE_HASH
static final int NODESEP_HASH
static final int ORIENTATION_HASH
static final int PATCH_HASH
static final int PERIPHERIES_HASH
static final int POS_HASH
static final int PRINTLIST_HASH
static final int RANKDIR_HASH
static final int RANKSEP_HASH
static final int RECTS_HASH
static final int ROTATION_HASH
static final int SHAPE_HASH
static final int SIDES_HASH
static final int SIZE_HASH
static final int SKEW_HASH
static final int STYLE_HASH
static final int TAG_HASH
static final int TIP_HASH
static final int WEIGHT_HASH
static final int WIDTH_HASH
static final int _NO_TYPE
static final int BOX_TYPE
static final int COLOR_TYPE
static final int DIR_TYPE
static final int DOUBLE_TYPE
static final int FONTSTYLE_TYPE
static final int HASHLIST_TYPE
static final int INTEGER_TYPE
static final int LINE_TYPE
static final int POINT_TYPE
static final int SHAPE_TYPE
static final int SIZE_TYPE
static final int STRING_TYPE
static final int STYLE_TYPE
static final int NO_SHAPE
static final int LINE_SHAPE
static final int BOX_SHAPE
static final int DIAMOND_SHAPE
static final int DOUBLECIRCLE_SHAPE
static final int DOUBLEOCTAGON_SHAPE
static final int EGG_SHAPE
static final int HEXAGON_SHAPE
static final int HOUSE_SHAPE
static final int INVERTEDHOUSE_SHAPE
static final int INVERTEDTRAPEZIUM_SHAPE
static final int INVERTEDTRIANGLE_SHAPE
static final int OCTAGON_SHAPE
static final int OVAL_SHAPE
static final int PARALLELOGRAM_SHAPE
static final int PENTAGON_SHAPE
static final int PLAINTEXT_SHAPE
static final int POINT_SHAPE
static final int POLYGON_SHAPE
static final int RECORD_SHAPE
static final int ROUNDEDBOX_SHAPE
static final int TRAPEZIUM_SHAPE
static final int TRIANGLE_SHAPE
static final int TRIPLEOCTAGON_SHAPE
static final int MCIRCLE_SHAPE
static final int MDIAMOND_SHAPE
static final int MRECORD_SHAPE
static final int MSQUARE_SHAPE
static final int CUSTOM_SHAPE
static final int SHAPE_MASK
static final int GRAPPA_SHAPE
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |