当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
WindowContext - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.theme.page
Class WindowContext
java.lang.Object
org.jboss.portal.theme.page.WindowContext
- All Implemented Interfaces:
- java.lang.Comparable, MarkupContainer, java.io.Serializable
- public final class WindowContext
- extends java.lang.Object
- implements MarkupContainer, java.lang.Comparable, java.io.Serializable
A WindowContext represents a portlet window on a page in the scope of one request.
It allows the layout strategy for instance, to change the position of the window on the page (region, order) without
persising the change. The change will only be valid for the term of the current request.
This context implements the Comparable
interface to allow natural sorting of the windows in one
region, based on their order.
- See Also:
- Serialized Form
Constructor Summary |
WindowContext(java.lang.String windowName,
java.lang.String windowID,
java.lang.String regionName,
int order)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
WindowContext
public WindowContext(java.lang.String windowName,
java.lang.String windowID,
java.lang.String regionName,
int order)
copy
public static WindowContext copy(WindowContext template)
getWindowName
public java.lang.String getWindowName()
getId
public java.lang.String getId()
- Specified by:
getId
in interface MarkupContainer
getRegionName
public java.lang.String getRegionName()
setRegionName
public void setRegionName(java.lang.String regionName)
getOrder
public int getOrder()
setOrder
public void setOrder(int order)
isVisible
public boolean isVisible()
setVisible
public void setVisible(boolean visible)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toString
public java.lang.String toString()