public class DefaultLayoutDocument extends AbstractDocument implements LayoutDocument
Modifier and Type | Field and Description |
---|---|
static String |
PERSISTENCE_DEFINITION_NAME |
change
ACCESS_DOCUMENT_AUTHORIZATION
Constructor and Description |
---|
DefaultLayoutDocument() |
DefaultLayoutDocument(DocumentManager factory) |
Modifier and Type | Method and Description |
---|---|
Iterator |
deepiterator()
Get an Iterator over al elements in the layout.
|
LayoutContext |
getLayoutContext() |
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.
|
addListener, addPropertyChangeListener, afterAdd, afterRemove, callCreateWindow, exportDocumentAsText, getComment, getCreationDate, getFactory, getMainComponent, getMainWindow, getName, getOwner, getProject, getPropertiesWindow, getTypeName, getWindowLayout, isAvailable, isLocked, isModified, isTemporary, lock, raiseEventCreateWindow, registerPersistent, setComment, setCreationDate, setModified, setName, setOwner, setProject, setStateFromText, setWindowLayout, toString, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addPropertyChangeListener, afterAdd, afterRemove, getComment, getCreationDate, getFactory, getMainComponent, getMainWindow, getName, getOwner, getProject, getPropertiesWindow, getTypeName, getWindowLayout, isAvailable, isLocked, isModified, isTemporary, lock, setComment, setCreationDate, setModified, setName, setOwner, setProject, setWindowLayout, unlock
public static final 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 Iterator deepiterator()
LayoutDocument
deepiterator
in interface LayoutDocument
public Iterator iterator()
iterator
in interface LayoutDocument