|
JGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.GraphConstants
com.jgraph.components.labels.CellConstants
public class CellConstants
JGraphpad graph constants. Contains special constants supported by the renderers or other functionality.
Field Summary | |
---|---|
static java.lang.String |
STRETCHIMAGE
Key for the stretchImage attribute. |
static java.lang.String |
VERTEXSHAPE
Key for the vertexShape attribute. |
Constructor Summary | |
---|---|
CellConstants()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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.
Constructor Detail |
---|
public CellConstants()
Method Detail |
---|
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)
|
JGraph
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |