|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.theme.page.Region
A region on a page.
A region wraps one or more portlets to allow them to act as one unit inside the layout of a page.
Field Summary | |
private java.lang.String |
cssId
|
private java.lang.String |
name
|
private RegionOrientation |
orientation
|
private java.util.Map |
properties
|
private boolean |
sorted
|
private java.util.ArrayList |
windows
|
Constructor Summary | |
Region(java.lang.String name)
Create a region with default orientation (how the portlet windows are arranged) and the region name as the css id selector |
|
Region(java.lang.String name,
java.lang.String cssId,
RegionOrientation orientation)
Create a region with the provided properties. |
Method Summary | |
(package private) void |
addWindowContext(WindowContext windowContext)
Add a window to the region |
java.lang.String |
getCssId()
|
java.lang.String |
getId()
|
RegionOrientation |
getOrientation()
|
java.lang.String |
getProperty(java.lang.String name)
|
java.util.List |
getWindows()
Get a list of all window contexts in this region. |
boolean |
isEmpty()
|
void |
setProperty(java.lang.String name,
java.lang.String value)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private final java.lang.String name
private boolean sorted
private final java.util.ArrayList windows
private java.lang.String cssId
private RegionOrientation orientation
private java.util.Map properties
Constructor Detail |
public Region(java.lang.String name)
name
- the name of the region to createpublic Region(java.lang.String name, java.lang.String cssId, RegionOrientation orientation)
name
- the name of the region to createcssId
- the id attribute value that can be used by css selectors to identify this regionorientation
- arrange portlet windows inside this region in this orientationMethod Detail |
public java.lang.String getProperty(java.lang.String name)
public void setProperty(java.lang.String name, java.lang.String value)
public java.lang.String getId()
public java.lang.String getCssId()
public RegionOrientation getOrientation()
public boolean isEmpty()
void addWindowContext(WindowContext windowContext)
windowContext
- the context of the window signaling where the window should go in the regionpublic java.util.List getWindows()
org.jboss.portal.theme.page.WindowContext
itemspublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |