L
- the kind of data stored for in this layoutpublic class DockLayout<L>
extends java.lang.Object
DockLayout
describes the contents of one DockElement
. It is
an intermediate format between a DockElement
and the persistent representation
for example a xml-file. DockLayout
s wrap around the data that is created and stored
by DockFactory
s.Constructor and Description |
---|
DockLayout(java.lang.String factory,
L data)
Creates a new layout.
|
Modifier and Type | Method and Description |
---|---|
L |
getData()
Gets the data that is stored in the layout.
|
java.lang.String |
getFactoryID()
Gets the identifier of the factory which created this layout.
|
void |
setData(L data)
Sets the data that is stored in the layout.
|
void |
setFactoryID(java.lang.String id)
Sets the identifier of the factory which created this layout.
|
public DockLayout(java.lang.String factory, L data)
factory
- the factory that created the layout, might be null
data
- the data that is stored in this layout, might be null
public void setFactoryID(java.lang.String id)
id
- the identifier of the factorypublic java.lang.String getFactoryID()
public void setData(L data)
data
- the data, can be null
public L getData()
null