|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.ControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.window.WindowPresentationContext
This class represents a portal window component. All presentation-related attributes of a window component are available from instances of this class. Such instances are typically used during portal rendering via look and feel skeleton files (e.g. window.jsp).
getWindowPresentationContext(javax.servlet.http.HttpServletRequest)
,
Serialized FormMethod Summary | |
String |
getContentPresentationClass()
Returns this window's content presentationClass attribute. |
List |
getContentPresentationContextChildren()
Returns a list of PresentationContext children within this window's content area. |
String |
getContentPresentationStyle()
Returns this window's content presentationStyle attribute. |
String |
getDefinitionId()
The definition id for the window. |
String |
getDefinitionLabel()
The definition label for the window. |
String |
getInstanceId()
Returns the instance id for the window. |
abstract String |
getLabel()
Returns a general label for the window. |
String |
getOrientation()
Returns the orientation of the window's navigation/titlebar. |
PagePresentationContext |
getParentPagePresentationContext()
If this window is a child of a page, that page's PagePresentationContext is returned. |
WindowMode |
getPreviousWindowMode()
Returns the previous mode of the window, which may be from the standard set or an extended mode. |
String |
getTitle()
Returns the display title for the window, which may be localized if a proper localizable value can be resolved. |
WindowMode |
getWindowMode()
Returns the current mode of the window, which may be from the standard set or an extended mode. |
static WindowPresentationContext |
getWindowPresentationContext(HttpServletRequest request)
This is a convenience method for returning a reference to the current WindowPresentationContext .
|
WindowState |
getWindowState()
Returns the current state of the window, which may be from the following fixed set: normal, minimized, maximized. |
boolean |
isCapable(Capability capability)
Returns true if this control has the specified capability. |
boolean |
isPacked()
Returns whether or not the window should be rendered such that it occupies a minimal space as required by its contents (packed), or tries to expand to the maximum size of its containing layout cell. |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
getChildren, getChildren, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getResolvedLocale, getTagName, isVisible, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public WindowMode getWindowMode()
WindowMode
public WindowMode getPreviousWindowMode()
WindowMode
public WindowState getWindowState()
WindowState
public String getTitle()
public String getInstanceId()
public String getDefinitionId()
public String getOrientation()
public boolean isPacked()
public String getDefinitionLabel()
public abstract String getLabel()
public List getContentPresentationContextChildren()
PresentationContext
children within this window's content area.
public PagePresentationContext getParentPagePresentationContext()
PagePresentationContext
is returned.
public static WindowPresentationContext getWindowPresentationContext(HttpServletRequest request)
WindowPresentationContext
.
Note this method will only work if called from within a portal (typically, from the window.jsp skeleton).
This method may return null if called when no appropriate context exists, but such a context should safely
exist when being fetched from the associated skeleton JSP during normal portal rendering.
request
- The current HTTPServletRequest instance
public String getContentPresentationClass()
getPresentationClass
public String getContentPresentationStyle()
getPresentationStyle
public boolean isCapable(Capability capability)
true
if this control has the specified capability.
capability
- A window mode or stateWindowCapabilities
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |