Class GraphGroup
java.lang.Object
com.codename1.graph.GraphGroup
A labeled box drawn around the nodes whose group id names it, such as the
services of one subsystem. A collapsed group is drawn as a single node and
the edges of its members end on it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()The id members name inGraphNode.setGroupId.getLabel()The title painted on the group.A key a renderer may map to a colour, or null.booleanTrue when the group is drawn as one node.voidsetCollapsed(boolean collapsed) Collapses or expands the group.voidSets the title.voidsetStyleKey(String styleKey) Sets the style key.
-
Constructor Details
-
GraphGroup
-
-
Method Details
-
getId
The id members name inGraphNode.setGroupId. -
getLabel
The title painted on the group. -
setLabel
Sets the title. -
isCollapsed
public boolean isCollapsed()True when the group is drawn as one node. -
setCollapsed
public void setCollapsed(boolean collapsed) Collapses or expands the group. A model shown by a component is told throughGraphModel.setCollapsed. -
getStyleKey
A key a renderer may map to a colour, or null. -
setStyleKey
Sets the style key.
-