com.jgraph.components.labels
public class CellConstants extends GraphConstants
| Field Summary | |
|---|---|
| static String | STRETCHIMAGE
Key for the stretchImage attribute. |
| static String | VERTEXSHAPE
Key for the vertexShape attribute. |
| 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. |
stretchImage attribute. This special attribute
contains a Boolean instance indicating whether the background image
should be stretched.vertexShape attribute. This special attribute
contains an Integer instance indicating which shape should be drawn by
the renderer.