L
- the kind of data stored for in this layoutpublic class DockLayout<L> extends 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(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.
|
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(String id)
Sets the identifier of the factory which created this layout.
|
public void setFactoryID(String id)
id
- the identifier of the factorypublic String getFactoryID()
public void setData(L data)
data
- the data, can be null
public L getData()
null