Static Public Member Functions | |
static Map | createAttributes (Object cell, Object key, Object value) |
static Map | createAttributes (Object[] cells, Object key, Object value) |
static Map | createAttributes (Object[] cells, Object[] keys, Object[] values) |
static Map | createAttributes (Object[] elements, CellMapper cm) |
static Map | createAttributesFromModel (Object[] elements, GraphModel model) |
static Map | replaceKeys (Map keyMap, Map map) |
static Map | merge (Map change, Map target) |
static void | setFont (Map map, Font font) |
static Font | getFont (Map map) |
static final void | setRemoveAttributes (Map map, Object[] value) |
static final Object[] | getRemoveAttributes (Map map) |
static final void | setMoveableAxis (Map map, int axis) |
static final int | getMoveableAxis (Map map) |
static final void | setSizeableAxis (Map map, int axis) |
static final int | getSizeableAxis (Map map) |
static final void | setIcon (Map map, Icon value) |
static final Icon | getIcon (Map map) |
static final void | setOpaque (Map map, boolean flag) |
static final boolean | isOpaque (Map map) |
static final void | setGroupOpaque (Map map, boolean flag) |
static final boolean | isGroupOpaque (Map map) |
static final void | setBorder (Map map, Border value) |
static final Border | getBorder (Map map) |
static final void | setLineColor (Map map, Color value) |
static final Color | getLineColor (Map map) |
static final void | setBorderColor (Map map, Color value) |
static final Color | getBorderColor (Map map) |
static final void | setLineWidth (Map map, float width) |
static final float | getLineWidth (Map map) |
static final void | setForeground (Map map, Color value) |
static final Color | getForeground (Map map) |
static final void | setBackground (Map map, Color value) |
static final Color | getBackground (Map map) |
static final void | setGradientColor (Map map, Color value) |
static final Color | getGradientColor (Map map) |
static final void | setVerticalAlignment (Map map, int alignment) |
static final int | getVerticalAlignment (Map map) |
static final void | setHorizontalAlignment (Map map, int alignment) |
static final int | getHorizontalAlignment (Map map) |
static final void | setVerticalTextPosition (Map map, int textPosition) |
static final int | getVerticalTextPosition (Map map) |
static final void | setHorizontalTextPosition (Map map, int textPosition) |
static final int | getHorizontalTextPosition (Map map) |
static final void | setDashPattern (Map map, float[] value) |
static final float[] | getDashPattern (Map map) |
static final void | setDashOffset (Map map, float value) |
static final float | getDashOffset (Map map) |
static final void | setLineStyle (Map map, int style) |
static final int | getLineStyle (Map map) |
static final void | setBeginSize (Map map, int style) |
static final int | getBeginSize (Map map) |
static final void | setEndSize (Map map, int style) |
static final int | getEndSize (Map map) |
static final void | setLineBegin (Map map, int style) |
static final int | getLineBegin (Map map) |
static final void | setLineEnd (Map map, int style) |
static final int | getLineEnd (Map map) |
static final void | setValue (Map map, Object value) |
static final Object | getValue (Map map) |
static final void | setLabelPosition (Map map, Point2D position) |
static final Point2D | getLabelPosition (Map map) |
static final void | setExtraLabels (Map map, Object[] definitions) |
static final Object[] | getExtraLabels (Map map) |
static final void | setExtraLabelPositions (Map map, Point2D[] positions) |
static final Point2D[] | getExtraLabelPositions (Map map) |
static final void | setLabelAlongEdge (Map map, boolean flag) |
static final boolean | isLabelAlongEdge (Map map) |
static final void | setEditable (Map map, boolean flag) |
static final boolean | isEditable (Map map) |
static final void | setMoveable (Map map, boolean flag) |
static final boolean | isMoveable (Map map) |
static final void | setSizeable (Map map, boolean flag) |
static final boolean | isSizeable (Map map) |
static final void | setAutoSize (Map map, boolean flag) |
static final boolean | isAutoSize (Map map) |
static final void | setResize (Map map, boolean flag) |
static final boolean | isResize (Map map) |
static final void | setConstrained (Map map, boolean flag) |
static final boolean | isConstrained (Map map) |
static final void | setSelectable (Map map, boolean flag) |
static final boolean | isSelectable (Map map) |
static final void | setChildrenSelectable (Map map, boolean flag) |
static final boolean | isChildrenSelectable (Map map) |
static final void | setBendable (Map map, boolean flag) |
static final boolean | isBendable (Map map) |
static final void | setConnectable (Map map, boolean flag) |
static final boolean | isConnectable (Map map) |
static final void | setDisconnectable (Map map, boolean flag) |
static final boolean | isDisconnectable (Map map) |
static final void | setPoints (Map map, java.util.List list) |
static final java.util.List | getPoints (Map map) |
static final void | setRouting (Map map, Edge.Routing routing) |
static final Edge.Routing | getRouting (Map map) |
static final void | setBounds (Map map, Rectangle2D bounds) |
static final Rectangle2D | getBounds (Map map) |
static final void | setInset (Map map, int width) |
static final int | getInset (Map map) |
static final void | setSize (Map map, Dimension size) |
static final Dimension | getSize (Map map) |
static final void | setOffset (Map map, Point2D offset) |
static final Point2D | getOffset (Map map) |
static final void | setBeginFill (Map map, boolean flag) |
static final boolean | isBeginFill (Map map) |
static final void | setEndFill (Map map, boolean flag) |
static final boolean | isEndFill (Map map) |
static final void | setAbsolute (Map map, boolean flag) |
static final void | setAbsoluteY (Map map, boolean flag) |
static final boolean | isAbsoluteY (Map map) |
static final void | setAbsoluteX (Map map, boolean flag) |
static final boolean | isAbsoluteX (Map map) |
static final void | setRemoveAll (Map map, boolean flag) |
static final boolean | isRemoveAll (Map map) |
static Edge.Routing | getROUTING_SIMPLE () |
static Edge.Routing | getROUTING_DEFAULT () |
Static Public Attributes | |
static Font | DEFAULTFONT = null |
static int | DEFAULTDECORATIONSIZE = 10 |
static int | DEFAULTINSET = 0 |
static final int | PERMILLE = 1000 |
static Stroke | SELECTION_STROKE |
static final int | ARROW_NONE = 0 |
static final int | ARROW_CLASSIC = 1 |
static final int | ARROW_TECHNICAL = 2 |
static final int | ARROW_SIMPLE = 4 |
static final int | ARROW_CIRCLE = 5 |
static final int | ARROW_LINE = 7 |
static final int | ARROW_DOUBLELINE = 8 |
static final int | ARROW_DIAMOND = 9 |
static final int | STYLE_ORTHOGONAL = 11 |
static final int | STYLE_BEZIER = 12 |
static final int | STYLE_SPLINE = 13 |
static final int | X_AXIS = 1 |
static final int | Y_AXIS = 2 |
static Edge.Routing | ROUTING_DEFAULT = new DefaultEdge.LoopRouting() |
static final Edge.Routing | ROUTING_SIMPLE = new DefaultEdge.DefaultRouting() |
static final String | SIZEABLEAXIS = "sizeableAxis" |
static final String | MOVEABLEAXIS = "moveableAxis" |
static final String | REPLACEATTRIBUTES = "replaceAttributes" |
static final String | REMOVEATTRIBUTES = "removeAttributes" |
static final String | REMOVEALL = "removeAll" |
static final String | ICON = "icon" |
static final String | FONT = "font" |
static final String | OPAQUE = "opaque" |
static final String | GROUPOPAQUE = "groupOpaque" |
static final String | BORDER = "border" |
static final String | LINECOLOR = "linecolor" |
static final String | BORDERCOLOR = "bordercolor" |
static final String | LINEWIDTH = "linewidth" |
static final String | FOREGROUND = "foregroundColor" |
static final String | BACKGROUND = "backgroundColor" |
static final String | GRADIENTCOLOR = "gradientColor" |
static final String | VERTICAL_ALIGNMENT = "verticalAlignment" |
static final String | HORIZONTAL_ALIGNMENT = "horizontalAlignment" |
static final String | VERTICAL_TEXT_POSITION = "verticalTextPosition" |
static final String | HORIZONTAL_TEXT_POSITION = "horizontalTextPosition" |
static final String | DASHPATTERN = "dashPattern" |
static final String | DASHOFFSET = "dashOffset" |
static final String | LINESTYLE = "lineStyle" |
static final String | LINEBEGIN = "lineBegin" |
static final String | LINEEND = "lineEnd" |
static final String | BEGINSIZE = "beginSize" |
static final String | ENDSIZE = "endSize" |
static final String | BEGINFILL = "beginFill" |
static final String | ENDFILL = "endFill" |
static final String | VALUE = "value" |
static final String | EDITABLE = "editable" |
static final String | MOVEABLE = "moveable" |
static final String | SIZEABLE = "sizeable" |
static final String | AUTOSIZE = "autosize" |
static final String | RESIZE = "resize" |
static final String | INSET = "inset" |
static final String | CONSTRAINED = "constrained" |
static final String | SELECTABLE = "selectable" |
static final String | CHILDRENSELECTABLE = "childrenSelectable" |
static final String | MOVEHIDDENCHILDREN = "childrenSelectable" |
static final String | BENDABLE = "bendable" |
static final String | CONNECTABLE = "connectable" |
static final String | DISCONNECTABLE = "disconnectable" |
static final String | BOUNDS = "bounds" |
static final String | POINTS = "points" |
static final String | ROUTING = "routing" |
static final String | LABELPOSITION = "labelposition" |
static final String | EXTRALABELS = "extraLabels" |
static final String | EXTRALABELPOSITIONS = "extraLabelPositions" |
static final String | LABELALONGEDGE = "labelAlongEdge" |
static final String | ABSOLUTEX = "absoluteX" |
static final String | ABSOLUTEY = "absoluteY" |
static final String | OFFSET = "offset" |
static final String | SIZE = "size" |
Static Protected Attributes | |
static float[] | dash = { 5f, 5f } |
Static Package Functions | |
[static initializer] |
|
GetFont in UIDefaults requires a valid framebuffer, so we implement a fallback to a static default setting. |
|
Returns a new map, from cells to property maps. The 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. |
|
Returns a new (nested) map, from cells to attribute maps. The attributes are populated with the (key, value)-pairs specified by the two given arrays. The |
|
Overloaded method that passes arguments on as arrays |
|
Overloaded method that passes arguments on as arrays |
|
|
|
Returns the background attribute from the specified map. |
|
Returns the beginsize attribute from the specified map. |
|
Returns the border attribute from the specified map. |
|
Returns the bordercolor attribute from the specified map. |
|
Returns the bounds attribute from the specified map. Note: The CellView interface offers a getBounds method! |
|
Returns the dashoffset attribute from the specified map. |
|
Returns the dashpattern attribute from the specified map. |
|
Returns the endsize attribute from the specified map. |
|
Returns the extralabelpositions attribute from the specified map. Extra labels only work with edges currently. |
|
Returns the additional label objects from the specified map.Extra labels only work with edges currently. |
|
Returns the font for the specified attribute map. Uses default font if no font is specified in the attribute map. |
|
Returns the foreground attribute from the specified map. |
|
Returns the gradientcolor attribute from the specified map. |
|
Returns the horizontalalignment attribute from the specified map. |
|
Returns the horizontaltextposition attribute from the specified map. |
|
Returns the icon attribute from the specified map. |
|
Returns the inset attribute from the specified map. Note: The CellView interface offers a getBounds method! |
|
Returns the label position attribute from the specified map. The point is interpreted by the EdgeRenderer as follows: |
|
Returns the LINEBEGIN attribute from the specified map. This attribute indicates what sort of decoration should be applied to the beginning of edges when they are rendered.
|
|
Returns the linecolor attribute from the specified map. |
|
Returns the LINEEND attribute from the specified map. This attribute indicates what sort of decoration should be applied to the ends of edges when they are rendered.
|
|
Returns the linestyle attribute from the specified map. |
|
Returns the linewidth attribute from the specified map. |
|
Returns the moveableaxis attribute from the specified map. |
|
Returns the offset attribute from the specified map. The offset is the position of a port relative to its origin, note this attribute is only for ports. |
|
Returns the points attribute from the specified map.
|
|
Returns the attribute marked as for removal in the specified map. |
|
Returns the routing attribute from the specified map. |
|
|
|
|
|
Returns the size attribute from the specified map. |
|
Returns the sizeableAxis attribute from the specified map. |
|
Returns the value attribute from the specified map. |
|
Returns the verticalalignment attribute from the specified map. |
|
Returns the verticaltextposition attribute from the specified map. |
|
Returns the absolutex attribute from the specified map. |
|
Returns the absolutey attribute from the specified map. |
|
Returns the autosize attribute from the specified map. |
|
Returns the beginfill attribute from the specified map. |
|
Returns the bendable attribute from the specified map. |
|
Returns the childrenselectable attribute from the specified map. |
|
Returns the connectable attribute from the specified map. |
|
Returns the constrained attribute from the specified map. |
|
Returns the disconnectable attribute from the specified map. |
|
Returns the editable attribute from the specified map. |
|
Returns the endfill attribute from the specified map. |
|
Returns the opaque attribute from the specified map. |
|
Returns the true if the label should be painted along the edge. Defaults to false. |
|
Returns the moveable attribute from the specified map. |
|
Returns the opaque attribute from the specified map. |
|
Returns the removeall attribute from the specified map. |
|
Returns the resize attribute from the specified map. |
|
Returns the selectable attribute from the specified map.
|
|
Returns the sizeable attribute from the specified map. |
|
Merges the specified nested maps by adding all attributes in the change to the attributes for the cell in target, if the cell does not exist in target, then a new entry is added with all attributes from change. Returns the modified target map.
Note: This method removes entries from
|
|
Replace the keys in |
|
Sets the absolute attributes in the specified map to the specified value. |
|
Sets the absolutex attribute in the specified map to the specified value. |
|
Sets the absolutey attribute in the specified map to the specified value. |
|
Sets the autosize attribute in the specified map to the specified value. |
|
Sets the background attribute in the specified map to the specified value. |
|
Sets the beginfill attribute in the specified map to the specified value. |
|
Sets the beginsize attribute in the specified map to the specified value. |
|
Sets the bendable attribute in the specified map to the specified value. |
|
Sets the border attribute in the specified map to the specified value. |
|
Sets the bordercolor attribute in the specified map to the specified value. |
|
Sets the bounds attribute in the specified map to the specified value. |
|
Sets the childrenselectable attribute in the specified map to the specified value. |
|
Sets the connectable attribute in the specified map to the specified value. |
|
Sets the constrained attribute in the specified map to the specified value. |
|
Sets the dashoffset attribute in the specified map to the specified value. |
|
Sets the dashpattern attribute in the specified map to the specified value. |
|
Sets the disconnectable attribute in the specified map to the specified value. |
|
Sets the editable attribute in the specified map to the specified value. |
|
Sets the endfill attribute in the specified map to the specified value. |
|
Sets the endsize attribute in the specified map to the specified value. |
|
Sets the labelpositions attribute in the specified map to the specified value. The Point instance at a particular index corresponds to the object at the same index in the extralabels array attribute. Extra labels only work with edges currently.
|
|
Sets the array of additional labels. The objects's toString methods are used to determine the actual label string. Extra labels only work with edges currently. |
|
Sets the value attribute in the specified map to the specified font value.
|
|
Sets the foregrund attribute in the specified map to the specified value. |
|
Sets the gradientcolor attribute in the specified map to the specified value. |
|
Sets the opaque attribute in the specified map to the specified value. |
|
This method set the position of the label in vertex cells, and takes aruguments of type SwingConstants (for JLabel) i.e. JLabel.LEFT etc. Default is JLabel.CENTER. This method has no effect on edge cells. |
|
This method set the text of a label on vertext cell relative to image. See JLabel api. Default value is JLabel.CENTER. |
|
Sets the icon attribute in the specified map to the specified value. |
|
Sets the inset attribute in the specified map to the specified value. |
|
Sets if the label should be painted along the edge. |
|
Sets the label position attribute in the specified map to the specified value. |
|
Sets the LINEBEGIN attribute in the specified map to the specified value. This attribute indicates what sort of decoration should be applied to the beginning of edges when they are rendered.
|
|
Sets the linecolor attribute in the specified map to the specified value. |
|
Sets the LINEEND attribute in the specified map to the specified value. This attribute indicates what sort of decoration should be applied to the ends of edges when they are rendered.
|
|
Sets the linestyle attribute in the specified map to the specified value. |
|
Sets the linewidth attribute in the specified map to the specified value. |
|
Sets the moveable attribute in the specified map to the specified value. |
|
Sets the moveableaxis attribute in the specified map to the specified value. |
|
Sets the offset attribute in the specified map to the specified value. The offset is the position of a port relative to its origin, note this attribute is only for ports. |
|
Sets the opaque attribute in the specified map to the specified value. |
|
Sets the points attribute in the specified map to the specified value. Points are literally the points where an edge is connected by two lines. The two defaults points are the start and end of the edge. For example, for an simple orthogonal edge there will be two extra points indicating where the two right-angled bends are. This attribute can only be applied to an edge. |
|
Sets the removeall attribute in the specified map to the specified value. |
|
Sets specific attributes are being marked for removal @ param map The transport map indicating the attribute removal @ param value The attributes to be removed |
|
Sets the resize attribute in the specified map to the specified value. |
|
Sets the routing attribute in the specified map to the specified value. |
|
Sets the selectable attribute in the specified map to the specified value. This detemines whether or not a cell may be selected. Vertices and edges may be selectable, not ports. |
|
Sets the size attribute in the specified map to the specified value. |
|
Sets the sizeable attribute in the specified map to the specified value. |
|
Sets the sizeableAxis attribute in the specified map to the specified value. |
|
Sets the value attribute in the specified map to the specified value. |
|
This method set the position of the label in vertex cells, and takes aruguments of type SwingConstants (for JLabel) i.e. JLabel.TOP etc. Default value is JLabel.CENTER. This method has no effect on edge cells. |
|
This method set the text of a label on vertext cell relative to image. See JLabel api. Default value is JLabel.BOTTOM. |
|
Key for the |
|
Key for the |
|
Represents a circle decoration for the beginning or ending of edges.
|
|
Represents a classic arrow decoration for the beginning or ending of edges.
|
|
Represents a diamond decoration for the beginning or ending of edges.
|
|
Represents a double line decoration for the beginning or ending of edges.
|
|
Represents a line decoration for the beginning or ending of edges.
|
|
Represents no decoration for the beginning or ending of edges.
|
|
Represents a simple arrow decoration for the beginning or ending of edges.
|
|
Represents a technical arrow decoration for the beginning or ending of edges.
|
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Global Stroke To Highlight Selection |
|
Key for the |
|
Key for the |
|
Default decoration size. Value is 0. |
|
Default font is derived from UIManager.getDefaults().getFont("Label.font") |
|
Default inset size. Value is 0. |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
100 percent unit for relative positioning. Current value is 1000. |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
Key for the |
|
The default routing that deals with loops. This is returned by getRouting(Map) if there is no routing assigned. |
|
A simple routing. |
|
Key for the |
|
Initial value: new BasicStroke(1, BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f, dash, 0.0f) |
|
Key for the |
|
Key for the |
|
Key for the |
|
Represents a bezier line style |
|
Represents an orthogonal line style |
|
Represents an spline line style |
|
Key for the |
|
Key for the |
|
Key for the |
|
Represents an bezier line style |
|
Represents an bezier line style |