DroidDiagram Programmer's Guide
Layer Members
Constructors Methods
 


The Layer class represents a layer in the diagram. The visibility, z order and lock status of items in a layer can be controlled via properties of the respective Layer object.

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

 Public Constructors

  Name Description

Layer

 

 Public Methods

  Name Description

addPropertyChangeListener

Registers listener so that it will receive events when the properties of this layer change.

getLocked

Gets a value indicating whether the layer is locked. Items associated with locked layers cannot be modified interactively, regardless of their own DiagramItem.getLocked property.

getTitle

Gets a title associated with the layer.

getVisible

Gets a value indicating whether the layer is visible. Items associated with hidden layers are not displayed, regardless of their own DiagramItem.getVisible property.

getZIndex

Gets the z-index of the layer.

readExternal

Implements Externalizable.

removePropertyChangeListener

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

setLocked

Sets a value indicating whether the layer is locked. Items associated with locked layers cannot be modified interactively, regardless of their own DiagramItem.getLocked property.

setTitle

Sets a title associated with the layer.

setVisible

Sets a value indicating whether the layer is visible. Items associated with hidden layers are not displayed, regardless of their own DiagramItem.getVisible property.

setZIndex

Sets the z-index of the layer.

writeExternal

Implements Externalizable.

 See Also

Layer Class
com.mindfusion.diagramming Namespace