public class DiagramNodeStyle extends DiagramItemStyle
Modifier | Constructor and Description |
---|---|
protected |
DiagramNodeStyle()
Initializes a new instance of the
DiagramNodeStyle class. |
Modifier and Type | Method and Description |
---|---|
java.util.List<NodeEffect> |
getEffects()
Gets a list of the effects applied to the node.
|
protected void |
loadFromJson(com.mindfusion.common.JsonObject obj,
JsonPersistContext context)
Loads the style content from a JsonObject.
|
protected void |
saveToJson(com.mindfusion.common.JsonObject obj,
JsonPersistContext context)
Saves the style content into a JsonObject.
|
getBrush, getFontFamily, getFontSize, getFontStyle, getFontUnit, getShadowBrush, getStroke, getStrokeThickness, getTextBrush, setBrush, setFontFamily, setFontSize, setFontStyle, setFontUnit, setShadowBrush, setStroke, setStrokeThickness, setTextBrush
addPropertyChangeListener, getValue, isPropertySet, loadFromXml, readExternal, registerProperty, registerType, removePropertyChangeListener, saveToXml, setValue, unsetValue, writeExternal
protected DiagramNodeStyle()
DiagramNodeStyle
class.protected void saveToJson(com.mindfusion.common.JsonObject obj, JsonPersistContext context)
saveToJson
in class DiagramItemStyle
obj
- A JsonObject the style's data should be stored into.context
- A JsonPersistContext object providing contextual information
about the serialization process and some helper serialization methods.protected void loadFromJson(com.mindfusion.common.JsonObject obj, JsonPersistContext context)
loadFromJson
in class DiagramItemStyle
obj
- A JsonObject containing the style's data.context
- A JsonPersistContext object providing contextual information about
the serialization process and some helper serialization methods.public java.util.List<NodeEffect> getEffects()