com.bea.netuix.servlets.controls.window
Class WindowPresentationContext
java.lang.Object
|
+--com.bea.netuix.servlets.controls.ControlContext
|
+--com.bea.netuix.servlets.controls.PresentationContext
|
+--com.bea.netuix.servlets.controls.window.WindowPresentationContext
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- PagePresentationContext, PortletPresentationContext
- public abstract class WindowPresentationContext
- extends PresentationContext
- See Also:
- Serialized Form
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
getChildren, getChildren, getControlState, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getResolvedLocale, getTagName, isVisible, render, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowPresentationContext
protected WindowPresentationContext(Window window)
getWindowMode
public WindowMode getWindowMode()
getWindowState
public WindowState getWindowState()
getTitle
public String getTitle()
getInstanceId
public String getInstanceId()
getDefinitionId
public String getDefinitionId()
getOrientation
public String getOrientation()
isPacked
public boolean isPacked()
getDefinitionLabel
public String getDefinitionLabel()
getLabel
public abstract String getLabel()
getContentPresentationContextChildren
public List getContentPresentationContextChildren()
getParentPagePresentationContext
public PagePresentationContext getParentPagePresentationContext()
getWindowPresentationContext
public static WindowPresentationContext getWindowPresentationContext(HttpServletRequest request)
- Returns the
WindowPresentationContext
that is in the request.
- Parameters:
request
- The request from which to fetch the context
- Returns:
- The context instance
getContentPresentationClass
public String getContentPresentationClass()
- Get the content's
div class
attribute value. This class value will only effect the content
of the window.
- Returns:
- class attribute value
getContentPresentationStyle
public String getContentPresentationStyle()
Get the content's div style
attribute value. This value will only effect the content of the window.
example: height:200px;overflow:auto;
- Returns:
- style attribute value.
isCapable
public boolean isCapable(Capability capability)
Returns true
if this control has the given
capability.
- Parameters:
capability
- - window mode or state- See Also:
WindowCapabilities
Copyright © 2003 BEA Systems, Inc. All Rights Reserved