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.
Name | Description | |
---|---|---|
![]() |
|
Name | Description | |
---|---|---|
![]() |
Registers listener so that it will receive events when the properties of this layer change. |
|
![]() |
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. |
|
![]() |
Gets a title associated with the layer. |
|
![]() |
Gets a value indicating whether the layer is visible. Items associated with hidden layers are not displayed, regardless of their own DiagramItem.getVisible property. |
|
![]() |
Gets the z-index of the layer. |
|
![]() |
Implements Externalizable. |
|
![]() |
Unregisters listener so that it will no longer receive layer events. |
|
![]() |
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. |
|
![]() |
Sets a title associated with the layer. |
|
![]() |
Sets a value indicating whether the layer is visible. Items associated with hidden layers are not displayed, regardless of their own DiagramItem.getVisible property. |
|
![]() |
Sets the z-index of the layer. |
|
![]() |
Implements Externalizable. |