org.apache.myfaces.custom.layout
Class AbstractHtmlPanelLayout

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by javax.faces.component.html.HtmlPanelGroup
                  extended by org.apache.myfaces.custom.layout.AbstractHtmlPanelLayout
All Implemented Interfaces:
javax.faces.component.StateHolder, AlignProperty, DataProperties, EventAware, PanelProperties, UniversalProperties

public abstract class AbstractHtmlPanelLayout
extends javax.faces.component.html.HtmlPanelGroup
implements AlignProperty, UniversalProperties, EventAware, DataProperties, PanelProperties

Determines where its children are positioned within the page relative to each other, similar to a Swing layout component. Unless otherwise specified, all attributes accept static values or EL expressions.

Since:
1.1.7
Version:
$Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (Wed, 03 Sep 2008) $
Author:
Manfred Geiler (latest modification by $Author: lu4242 $)

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Constructor Summary
AbstractHtmlPanelLayout()
           
 
Method Summary
 javax.faces.component.UIComponent getBody()
           
abstract  String getBodyClass()
          CSS class to be used for the table cell.
abstract  String getBodyStyle()
          CSS class to be used for the table cell.
 javax.faces.component.UIComponent getFooter()
           
abstract  String getFooterClass()
          The CSS class to be applied to footer cells.
abstract  String getFooterStyle()
          CSS class to be used for the table cell.
 javax.faces.component.UIComponent getHeader()
           
abstract  String getHeaderClass()
          The CSS class to be applied to header cells.
abstract  String getHeaderStyle()
          CSS class to be used for the table cell.
abstract  String getLayout()
           layout | header | navigation | body | footer =================|========|============|=======|======== classic (Default)| top | left | right | bottom navigationRight | top | right | left | bottom upsideDown | bottom | left | right | top
 javax.faces.component.UIComponent getNavigation()
           
abstract  String getNavigationClass()
          CSS class to be used for the table cell.
abstract  String getNavigationStyle()
          CSS class to be used for the table cell.
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getStyle, getStyleClass, restoreState, saveState, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIPanel
getFamily
 
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
 
Methods inherited from interface org.apache.myfaces.component.AlignProperty
getAlign
 
Methods inherited from interface org.apache.myfaces.component.UniversalProperties
getDir, getLang, getTitle
 
Methods inherited from interface org.apache.myfaces.component.EventAware
getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup
 
Methods inherited from interface org.apache.myfaces.component.DataProperties
getDatafld, getDataformatas, getDatasrc
 
Methods inherited from interface org.apache.myfaces.component.PanelProperties
getBgcolor, getBorder, getCellpadding, getCellspacing, getFrame, getRules, getSummary, getWidth
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

AbstractHtmlPanelLayout

public AbstractHtmlPanelLayout()
Method Detail

getHeader

public javax.faces.component.UIComponent getHeader()

getNavigation

public javax.faces.component.UIComponent getNavigation()

getBody

public javax.faces.component.UIComponent getBody()

getFooter

public javax.faces.component.UIComponent getFooter()

getFooterClass

public abstract String getFooterClass()
The CSS class to be applied to footer cells.


getHeaderClass

public abstract String getHeaderClass()
The CSS class to be applied to header cells.


getLayout

public abstract String getLayout()
 layout           | header | navigation | body  | footer
 =================|========|============|=======|========
 classic (Default)| top    | left       | right | bottom
 navigationRight  | top    | right      | left  | bottom
 upsideDown       | bottom | left       | right | top
 


getNavigationClass

public abstract String getNavigationClass()
CSS class to be used for the table cell.


getBodyClass

public abstract String getBodyClass()
CSS class to be used for the table cell.


getHeaderStyle

public abstract String getHeaderStyle()
CSS class to be used for the table cell.


getNavigationStyle

public abstract String getNavigationStyle()
CSS class to be used for the table cell.


getBodyStyle

public abstract String getBodyStyle()
CSS class to be used for the table cell.


getFooterStyle

public abstract String getFooterStyle()
CSS class to be used for the table cell.



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.