JGraph
v5.13.0.0


com.jgraph.components.labels
Class CellConstants

java.lang.Object
  extended by org.jgraph.graph.GraphConstants
      extended by com.jgraph.components.labels.CellConstants

public class CellConstants
extends GraphConstants

JGraphpad graph constants. Contains special constants supported by the renderers or other functionality.


Field Summary
static String STRETCHIMAGE
          Key for the stretchImage 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, EXACTSEGMENTRELATIVE, EXTRALABELPOSITIONS, EXTRALABELS, FONT, FOREGROUND, GRADIENTCOLOR, GROUPOPAQUE, HORIZONTAL_ALIGNMENT, HORIZONTAL_TEXT_POSITION, ICON, INSET, LABELALONGEDGE, LABELENABLED, 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
CellConstants()
           
 
Method Summary
static int getVertexShape(Map map)
          Returns vertexShape from the specified map.
static boolean isStretchImage(Map map)
          Returns true if stretchImage in this map is true.
static void setStretchImage(Map map, boolean stretchImage)
          Sets stretchImage 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, isExactSegmentLabel, isGroupOpaque, isLabelAlongEdge, isLabelEnabled, 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, setExactSegmentLabel, setExtraLabelPositions, setExtraLabels, setFont, setForeground, setGradientColor, setGroupOpaque, setHorizontalAlignment, setHorizontalTextPosition, setIcon, setInset, setLabelAlongEdge, setLabelEnabled, 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

STRETCHIMAGE

public static final String STRETCHIMAGE
Key for the stretchImage attribute. This special attribute contains a Boolean instance indicating whether the background image should be stretched.

See Also:
Constant Field Values

VERTEXSHAPE

public static final String VERTEXSHAPE
Key for the vertexShape attribute. This special attribute contains an Integer instance indicating which shape should be drawn by the renderer.

See Also:
Constant Field Values
Constructor Detail

CellConstants

public CellConstants()
Method Detail

isStretchImage

public static final boolean isStretchImage(Map map)
Returns true if stretchImage in this map is true. Default is false.


setStretchImage

public static final void setStretchImage(Map map,
                                         boolean stretchImage)
Sets stretchImage in the specified map to the specified value.


setVertexShape

public static final void setVertexShape(Map map,
                                        int shape)
Sets vertexShape in the specified map to the specified value.


getVertexShape

public static final int getVertexShape(Map map)
Returns vertexShape from the specified map.


JGraph
v5.13.0.0


Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.