© 2003 BEA Systems, Inc.

com.bea.netuix.servlets.controls.layout
Class GridLayoutPresentationContext

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
All Implemented Interfaces:
Serializable

public class GridLayoutPresentationContext
extends LayoutPresentationContext

See Also:
Serialized Form

Field Summary
static int DEFAULT_GRID_COLUMNS
           
 
Fields inherited from class com.bea.netuix.servlets.controls.ControlContext
debug
 
Constructor Summary
protected GridLayoutPresentationContext(Layout layout)
           
 
Method Summary
 int getColumns()
           
static GridLayoutPresentationContext getGridLayoutPresentationContext(HttpServletRequest request)
           
 PlaceholderPresentationContext[][] getPlaceholderGrid()
          This method arranges the placeholder context children of this layout into an n-by-m grid, ready for rendering.
 int getRows()
           
 boolean isRowMajor()
           
 
Methods inherited from class com.bea.netuix.servlets.controls.layout.LayoutPresentationContext
getLayoutPresentationContext, getType
 
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 com.bea.netuix.servlets.controls.ControlContext
getContextFromRequest, getContextKey, getControl, getRequestKey, getUniqueId, removeContextFromRequest, setContextInRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_GRID_COLUMNS

public static final int DEFAULT_GRID_COLUMNS
See Also:
Constant Field Values
Constructor Detail

GridLayoutPresentationContext

protected GridLayoutPresentationContext(Layout layout)
Method Detail

getColumns

public int getColumns()

getRows

public int getRows()

isRowMajor

public boolean isRowMajor()

getPlaceholderGrid

public PlaceholderPresentationContext[][] getPlaceholderGrid()
This method arranges the placeholder context children of this layout into an n-by-m grid, ready for rendering.

The grid layout logic is as follows:


getGridLayoutPresentationContext

public static GridLayoutPresentationContext getGridLayoutPresentationContext(HttpServletRequest request)

© 2003 BEA Systems, Inc.

Copyright © 2003 BEA Systems, Inc. All Rights Reserved