public class DefaultLayoutDocument extends AbstractDocument implements LayoutDocument
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PERSISTENCE_DEFINITION_NAME |
change
ACCESS_DOCUMENT_AUTHORIZATION
Constructor and Description |
---|
DefaultLayoutDocument() |
DefaultLayoutDocument(DocumentManager factory) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator |
deepiterator()
Get an Iterator over al elements in the layout.
|
LayoutContext |
getLayoutContext() |
boolean |
isPersistIndependent() |
java.util.Iterator |
iterator() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setPersistIndependent(boolean b) |
addListener, addPropertyChangeListener, afterAdd, afterRemove, callCreateWindow, contains, doDispose, exportDocumentAsText, getComment, getCreationDate, getFactory, getMainComponent, getMainWindow, getName, getOpenWhenTheUserCreates, getOwner, getProject, getProperties, getPropertiesWindow, getProperty, getTypeName, getWindowLayout, isAvailable, isLocked, isModified, isTemporary, lock, raiseEventCreateWindow, refresh, registerPersistent, setComment, setCreationDate, setModified, setName, setOwner, setProject, setProperty, setStateFromText, setWindowLayout, toString, unlock
dispose, dispose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addPropertyChangeListener, afterAdd, afterRemove, getComment, getCreationDate, getFactory, getMainComponent, getMainWindow, getName, getOpenWhenTheUserCreates, getOwner, getProject, getPropertiesWindow, getTypeName, getWindowLayout, isAvailable, isLocked, isModified, isTemporary, lock, refresh, setComment, setCreationDate, setModified, setName, setOwner, setProject, setWindowLayout, unlock
getProperties, getProperty, setProperty
public static final java.lang.String PERSISTENCE_DEFINITION_NAME
public DefaultLayoutDocument(DocumentManager factory)
public DefaultLayoutDocument()
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractDocument
PersistenceException
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractDocument
PersistenceException
public LayoutContext getLayoutContext()
getLayoutContext
in interface LayoutDocument
public java.util.Iterator deepiterator()
LayoutDocument
deepiterator
in interface LayoutDocument
public java.util.Iterator iterator()
iterator
in interface LayoutDocument
public void setPersistIndependent(boolean b)
setPersistIndependent
in interface LayoutDocument
public boolean isPersistIndependent()
isPersistIndependent
in interface LayoutDocument