Search
Layer Methods
 


 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