|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.layout.LayoutPresentationContext
com.bea.netuix.servlets.controls.layout.BorderLayoutPresentationContext
public class BorderLayoutPresentationContext
Used to provide location-based access to the PlaceholderPresentationContext
objects contained in a
BorderLayout
portal component, as well as other presentation-related attributes specific to the
BorderLayout
in use. Typically used during portal rendering via look and feel skeleton files
(e.g. borderlayout.jsp).
getBorderLayoutPresentationContext(HttpServletRequest)
Field Summary | |
---|---|
protected static String |
CLASS_NAME
|
Method Summary | |
---|---|
PlaceholderPresentationContext |
center()
Returns the "center" PlaceholderPresentationContext contained within the BorderLayout . |
int |
columns()
Returns the number of columns that this BorderLayout contains. |
PlaceholderPresentationContext |
east()
Returns the "east" PlaceholderPresentationContext contained within the BorderLayout . |
static BorderLayoutPresentationContext |
getBorderLayoutPresentationContext(HttpServletRequest request)
This is a convenience method for returning a reference to the one and only BorderLayoutPresentationContext. |
String |
getLayoutStrategy()
Returns the text of the layoutStrategy attribute that corresponds to this BorderLayout portal component. |
PlaceholderPresentationContext |
north()
Returns the "north" PlaceholderPresentationContext contained within the BorderLayout . |
PlaceholderPresentationContext |
south()
Returns the "south" PlaceholderPresentationContext contained within the BorderLayout . |
PlaceholderPresentationContext |
west()
Returns the "west" PlaceholderPresentationContext contained within the BorderLayout . |
Methods inherited from class com.bea.netuix.servlets.controls.layout.LayoutPresentationContext |
---|
getLayoutPresentationContext, getType |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
---|
getAttributeRenderer, getChildren, getChildren, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getRenderFormat, getResolvedLocale, getTagName, isVisible, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String CLASS_NAME
Method Detail |
---|
public String getLayoutStrategy()
BorderLayout
portal component. Will be either BorderLayout.LAYOUT_BY_ORDER
or BorderLayout.LAYOUT_BY_TITLE
. LAYOUT_BY_ORDER
will arrange the
Placeholder
s in order based on their position in the layout (e.g. the first Placeholder
listed will be "north", the next will be "west", etc.). LAYOUT_BY_TITLE
will arrange the
Placeholder
s based on their title. Placeholders with no title attribute or with a title attribute
whose value is not one of "north", "west", "center", "east", or "south" will be ignored and not rendered. In the
case of multiple placeholders with the same title, only one will be rendered - which one is not defined.
BorderLayout.LAYOUT_BY_ORDER
is returned.BorderLayout#LAYOUT_BY_ORDER
,
BorderLayout#LAYOUT_BY_TITLE
public PlaceholderPresentationContext north()
PlaceholderPresentationContext
contained within the BorderLayout
.
PlaceholderPresentationContext
, if anypublic PlaceholderPresentationContext west()
PlaceholderPresentationContext
contained within the BorderLayout
.
PlaceholderPresentationContext
, if anypublic PlaceholderPresentationContext center()
PlaceholderPresentationContext
contained within the BorderLayout
.
PlaceholderPresentationContext
, if anypublic PlaceholderPresentationContext east()
PlaceholderPresentationContext
contained within the BorderLayout
.
PlaceholderPresentationContext
, if anypublic PlaceholderPresentationContext south()
PlaceholderPresentationContext
contained within the BorderLayout
.
PlaceholderPresentationContext
, if anypublic int columns()
BorderLayout
contains. A BorderLayout
will
have a minimum of 1 column, and a maximum of 3.
BorderLayout
, between 1 and 3public static BorderLayoutPresentationContext getBorderLayoutPresentationContext(HttpServletRequest request)
request
- The current HTTPServletRequest instance
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |