public class CellConstants extends GraphConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
STRETCHIMAGE
Key for the
stretchImage attribute. |
static java.lang.String |
VERTEXSHAPE
Key for the
vertexShape attribute. |
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 and Description |
---|
CellConstants() |
Modifier and Type | Method and Description |
---|---|
static int |
getVertexShape(java.util.Map map)
Returns vertexShape from the specified map.
|
static boolean |
isStretchImage(java.util.Map map)
Returns true if stretchImage in this map is true.
|
static void |
setStretchImage(java.util.Map map,
boolean stretchImage)
Sets stretchImage in the specified map to the specified value.
|
static void |
setVertexShape(java.util.Map map,
int shape)
Sets vertexShape in the specified map to the specified value.
|
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
public static final java.lang.String STRETCHIMAGE
stretchImage
attribute. This special attribute
contains a Boolean instance indicating whether the background image
should be stretched.public static final java.lang.String VERTEXSHAPE
vertexShape
attribute. This special attribute
contains an Integer instance indicating which shape should be drawn by
the renderer.public static final boolean isStretchImage(java.util.Map map)
public static final void setStretchImage(java.util.Map map, boolean stretchImage)
public static final void setVertexShape(java.util.Map map, int shape)
public static final int getVertexShape(java.util.Map map)
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.