public class ContainerNodeProperties extends DiagramNodeProperties
ContainerNode
properties during undo / redo operations.
If you need to implement undo support for the additional properties defined by
a class derived from ContainerNode
, do so by deriving from ContainerNodeProperties
and overriding the ContainerNode.saveProperties(com.mindfusion.diagramming.DiagramItemProperties)
, ContainerNode.restoreProperties(com.mindfusion.diagramming.DiagramItemProperties)
,
and ContainerNode.createProperties()
methods.Modifier and Type | Field and Description |
---|---|
boolean |
allowAddChildren |
boolean |
allowRemoveChildren |
java.lang.String |
caption |
Brush |
captionBackBrush |
Color |
captionColor |
TextFormat |
captionFormat |
float |
captionHeight |
float |
cornerRadius |
Dimension |
foldedSize |
Pen |
highlightPen |
float |
margin |
Dimension |
minimumSize |
SimpleShape |
shape |
textPadding
Constructor and Description |
---|
ContainerNodeProperties() |
public Pen highlightPen
public float margin
public Dimension minimumSize
public java.lang.String caption
public Color captionColor
public float captionHeight
public TextFormat captionFormat
public Brush captionBackBrush
public Dimension foldedSize
public SimpleShape shape
public float cornerRadius
public boolean allowAddChildren
public boolean allowRemoveChildren