|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Parameters and temporary parameters: A parameter is a key-value pair consisting of strings for both key and value. While the parameters are persisted, the temporary parameters have only the life-time of a session.
Method Summary | |
Layout |
copy()
Make a copy of this layout object and of all it's children. |
String |
getId()
Get the unique id of this object. |
String |
getLayoutRendererName()
Get the name of a custom Renderer for this layout. |
String |
getName()
The name given from the factory. |
String |
getParameter(String key)
Return the parameter value for the given key. |
Map |
getParameters()
Get parameters map. |
Item |
getParent()
|
String |
getRendererName()
Get the name of the Renderer to draw this layout.
|
String |
getTemporaryParameter(String key)
Return the temporary parameter value for the given key. |
Map |
getTemporaryParameters()
Get the temporary parameters map. |
void |
initialize(String name,
String id)
Initialize the object. |
void |
setDescription(LayoutDescription description)
Set the layout description. |
void |
setParameter(String key,
String value)
Set the parameter to a value. |
void |
setParent(Item item)
|
void |
setTemporaryParameter(String key,
String value)
Set the temporary parameter to a value. |
Method Detail |
public String getName()
public String getId()
public void setDescription(LayoutDescription description)
public void initialize(String name, String id)
public Map getParameters()
public String getParameter(String key)
key
- The name of the parameter.
public void setParameter(String key, String value)
key
- The name of the parameter.value
- The value.public Map getTemporaryParameters()
public String getTemporaryParameter(String key)
key
- The name of the parameter.
public void setTemporaryParameter(String key, String value)
key
- The name of the parameter.value
- The value.public String getRendererName()
Renderer
to draw this layout.
If this layout has an own renderer getLayoutRendererName()
return this, otherwise the default renderer is returned.
public String getLayoutRendererName()
Renderer
for this layout.
public Item getParent()
public void setParent(Item item)
public Layout copy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |