DroidDiagram Programmer's Guide
DiagramNodeStyle Members
Constructors Methods
 


Represents a reusable set of properties that define the appearance of diagram nodes.

The following tables list the members exposed by the DiagramNodeStyle type.

 Protected Constructors

  Name Description

DiagramNodeStyle

Initializes a new instance of the DiagramNodeStyle class.

 Public Methods

  Name Description

addPropertyChangeListener

  (Inherited from Style.)

getBrush

Gets the brush used to fill the interior of the item. (Inherited from DiagramItemStyle.)

getEffects

Gets a list of the effects applied to the node.

getFontFamily

Gets the font family of the item text. (Inherited from DiagramItemStyle.)

getFontSize

Gets the font size of the item text. (Inherited from DiagramItemStyle.)

getFontStyle

Gets the font style of the item text. (Inherited from DiagramItemStyle.)

getFontUnit

Gets the measure unit used to specify font size. (Inherited from DiagramItemStyle.)

getShadowBrush

Gets the brush used to paint the shadow of the item. (Inherited from DiagramItemStyle.)

getStroke

Gets the brush used to paint the outline of the item. (Inherited from DiagramItemStyle.)

getStrokeThickness

Gets the thickness of the item's outline, expressed in the current units of measure. (Inherited from DiagramItemStyle.)

getTextBrush

Gets the brush used to paint texts inside the item. (Inherited from DiagramItemStyle.)

readExternal

Externalizable.readExternal implementation. (Inherited from Style.)

registerType

Associates a type with an alias. The alias is used when saving and loading objects of the specified type during style serialization and deserialization. (Inherited from Style.)

removePropertyChangeListener

  (Inherited from Style.)

setBrush

Sets the brush used to fill the interior of the item. (Inherited from DiagramItemStyle.)

setFontFamily

Sets the font family of the item text. (Inherited from DiagramItemStyle.)

setFontSize

Sets the font size of the item text. (Inherited from DiagramItemStyle.)

setFontStyle

Sets the font style of the item text. (Inherited from DiagramItemStyle.)

setFontUnit

Sets the measure unit used to specify font size. (Inherited from DiagramItemStyle.)

setShadowBrush

Sets the brush used to paint the shadow of the item. (Inherited from DiagramItemStyle.)

setStroke

Sets the brush used to paint the outline of the item. (Inherited from DiagramItemStyle.)

setStrokeThickness

Sets the thickness of the item's outline, expressed in the current units of measure. (Inherited from DiagramItemStyle.)

setTextBrush

Sets the brush used to paint texts inside the item. (Inherited from DiagramItemStyle.)

writeExternal

Externalizable.writeExternal implementation. (Inherited from Style.)

 Protected Methods

  Name Description

getValue

Gets the value of the specified property. (Inherited from Style.)

isPropertySet

Checks whether the specified property has a value. (Inherited from Style.)

loadFromXml

Loads the style content from an XML element. (Inherited from Style.)

registerProperty

Registers a new property with the specified name and type. (Inherited from Style.)

saveToXml

Saves the style content into an XML element. (Inherited from Style.)

setValue

Sets the value of the specified property. (Inherited from Style.)

unsetValue

Clears the value of the specified property. (Inherited from Style.)

 See Also

DiagramNodeStyle Class
com.mindfusion.diagramming Namespace