|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jgraph.graph.GraphConstants
com.jgraph.pad.graph.JGraphpadGraphConstants
JGraphpad graph constants. Contains special constants supported by the renderers or other functionality.
| Field Summary | |
static String |
GROUPREPOSITION
Key for the groupReposition attribute. |
static String |
GROUPRESIZE
Key for the groupResize attribute. |
static org.jgraph.graph.Edge.Routing |
ROUTING_PARALLEL
Shared routing instance for parallel routing. |
static org.jgraph.graph.Edge.Routing |
ROUTING_PARALLELSPLINE
Shared routing instance for parallel spline routing. |
static String |
SOURCEPORTOFFSET
Key for the sourcePortOffset attribute. |
static String |
STRETCHIMAGE
Key for the stretchImage attribute. |
static String |
TARGETPORTOFFSET
Key for the targetPortOffset attribute. |
static String |
VERTEXSHAPE
Key for the vertexShape attribute. |
| Fields inherited from class org.jgraph.graph.GraphConstants |
ABSOLUTEX, ABSOLUTEY, ARROW_CIRCLE, ARROW_CLASSIC, ARROW_DIAMOND, ARROW_DOUBLELINE, ARROW_LINE, ARROW_NONE, ARROW_SIMPLE, ARROW_TECHNICAL, AUTOSIZE, BACKGROUND, BEGINFILL, BEGINSIZE, BENDABLE, BORDER, BORDERCOLOR, BOUNDS, CHILDRENSELECTABLE, CONNECTABLE, CONSTRAINED, dash, DASHOFFSET, DASHPATTERN, DEFAULTDECORATIONSIZE, DEFAULTFONT, DEFAULTINSET, DISCONNECTABLE, EDITABLE, ENDFILL, ENDSIZE, EXTRALABELPOSITIONS, EXTRALABELS, FONT, FOREGROUND, GRADIENTCOLOR, GROUPOPAQUE, HORIZONTAL_ALIGNMENT, HORIZONTAL_TEXT_POSITION, ICON, INSET, LABELALONGEDGE, LABELPOSITION, LINEBEGIN, LINECOLOR, LINEEND, LINESTYLE, LINEWIDTH, LINK, MOVEABLE, MOVEABLEAXIS, MOVEHIDDENCHILDREN, OFFSET, OPAQUE, PERMILLE, POINTS, REMOVEALL, REMOVEATTRIBUTES, REPLACEATTRIBUTES, RESIZE, ROUTING, ROUTING_DEFAULT, ROUTING_SIMPLE, SELECTABLE, SELECTION_STROKE, SIZE, SIZEABLE, SIZEABLEAXIS, STYLE_BEZIER, STYLE_ORTHOGONAL, STYLE_SPLINE, VALUE, VERTICAL_ALIGNMENT, VERTICAL_TEXT_POSITION, X_AXIS, Y_AXIS |
| Constructor Summary | |
JGraphpadGraphConstants()
|
|
| Method Summary | |
static org.jgraph.graph.Edge.Routing |
getParallelEdgeRouting()
Returns the shared instance of the parallel routing. |
static org.jgraph.graph.Edge.Routing |
getParallelSplineRouting()
Returns the shared instance of the parallel spline routing. |
static Point2D |
getSourcePortOffset(Map map)
Returns sourcePortOffset from the specified map. |
static Point2D |
getTargetPortOffset(Map map)
Returns targetPortOffset from the specified map. |
static int |
getVertexShape(Map map)
Returns vertexShape from the specified map. |
static boolean |
isGroupReposition(Map map)
Returns true if groupReposition in this map is true. |
static boolean |
isGroupResize(Map map)
Returns true if groupResize in this map is true. |
static boolean |
isStretchImage(Map map)
Returns true if stretchImage in this map is true. |
static void |
setGroupReposition(Map map,
boolean stretchImage)
Sets groupReposition in the specified map to the specified value. |
static void |
setGroupResize(Map map,
boolean stretchImage)
Sets groupResize in the specified map to the specified value. |
static void |
setSourcePortOffset(Map map,
Point2D offset)
Sets sourcePortOffset in the specified map to the specified value. |
static void |
setStretchImage(Map map,
boolean stretchImage)
Sets stretchImage in the specified map to the specified value. |
static void |
setTargetPortOffset(Map map,
Point2D offset)
Sets targetPortOffset in the specified map to the specified value. |
static void |
setVertexShape(Map map,
int shape)
Sets vertexShape in the specified map to the specified value. |
| Methods inherited from class org.jgraph.graph.GraphConstants |
createAttributes, createAttributes, createAttributes, createAttributes, createAttributesFromModel, getBackground, getBeginSize, getBorder, getBorderColor, getBounds, getDashOffset, getDashPattern, getEndSize, getExtraLabelPositions, getExtraLabels, getFont, getForeground, getGradientColor, getHorizontalAlignment, getHorizontalTextPosition, getIcon, getInset, getLabelPosition, getLineBegin, getLineColor, getLineEnd, getLineStyle, getLineWidth, getLink, getMoveableAxis, getOffset, getPoints, getRemoveAttributes, getROUTING_DEFAULT, getROUTING_SIMPLE, getRouting, getSize, getSizeableAxis, getValue, getVerticalAlignment, getVerticalTextPosition, isAbsoluteX, isAbsoluteY, isAutoSize, isBeginFill, isBendable, isChildrenSelectable, isConnectable, isConstrained, isDisconnectable, isEditable, isEndFill, isGroupOpaque, isLabelAlongEdge, isMoveable, isOpaque, isRemoveAll, isResize, isSelectable, isSizeable, merge, replaceKeys, setAbsolute, setAbsoluteX, setAbsoluteY, setAutoSize, setBackground, setBeginFill, setBeginSize, setBendable, setBorder, setBorderColor, setBounds, setChildrenSelectable, setConnectable, setConstrained, setDashOffset, setDashPattern, setDisconnectable, setEditable, setEndFill, setEndSize, setExtraLabelPositions, setExtraLabels, setFont, setForeground, setGradientColor, setGroupOpaque, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setInset, setLabelAlongEdge, setLabelPosition, setLineBegin, setLineColor, setLineEnd, setLineStyle, setLineWidth, setLink, setMoveable, setMoveableAxis, setOffset, setOpaque, setPoints, setRemoveAll, setRemoveAttributes, setResize, setRouting, setSelectable, setSize, setSizeable, setSizeableAxis, setValue, setVerticalAlignment, setVerticalTextPosition |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final org.jgraph.graph.Edge.Routing ROUTING_PARALLEL
public static final org.jgraph.graph.Edge.Routing ROUTING_PARALLELSPLINE
public static final String STRETCHIMAGE
stretchImage attribute. This special attribute
contains a Boolean instance indicating whether the background image
should be stretched.
public static final String GROUPRESIZE
groupResize attribute. This special attribute
contains a Boolean instance indicating if the group should be resized
when it is collapsed. This is usually set to true before the first
collapse and then removed.
public static final String GROUPREPOSITION
groupReposition attribute. This special
attribute contains a Boolean instance indicating if the collapsed group
should be moved to the top left corner of it's child area when it is
collapsed.
public static final String VERTEXSHAPE
vertexShape attribute. This special attribute
contains an Integer instance indicating which shape should be drawn by
the renderer.
public static final String SOURCEPORTOFFSET
sourcePortOffset attribute. This special
attribute contains a Point2D instance indicating the relative position of
a port in its parents coordinate space seen from a specific edge.
public static final String TARGETPORTOFFSET
targetPortOffset attribute. This special
attribute contains a Point2D instance indicating the relative position of
a port in its parents coordinate space seen from a specific edge.
| Constructor Detail |
public JGraphpadGraphConstants()
| Method Detail |
public static final boolean isStretchImage(Map map)
public static final void setStretchImage(Map map,
boolean stretchImage)
public static final boolean isGroupResize(Map map)
public static final void setGroupResize(Map map,
boolean stretchImage)
public static final boolean isGroupReposition(Map map)
public static final void setGroupReposition(Map map,
boolean stretchImage)
public static final void setVertexShape(Map map,
int shape)
public static final int getVertexShape(Map map)
public static final void setSourcePortOffset(Map map,
Point2D offset)
public static final Point2D getSourcePortOffset(Map map)
public static final void setTargetPortOffset(Map map,
Point2D offset)
public static final Point2D getTargetPortOffset(Map map)
public static org.jgraph.graph.Edge.Routing getParallelEdgeRouting()
public static org.jgraph.graph.Edge.Routing getParallelSplineRouting()
|
JGraphpad Pro
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||