DroidDiagram Programmer's Guide
DiagramLinkStyle Members
Constructors Methods
 


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

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

 Public Constructors

  Name Description

DiagramLinkStyle

Initializes a new instance of the DiagramLinkStyle class.

 Public Methods

  Name Description

addPropertyChangeListener

  (Inherited from Style.)

getBrush

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

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.)

getHeadStroke

Gets the brush used to paint the arrowhead outlines of this brush.

getHeadStrokeThickness

Gets the outline thickness of the arrowheads of this brush, expressed in the current units of measure.

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.)

init

Returns a DiagramLinkStyleBuilder object used to configure this DiagramLinkStyle instance.

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.)

setHeadStroke

Sets the brush used to paint the arrowhead outlines of this brush.

setHeadStrokeThickness

Sets the outline thickness of the arrowheads of this brush, expressed in the current units of measure.

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.)

with

Returns a DiagramLinkStyleBuilder object used to configure and create new DiagramLinkStyle instances.

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

DiagramLinkStyle Class
com.mindfusion.diagramming Namespace