com.sun.rave.web.ui.component
Class PanelLayout

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended bycom.sun.rave.web.ui.component.PanelLayoutBase
              extended bycom.sun.rave.web.ui.component.PanelLayout
All Implemented Interfaces:
javax.faces.component.StateHolder

public class PanelLayout
extends PanelLayoutBase

A panel component for laying out other components in flow mode, or using absolute positioning.

Author:
gjmurphy

Field Summary
static java.lang.String FLOW_LAYOUT
          Keyword that indicates flow layout.
static java.lang.String GRID_LAYOUT
          Keyword that indicates grid layout or absolute positioning.
 
Constructor Summary
PanelLayout()
          Creates a new instance of PanelLayout.
 
Method Summary
 java.lang.String getPanelLayout()
          Use absolute grid positioning, or flow layout
 void setPanelLayout(java.lang.String panelLayout)
          Set the layout mode for this panel, to either "grid" or "flow".
 
Methods inherited from class com.sun.rave.web.ui.component.PanelLayoutBase
getFamily, getStyle, getStyleClass, isVisible, restoreState, saveState, setStyle, setStyleClass, setVisible
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLOW_LAYOUT

public static final java.lang.String FLOW_LAYOUT
Keyword that indicates flow layout.

See Also:
Constant Field Values

GRID_LAYOUT

public static final java.lang.String GRID_LAYOUT
Keyword that indicates grid layout or absolute positioning.

See Also:
Constant Field Values
Constructor Detail

PanelLayout

public PanelLayout()
Creates a new instance of PanelLayout.

Method Detail

setPanelLayout

public void setPanelLayout(java.lang.String panelLayout)
Set the layout mode for this panel, to either "grid" or "flow". The default value is "grid". Setting this property to an unrecognized value will cause it to reset to the default value.

Overrides:
setPanelLayout in class PanelLayoutBase
See Also:
PanelLayoutBase.getPanelLayout()

getPanelLayout

public java.lang.String getPanelLayout()
Description copied from class: PanelLayoutBase

Use absolute grid positioning, or flow layout

Overrides:
getPanelLayout in class PanelLayoutBase