DIAMOND, ELLIPSE, FATARROW, FATARROW2, HEXAGON, OCTAGON, PARALLELOGRAM, PARALLELOGRAM2, RECTANGLE, RECTANGLE3D, ROUNDRECTANGLE, TRIANGLE, TRIANGLE2
Constructor and Description |
---|
GroupStateNode() |
GroupStateNode(boolean stateValue)
Constructor.
|
GroupStateNode(GraphMLGroupNode parentNode) |
Modifier and Type | Method and Description |
---|---|
GroupStateNode |
clone() |
void |
copy(GroupStateNode template)
Copy a template.
|
java.awt.Insets |
getBorderInsets()
Return the border Insets.
|
java.awt.Insets |
getInsets()
Return the Insets.
|
boolean |
getStateValue()
Return the state value.
|
boolean |
isInnerGraphDisplayEnabled()
Return true if the inner graph display is enabled.
|
boolean |
isOpened()
Return true if the state is opened.
|
void |
setBorderInsets(java.awt.Insets borderInsets)
Set the border Insets.
|
void |
setBorderInsets(int value)
Set the border Insets.
|
void |
setInnerGraphDisplayEnabled(boolean innerGraphDisplayEnabled)
Set if the inner graph display is enabled.
|
void |
setInsets(java.awt.Insets insets)
Set the Insets.
|
void |
setInsets(int value)
Set the Insets.
|
autosize, copy, getBorderStyle, getDropShadow, getFillColor, getGeometry, getHeightPadding, getLabel, getParentNode, getType, getTypeAsString, getWidthPadding, hasBorderColor, hasDropShadow, hasFillColor, hasLabel, isAutosized, setAutosized, setBorderColor, setBorderStyle, setDropShadow, setFillColor, setFillColor, setGeometry, setHasBorderColor, setHasFillColor, setHeightPadding, setLabel, setLabel, setType, setWidthPadding
public GroupStateNode()
public GroupStateNode(GraphMLGroupNode parentNode)
public GroupStateNode(boolean stateValue)
stateValue
- the state value (true for opened, false for closed)public boolean getStateValue()
public boolean isOpened()
public void copy(GroupStateNode template)
template
- the templatepublic void setInsets(java.awt.Insets insets)
insets
- the Insetspublic void setInsets(int value)
value
- the value, identical for each insets value (top, bottom, right, left).public java.awt.Insets getInsets()
public void setBorderInsets(java.awt.Insets borderInsets)
borderInsets
- the border Insetspublic void setBorderInsets(int value)
value
- the value, identical for each border insets value (top, bottom, right, left).public java.awt.Insets getBorderInsets()
public void setInnerGraphDisplayEnabled(boolean innerGraphDisplayEnabled)
innerGraphDisplayEnabled
- true if the inner graph display is enabledpublic boolean isInnerGraphDisplayEnabled()
public GroupStateNode clone()
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence