DroidDiagram Programmer's Guide
Theme Members
Constructors Methods
 


Represents a set of Style objects for different diagram item types.

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

 Public Constructors

  Name Description

Theme

Initializes a new instance of the Theme class.

 Public Methods

  Name Description

addThemeListener

Registers listener so that it will receive events when the theme changes.

loadFromString

Loads the theme from an XML string.

loadFromXml

Loads the theme from an XML file.

readExternal

Externalizable.readExternal implementation.

registerStyle

Registers the specified Style object for the items of the specified type.

removeThemeListener

Unregisters listener so that it will no longer receive theme events.

saveToString

Saves the theme into an XML string.

saveToXml

Saves the theme to an XML file.

unregisterStyle

Unregisters the Style object associated with the specified type.

writeExternal

Externalizable.writeExternal implementation.

 See Also

Theme Class
com.mindfusion.diagramming Namespace