|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.netuix.servlets.controls.ControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.layout.LayoutPresentationContext
com.bea.netuix.servlets.controls.layout.GridLayoutPresentationContext
public class GridLayoutPresentationContext
Used to provide access to presentation-related attributes specific to the GridLayout
in use. Typically used during portal rendering via look and feel skeleton files (e.g. gridlayout.jsp).
getGridLayoutPresentationContext(javax.servlet.http.HttpServletRequest)
, Serialized FormField Summary | |
---|---|
protected static String |
CLASS_NAME |
static int |
DEFAULT_GRID_COLUMNS |
Method Summary | |
---|---|
int |
getColumns() Returns the value of the columns attribute that corresponds to this GridLayout portal component. |
static GridLayoutPresentationContext |
getGridLayoutPresentationContext(javax.servlet.http.HttpServletRequest request) This is a convenience method for returning a reference to the one and only GridLayoutPresentationContext. |
PlaceholderPresentationContext[][] |
getPlaceholderGrid() This method arranges the placeholder context children of this layout into an n-by-m grid, ready for rendering. |
String |
getProperty(String key) Get a property of the underlying component. |
int |
getRows() Returns the value of the rows attribute that corresponds to this GridLayout portal component. |
boolean |
isRowMajor() Row-major orientation is defined by specifying the number of columns to use when horizontally wrapping layout placeholders. |
Methods inherited from class com.bea.netuix.servlets.controls.layout.LayoutPresentationContext |
---|
getLayoutPresentationContext, getPlaceholders, getType |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
---|
addCookie, addDateHeader, addHeader, addIntHeader, getAttributeRenderer, getChildren, getChildren, getFirstChild, getOrderedChildren, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getPropertyAsBoolean, getPropertyAsInt, getRenderFormat, getResolvedLocale, getTagName, isVisible, setCharacterEncoding, setContentType, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_GRID_COLUMNS
protected static final String CLASS_NAME
Method Detail |
---|
public int getColumns()
GridLayout
portal component. The columns is used to specify how many columns a GridLayout
will contain.public int getRows()
GridLayout
portal component. The rows value is used to specify how many rows a GridLayout
will contain.public boolean isRowMajor()
getColumns
is greater than zero.getColumns
is greater than zero (thus defining a row major layout).public PlaceholderPresentationContext[][] getPlaceholderGrid()
The grid layout logic is as follows:
public static GridLayoutPresentationContext getGridLayoutPresentationContext(javax.servlet.http.HttpServletRequest request)
request
- The current HTTPServletRequest instancepublic String getProperty(String key)
PresentationContext
key
argument should not be null.getProperty
in class PresentationContext
key
- The property key
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.