|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgraph.graph.GraphConstants
public class GraphConstants
A collection of well known or common attribute keys and methods to apply to an Map to get/set the properties in a typesafe manner. The following attributes and methods need special attention: removeAttributes, removeAll and value. RemoveAttributes and RemoveAll are not stored in a map, but remove the specified entries. The value entry of a propertyMap is always in sync with the userObject of a GraphCell. The isMoveable, isAutoSize and isSizeable are used indepedently (see http://sourceforge.net/forum/forum.php?thread_id=770111&forum_id=140880)
Field Summary | |
---|---|
static java.lang.String |
ABSOLUTE
Key for the absolute attribute. |
static int |
ARROW_CIRCLE
Represents a circle decoration |
static int |
ARROW_CLASSIC
Represents a classic arrow decoration |
static int |
ARROW_DIAMOND
Represents a diamond decoration |
static int |
ARROW_DOUBLELINE
Represents a double line decoration |
static int |
ARROW_LINE
Represents a line decoration |
static int |
ARROW_NONE
Represents no decoration |
static int |
ARROW_SIMPLE
Represents a simple arrow decoration |
static int |
ARROW_TECHNICAL
Represents a technical arrow decoration |
static java.lang.String |
AUTOSIZE
Key for the sizeable attribute. |
static java.lang.String |
BACKGROUND
Key for the background attribute. |
static java.lang.String |
BEGINFILL
Key for the startsize attribute. |
static java.lang.String |
BEGINSIZE
Key for the startsize attribute. |
static java.lang.String |
BENDABLE
Key for the sizeable attribute. |
static java.lang.String |
BORDER
Key for the border attribute. |
static java.lang.String |
BORDERCOLOR
Key for the bordercolor attribute. |
static java.lang.String |
BOUNDS
Key for the bounds attribute. |
static java.lang.String |
CONNECTABLE
Key for the moveable attribute. |
protected static float[] |
dash
Global Stroke To Highlight Selection |
static java.lang.String |
DASHPATTERN
Key for the dashPattern attribute. |
static int |
DEFAULTDECORATIONSIZE
Default decoration size. |
static java.awt.Font |
DEFAULTFONT
|
static java.lang.String |
DISCONNECTABLE
Key for the moveable attribute. |
static java.lang.String |
EDITABLE
Key for the editable attribute. |
static java.lang.String |
ENDFILL
Key for the endsize attribute. |
static java.lang.String |
ENDSIZE
Key for the endsize attribute. |
static java.lang.String |
FONT
Key for the font attribute. |
static java.lang.String |
FOREGROUND
Key for the foreground attribute. |
static java.lang.String |
HORIZONTAL_ALIGNMENT
Key for the horizontalAlignment attribute. |
static java.lang.String |
HORIZONTAL_TEXT_POSITION
Key for the horizontalTextPosition attribute. |
static java.lang.String |
ICON
Key for the icon attribute. |
static java.lang.String |
LABELALONGEDGE
Key for the labelalongedge attribute. |
static java.lang.String |
LABELPOSITION
Key for the labelposition attribute. |
static java.lang.String |
LINEBEGIN
Key for the start attribute. |
static java.lang.String |
LINECOLOR
Key for the linecolor attribute. |
static java.lang.String |
LINEEND
Key for the start attribute. |
static java.lang.String |
LINESTYLE
Key for the lineStyle attribute. |
static java.lang.String |
LINEWIDTH
Key for the linewidth attribute. |
static java.lang.String |
MOVEABLE
Key for the moveable attribute. |
static java.lang.String |
MOVEABLEAXIS
Key for the replaceAttributes attribute. |
static java.lang.String |
OFFSET
Key for the translate attribute. |
static java.lang.String |
OPAQUE
Key for the opaque attribute. |
static int |
PERMILLE
100 percent unit for relative positioning. |
static java.lang.String |
POINTS
Key for the points attribute. |
static java.lang.String |
REMOVEALL
Key for the removeAll attribute. |
static java.lang.String |
REMOVEATTRIBUTES
Key for the removeAttributes attribute. |
static java.lang.String |
REPLACEATTRIBUTES
Key for the replaceAttributes attribute. |
static java.lang.String |
ROUTING
Key for the routing attribute. |
static Edge.Routing |
ROUTING_SIMPLE
A simple default Routing. |
static java.awt.Stroke |
SELECTION_STROKE
|
static java.lang.String |
SIZE
Key for the resize attribute. |
static java.lang.String |
SIZEABLE
Key for the sizeable attribute. |
static java.lang.String |
SIZEABLEAXIS
Key for the replaceAttributes attribute. |
static int |
STYLE_BEZIER
Represents a bezier line style |
static int |
STYLE_ORTHOGONAL
Represents an orthogonal line style |
static int |
STYLE_SPLINE
Represents an spline line style |
static java.lang.String |
VALUE
Key for the value attribute. |
static java.lang.String |
VERTICAL_ALIGNMENT
Key for the verticalAlignment attribute. |
static java.lang.String |
VERTICAL_TEXT_POSITION
Key for the verticalTextPosition attribute. |
static int |
X_AXIS
Represents an bezier line style |
static int |
Y_AXIS
Represents an bezier line style |
Constructor Summary | |
---|---|
GraphConstants()
|
Method Summary | |
---|---|
static java.util.Map |
createAttributes(java.lang.Object[] elements,
CellMapper cm)
Returns a new map, from cells to property maps. |
static java.util.Map |
createAttributes(java.lang.Object[] cells,
java.lang.Object[] keys,
java.lang.Object[] values)
Returns a new (nested) map, from cells to attribute maps. |
static java.util.Map |
createAttributes(java.lang.Object[] cells,
java.lang.Object key,
java.lang.Object value)
|
static java.util.Map |
createAttributes(java.lang.Object cell,
java.lang.Object key,
java.lang.Object value)
|
static java.util.Map |
createAttributesFromModel(java.lang.Object[] elements,
GraphModel model)
|
static java.awt.Color |
getBackground(java.util.Map map)
Returns the value attribute from the specified map. |
static int |
getBeginSize(java.util.Map map)
Returns the opaque attribute from the specified map. |
static javax.swing.border.Border |
getBorder(java.util.Map map)
Returns the value attribute from the specified map. |
static java.awt.Color |
getBorderColor(java.util.Map map)
Returns the value attribute from the specified map. |
static java.awt.geom.Rectangle2D |
getBounds(java.util.Map map)
Returns the bounds attribute from the specified map. |
static float[] |
getDashPattern(java.util.Map map)
Returns the value attribute from the specified map. |
static int |
getEndSize(java.util.Map map)
Returns the opaque attribute from the specified map. |
static java.awt.Font |
getFont(java.util.Map map)
Returns the font for the specified attribute map. |
static java.awt.Color |
getForeground(java.util.Map map)
Returns the value attribute from the specified map. |
static int |
getHorizontalAlignment(java.util.Map map)
Returns the opaque attribute from the specified map. |
static int |
getHorizontalTextPosition(java.util.Map map)
Returns the opaque attribute from the specified map. |
static javax.swing.Icon |
getIcon(java.util.Map map)
Returns the value attribute from the specified map. |
static java.awt.Point |
getLabelPosition(java.util.Map map)
Returns the label position attribute from the specified map. |
static int |
getLineBegin(java.util.Map map)
Returns the opaque attribute from the specified map. |
static java.awt.Color |
getLineColor(java.util.Map map)
Returns the value attribute from the specified map. |
static int |
getLineEnd(java.util.Map map)
Returns the opaque attribute from the specified map. |
static int |
getLineStyle(java.util.Map map)
Returns the opaque attribute from the specified map. |
static float |
getLineWidth(java.util.Map map)
Returns the opaque attribute from the specified map. |
static int |
getMoveableAxis(java.util.Map map)
Returns the value attribute from the specified map. |
static java.awt.geom.Point2D |
getOffset(java.util.Map map)
Returns the offset attribute from the specified map. |
static java.util.List |
getPoints(java.util.Map map)
Returns the points attribute from the specified map. |
static java.lang.Object[] |
getRemoveAttributes(java.util.Map map)
Returns the value attribute from the specified map. |
static Edge.Routing |
getRouting(java.util.Map map)
Returns the routing attribute from the specified map. |
static java.awt.Dimension |
getSize(java.util.Map map)
Returns the size attribute from the specified map. |
static int |
getSizeableAxis(java.util.Map map)
Returns the value attribute from the specified map. |
static java.lang.Object |
getValue(java.util.Map map)
Returns the value attribute from the specified map. |
static int |
getVerticalAlignment(java.util.Map map)
Returns the opaque attribute from the specified map. |
static int |
getVerticalTextPosition(java.util.Map map)
Returns the opaque attribute from the specified map. |
static boolean |
isAbsolute(java.util.Map map)
Returns the offset attribute from the specified map. |
static boolean |
isAutoSize(java.util.Map map)
Returns the autosize attribute from the specified map. |
static boolean |
isBeginFill(java.util.Map map)
Returns the offset attribute from the specified map. |
static boolean |
isBendable(java.util.Map map)
Returns the bendable attribute from the specified map. |
static boolean |
isConnectable(java.util.Map map)
Returns the connectable attribute from the specified map. |
static boolean |
isDisconnectable(java.util.Map map)
Returns the disconnectable attribute from the specified map. |
static boolean |
isEditable(java.util.Map map)
Returns the editable attribute from the specified map. |
static boolean |
isEndFill(java.util.Map map)
Returns the offset attribute from the specified map. |
static boolean |
isLabelAlongEdge(java.util.Map map)
Returns the true if the label should be painted along the edge. |
static boolean |
isMoveable(java.util.Map map)
Returns the moveable attribute from the specified map. |
static boolean |
isOpaque(java.util.Map map)
Returns the opaque attribute from the specified map. |
static boolean |
isRemoveAll(java.util.Map map)
Returns the offset attribute from the specified map. |
static boolean |
isSizeable(java.util.Map map)
Returns the sizeable attribute from the specified map. |
static java.util.Map |
replaceKeys(java.util.Map keyMap,
java.util.Map map)
Replace the keys in map using keyMap
|
static void |
setAbsolute(java.util.Map map,
boolean flag)
Sets the offset attribute in the specified map to the specified value. |
static void |
setAutoSize(java.util.Map map,
boolean flag)
Sets the autosize attribute in the specified map to the specified value. |
static void |
setBackground(java.util.Map map,
java.awt.Color value)
Sets the value attribute in the specified map to the specified value. |
static void |
setBeginFill(java.util.Map map,
boolean flag)
Sets the offset attribute in the specified map to the specified value. |
static void |
setBeginSize(java.util.Map map,
int style)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setBendable(java.util.Map map,
boolean flag)
Sets the bendable attribute in the specified map to the specified value. |
static void |
setBorder(java.util.Map map,
javax.swing.border.Border value)
Sets the value attribute in the specified map to the specified value. |
static void |
setBorderColor(java.util.Map map,
java.awt.Color value)
Sets the value attribute in the specified map to the specified value. |
static void |
setBounds(java.util.Map map,
java.awt.geom.Rectangle2D bounds)
Sets the bounds attribute in the specified map to the specified value. |
static void |
setConnectable(java.util.Map map,
boolean flag)
Sets the connectable attribute in the specified map to the specified value. |
static void |
setDashPattern(java.util.Map map,
float[] value)
Sets the value attribute in the specified map to the specified value. |
static void |
setDisconnectable(java.util.Map map,
boolean flag)
Sets the disconnectable attribute in the specified map to the specified value. |
static void |
setEditable(java.util.Map map,
boolean flag)
Sets the editable attribute in the specified map to the specified value. |
static void |
setEndFill(java.util.Map map,
boolean flag)
Sets the offset attribute in the specified map to the specified value. |
static void |
setEndSize(java.util.Map map,
int style)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setFont(java.util.Map map,
java.awt.Font font)
Sets the value attribute in the specified map to the specified font value. |
static void |
setForeground(java.util.Map map,
java.awt.Color value)
Sets the value attribute in the specified map to the specified value. |
static void |
setHorizontalAlignment(java.util.Map map,
int width)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setHorizontalTextPosition(java.util.Map map,
int width)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setIcon(java.util.Map map,
javax.swing.Icon value)
Sets the value attribute in the specified map to the specified value. |
static void |
setLabelAlongEdge(java.util.Map map,
boolean flag)
Sets if the label should be painted along the edge. |
static void |
setLabelPosition(java.util.Map map,
java.awt.Point position)
Sets the label position attribute in the specified map to the specified value. |
static void |
setLineBegin(java.util.Map map,
int style)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setLineColor(java.util.Map map,
java.awt.Color value)
Sets the value attribute in the specified map to the specified value. |
static void |
setLineEnd(java.util.Map map,
int style)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setLineStyle(java.util.Map map,
int style)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setLineWidth(java.util.Map map,
float width)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setMoveable(java.util.Map map,
boolean flag)
Sets the moveable attribute in the specified map to the specified value. |
static void |
setMoveableAxis(java.util.Map map,
int axis)
Sets the value attribute in the specified map to the specified value. |
static void |
setOffset(java.util.Map map,
java.awt.geom.Point2D offset)
Sets the offset attribute in the specified map to the specified value. |
static void |
setOpaque(java.util.Map map,
boolean flag)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setPoints(java.util.Map map,
java.util.List list)
Sets the points attribute in the specified map to the specified value. |
static void |
setRemoveAll(java.util.Map map,
boolean flag)
Sets the offset attribute in the specified map to the specified value. |
static void |
setRemoveAttributes(java.util.Map map,
java.lang.Object[] value)
Sets the value attribute in the specified map to the specified value. |
static void |
setRouting(java.util.Map map,
Edge.Routing routing)
Sets the routing attribute in the specified map to the specified value. |
static void |
setSize(java.util.Map map,
java.awt.Dimension size)
Sets the size attribute in the specified map to the specified value. |
static void |
setSizeable(java.util.Map map,
boolean flag)
Sets the sizeable attribute in the specified map to the specified value. |
static void |
setSizeableAxis(java.util.Map map,
int axis)
Sets the value attribute in the specified map to the specified value. |
static void |
setValue(java.util.Map map,
java.lang.Object value)
Sets the value attribute in the specified map to the specified value. |
static void |
setVerticalAlignment(java.util.Map map,
int width)
Sets the opaque attribute in the specified map to the specified value. |
static void |
setVerticalTextPosition(java.util.Map map,
int width)
Sets the opaque attribute 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 java.awt.Font DEFAULTFONT
public static final int DEFAULTDECORATIONSIZE
public static final int PERMILLE
protected static float[] dash
public static java.awt.Stroke SELECTION_STROKE
public static final int ARROW_NONE
public static final int ARROW_CLASSIC
public static final int ARROW_TECHNICAL
public static final int ARROW_SIMPLE
public static final int ARROW_CIRCLE
public static final int ARROW_LINE
public static final int ARROW_DOUBLELINE
public static final int ARROW_DIAMOND
public static final int STYLE_ORTHOGONAL
public static final int STYLE_BEZIER
public static final int STYLE_SPLINE
public static final int X_AXIS
public static final int Y_AXIS
public static final Edge.Routing ROUTING_SIMPLE
public static final java.lang.String SIZEABLEAXIS
replaceAttributes
attribute. This special
attribute contains a Boolean instance indicating whether a map of
attributes should replace the attributes of the receiving view.
public static final java.lang.String MOVEABLEAXIS
replaceAttributes
attribute. This special
attribute contains a Boolean instance indicating whether a map of
attributes should replace the attributes of the receiving view.
public static final java.lang.String REPLACEATTRIBUTES
replaceAttributes
attribute. This special
attribute contains a Boolean instance indicating whether a map of
attributes should replace the attributes of the receiving view.
public static final java.lang.String REMOVEATTRIBUTES
removeAttributes
attribute. This special
attribute contains a list of attribute-keys which should be removed at
the receiving views.
public static final java.lang.String REMOVEALL
removeAll
attribute. This causes the receivers
attributes to be replaced by the the map that contains this attribute.
public static final java.lang.String ICON
icon
attribute. Use instances of Icon as
values for this key.
public static final java.lang.String FONT
font
attribute. Use instances of Font as
values for this key.
public static final java.lang.String OPAQUE
opaque
attribute. Use instances of Boolean as
values for this key.
public static final java.lang.String BORDER
border
attribute. Use instances of Border as
values for this key. Optionally, you can set the global instance of
LineBorder.
public static final java.lang.String LINECOLOR
linecolor
attribute. Use instances of Color as
values for this key.
public static final java.lang.String BORDERCOLOR
bordercolor
attribute. Use instances of Color
as values for this key.
public static final java.lang.String LINEWIDTH
linewidth
attribute. Use instances of Float as
values for this key.
public static final java.lang.String FOREGROUND
foreground
attribute. Use instances of Color
as values for this key.
public static final java.lang.String BACKGROUND
background
attribute. Use instances of Color
as values for this key.
public static final java.lang.String VERTICAL_ALIGNMENT
verticalAlignment
attribute. Use instances of
Integer as values for this key. Constants defined in JLabel class.
public static final java.lang.String HORIZONTAL_ALIGNMENT
horizontalAlignment
attribute. Use instances
of Integer as values for this key. Constants defined in JLabel class.
public static final java.lang.String VERTICAL_TEXT_POSITION
verticalTextPosition
attribute. Use instances
of Integer as values for this key. Constants defined in JLabel class.
public static final java.lang.String HORIZONTAL_TEXT_POSITION
horizontalTextPosition
attribute. Use
instances of Integer as values for this key. Constants defined in JLabel
class.
public static final java.lang.String DASHPATTERN
dashPattern
attribute. Use instances of
float[] as values for this key.
public static final java.lang.String LINESTYLE
lineStyle
attribute. Use instances of Integer
as values for this key. Constants defined in this class.
public static final java.lang.String LINEBEGIN
start
attribute. Use instances of Integer as
values for this key. Constants defined in this class.
public static final java.lang.String LINEEND
start
attribute. Use instances of Integer as
values for this key. Constants defined in this class.
public static final java.lang.String BEGINSIZE
startsize
attribute. Use instances of Integer
as values for this key.
public static final java.lang.String ENDSIZE
endsize
attribute. Use instances of Integer as
values for this key.
public static final java.lang.String BEGINFILL
startsize
attribute. Use instances of Integer
as values for this key.
public static final java.lang.String ENDFILL
endsize
attribute. Use instances of Integer as
values for this key.
public static final java.lang.String VALUE
value
attribute. You can use any Object as a
value for this key.
public static final java.lang.String EDITABLE
editable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String MOVEABLE
moveable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String SIZEABLE
sizeable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String AUTOSIZE
sizeable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String BENDABLE
sizeable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String CONNECTABLE
moveable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String DISCONNECTABLE
moveable
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String BOUNDS
bounds
attribute. Use instances of Rectangle
as values for this key.
public static final java.lang.String POINTS
points
attribute. Use instances of List as
values for this key. The list should contain Point instances.
public static final java.lang.String ROUTING
routing
attribute. Use instances of
EdgeView.EdgeRouter as values for this key. The list should contain Point
instances.
public static final java.lang.String LABELPOSITION
labelposition
attribute. Use instances of
Point as values for this key.
public static final java.lang.String LABELALONGEDGE
labelalongedge
attribute. Use instances of
Boolean as values for this key.
public static final java.lang.String ABSOLUTE
absolute
attribute. Use instances of Boolean
as values for this key.
public static final java.lang.String OFFSET
translate
attribute. Use instances of Point as
values for this key.
public static final java.lang.String SIZE
resize
attribute. Use instances of Dimension
as values for this key.
Constructor Detail |
---|
public GraphConstants()
Method Detail |
---|
public static java.util.Map createAttributes(java.lang.Object cell, java.lang.Object key, java.lang.Object value)
public static java.util.Map createAttributes(java.lang.Object[] cells, java.lang.Object key, java.lang.Object value)
public static java.util.Map createAttributes(java.lang.Object[] cells, java.lang.Object[] keys, java.lang.Object[] values)
keys
and values
parameters must
match in size.
public static java.util.Map createAttributes(java.lang.Object[] elements, CellMapper cm)
elements
may be instances of CellView
, in which case the cell
view's corresponding cell is used as a key, and its attributes are used
as a property map. In any other case, the element
is
considered as a cell and looked-up in the cell mapper to find the
corresponding view. If a view is found, its attributes are cloned and
used as a property map, along with the cell as a key.
Note: This method returns a map of maps! This is different from the createMap method, which creates a map, from keys to values. This method returns a map, from cells to maps, which in turn map from keys to values.
public static java.util.Map createAttributesFromModel(java.lang.Object[] elements, GraphModel model)
public static java.util.Map replaceKeys(java.util.Map keyMap, java.util.Map map)
map
using keyMap
map must itself
be a map, and is cloned using cloneMap
.
public static void setFont(java.util.Map map, java.awt.Font font)
map
- The map to store the font attribute in.font
- The value to set the font attribute to.public static java.awt.Font getFont(java.util.Map map)
public static final void setRemoveAttributes(java.util.Map map, java.lang.Object[] value)
public static final java.lang.Object[] getRemoveAttributes(java.util.Map map)
public static final void setMoveableAxis(java.util.Map map, int axis)
public static final int getMoveableAxis(java.util.Map map)
public static final void setSizeableAxis(java.util.Map map, int axis)
public static final int getSizeableAxis(java.util.Map map)
public static final void setIcon(java.util.Map map, javax.swing.Icon value)
public static final javax.swing.Icon getIcon(java.util.Map map)
public static final void setOpaque(java.util.Map map, boolean flag)
public static final boolean isOpaque(java.util.Map map)
public static final void setBorder(java.util.Map map, javax.swing.border.Border value)
public static final javax.swing.border.Border getBorder(java.util.Map map)
public static final void setLineColor(java.util.Map map, java.awt.Color value)
public static final java.awt.Color getLineColor(java.util.Map map)
public static final void setBorderColor(java.util.Map map, java.awt.Color value)
public static final java.awt.Color getBorderColor(java.util.Map map)
public static final void setLineWidth(java.util.Map map, float width)
public static final float getLineWidth(java.util.Map map)
public static final void setForeground(java.util.Map map, java.awt.Color value)
public static final java.awt.Color getForeground(java.util.Map map)
public static final void setBackground(java.util.Map map, java.awt.Color value)
public static final java.awt.Color getBackground(java.util.Map map)
public static final void setVerticalAlignment(java.util.Map map, int width)
public static final int getVerticalAlignment(java.util.Map map)
public static final void setHorizontalAlignment(java.util.Map map, int width)
public static final int getHorizontalAlignment(java.util.Map map)
public static final void setVerticalTextPosition(java.util.Map map, int width)
public static final int getVerticalTextPosition(java.util.Map map)
public static final void setHorizontalTextPosition(java.util.Map map, int width)
public static final int getHorizontalTextPosition(java.util.Map map)
public static final void setDashPattern(java.util.Map map, float[] value)
public static final float[] getDashPattern(java.util.Map map)
public static final void setLineStyle(java.util.Map map, int style)
public static final int getLineStyle(java.util.Map map)
public static final void setBeginSize(java.util.Map map, int style)
public static final int getBeginSize(java.util.Map map)
public static final void setEndSize(java.util.Map map, int style)
public static final int getEndSize(java.util.Map map)
public static final void setLineBegin(java.util.Map map, int style)
public static final int getLineBegin(java.util.Map map)
public static final void setLineEnd(java.util.Map map, int style)
public static final int getLineEnd(java.util.Map map)
public static final void setValue(java.util.Map map, java.lang.Object value)
public static final java.lang.Object getValue(java.util.Map map)
public static final void setLabelPosition(java.util.Map map, java.awt.Point position)
public static final java.awt.Point getLabelPosition(java.util.Map map)
public static final void setLabelAlongEdge(java.util.Map map, boolean flag)
public static final boolean isLabelAlongEdge(java.util.Map map)
public static final void setEditable(java.util.Map map, boolean flag)
public static final boolean isEditable(java.util.Map map)
public static final void setMoveable(java.util.Map map, boolean flag)
public static final boolean isMoveable(java.util.Map map)
public static final void setSizeable(java.util.Map map, boolean flag)
public static final boolean isSizeable(java.util.Map map)
public static final void setAutoSize(java.util.Map map, boolean flag)
public static final boolean isAutoSize(java.util.Map map)
public static final void setBendable(java.util.Map map, boolean flag)
public static final boolean isBendable(java.util.Map map)
public static final void setConnectable(java.util.Map map, boolean flag)
public static final boolean isConnectable(java.util.Map map)
public static final void setDisconnectable(java.util.Map map, boolean flag)
public static final boolean isDisconnectable(java.util.Map map)
public static final void setPoints(java.util.Map map, java.util.List list)
public static final java.util.List getPoints(java.util.Map map)
public static final void setRouting(java.util.Map map, Edge.Routing routing)
public static final Edge.Routing getRouting(java.util.Map map)
public static final void setBounds(java.util.Map map, java.awt.geom.Rectangle2D bounds)
public static final java.awt.geom.Rectangle2D getBounds(java.util.Map map)
public static final void setSize(java.util.Map map, java.awt.Dimension size)
public static final java.awt.Dimension getSize(java.util.Map map)
public static final void setOffset(java.util.Map map, java.awt.geom.Point2D offset)
public static final java.awt.geom.Point2D getOffset(java.util.Map map)
public static final void setBeginFill(java.util.Map map, boolean flag)
public static final boolean isBeginFill(java.util.Map map)
public static final void setEndFill(java.util.Map map, boolean flag)
public static final boolean isEndFill(java.util.Map map)
public static final void setAbsolute(java.util.Map map, boolean flag)
public static final boolean isAbsolute(java.util.Map map)
public static final void setRemoveAll(java.util.Map map, boolean flag)
public static final boolean isRemoveAll(java.util.Map map)
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |