|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.Layer
public class Layer
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.
Constructor Summary | |
---|---|
Layer()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Registers listener so that it will receive events when
the properties of this layer change. |
boolean |
getLocked()
Gets a value indicating whether the layer is locked. |
java.lang.String |
getTitle()
Gets a title associated with the layer. |
boolean |
getVisible()
Gets a value indicating whether the layer is visible. |
int |
getZIndex()
Gets the z-index of the layer. |
void |
readExternal(java.io.ObjectInput in)
Implements Externalizable. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Unregisters listener so that it will no longer
receive layer events. |
void |
setLocked(boolean value)
Sets a value indicating whether the layer is locked. |
void |
setTitle(java.lang.String value)
Sets a title associated with the layer. |
void |
setVisible(boolean value)
Sets a value indicating whether the layer is visible. |
void |
setZIndex(int value)
Sets the z-index of the layer. |
void |
writeExternal(java.io.ObjectOutput out)
Implements Externalizable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Layer()
Method Detail |
---|
public int getZIndex()
public void setZIndex(int value)
value
- An integer value specifying the position of the layer
within the diagram Z order.public boolean getVisible()
Visible
property.
public void setVisible(boolean value)
Visible
property.
value
- A boolean value specifying if the layer is visible.public boolean getLocked()
Locked
property.
public void setLocked(boolean value)
Locked
property.
value
- A boolean value specifying if the layer is locked.public java.lang.String getTitle()
public void setTitle(java.lang.String value)
value
- A String containing the layer's title.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
so that it will receive events when
the properties of this layer change.
listener
- An object implementing the PropertyChangeListener
interface.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
so that it will no longer
receive layer events.
listener
- An object implementing the PropertyChangeListener
interface.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |