org.apache.myfaces.custom.layout
Class HtmlPanelLayout

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
                      extended by org.apache.myfaces.custom.layout.HtmlPanelLayout
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, AlignProperty, DataProperties, EventAware, PanelProperties, UniversalProperties

public class HtmlPanelLayout
extends AbstractHtmlPanelLayout


Nested Class Summary
protected static class HtmlPanelLayout.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
HtmlPanelLayout()
           
 
Method Summary
 void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
           
 String getAlign()
          HTML: Specifies the horizontal alignment of this element.
 String getBgcolor()
          HTML: The background color of this element.
 String getBodyClass()
          CSS class to be used for the table cell.
 String getBodyStyle()
          CSS class to be used for the table cell.
 int getBorder()
          HTML: Specifies the width of the border of this element, in pixels.
 String getCellpadding()
          HTML: Specifies the amount of empty space between the cell border and its contents.
 String getCellspacing()
          HTML: Specifies the amount of space between the cells of the table.
 String getDatafld()
          Reserved for future use.
 String getDataformatas()
          Reserved for future use.
 String getDatasrc()
          Reserved for future use.
 String getDir()
          HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
 Collection<String> getEventNames()
           
 String getFamily()
           
 String getFooterClass()
          The CSS class to be applied to footer cells.
 String getFooterStyle()
          CSS class to be used for the table cell.
 String getFrame()
          HTML: Controls what part of the frame that surrounds a table is visible.
 String getHeaderClass()
          The CSS class to be applied to header cells.
 String getHeaderStyle()
          CSS class to be used for the table cell.
 String getLang()
          HTML: The base language of this document.
 String getLayout()
           layout | header | navigation | body | footer =================|========|============|=======|======== classic (Default)| top | left | right | bottom navigationRight | top | right | left | bottom upsideDown | bottom | left | right | top
 String getNavigationClass()
          CSS class to be used for the table cell.
 String getNavigationStyle()
          CSS class to be used for the table cell.
 String getOnclick()
          HTML: Script to be invoked when the element is clicked.
 String getOndblclick()
          HTML: Script to be invoked when the element is double-clicked.
 String getOnkeydown()
          HTML: Script to be invoked when a key is pressed down over this element.
 String getOnkeypress()
          HTML: Script to be invoked when a key is pressed over this element.
 String getOnkeyup()
          HTML: Script to be invoked when a key is released over this element.
 String getOnmousedown()
          HTML: Script to be invoked when the pointing device is pressed over this element.
 String getOnmousemove()
          HTML: Script to be invoked when the pointing device is moved while it is in this element.
 String getOnmouseout()
          HTML: Script to be invoked when the pointing device is moves out of this element.
 String getOnmouseover()
          HTML: Script to be invoked when the pointing device is moved into this element.
 String getOnmouseup()
          HTML: Script to be invoked when the pointing device is released over this element.
 String getRules()
          HTML: Controls how rules are rendered between cells.
 String getStyle()
           
 String getStyleClass()
           
 String getSummary()
          HTML: Provides a summary of the contents of the table, for accessibility purposes.
 String getTitle()
          HTML: An advisory title for this element.
 String getWidth()
          HTML: Specifies the desired width of the table, as a pixel length or a percentage of available space.
 void setAlign(String align)
           
 void setBgcolor(String bgcolor)
           
 void setBodyClass(String bodyClass)
           
 void setBodyStyle(String bodyStyle)
           
 void setBorder(int border)
           
 void setCellpadding(String cellpadding)
           
 void setCellspacing(String cellspacing)
           
 void setDatafld(String datafld)
           
 void setDataformatas(String dataformatas)
           
 void setDatasrc(String datasrc)
           
 void setDir(String dir)
           
 void setFooterClass(String footerClass)
           
 void setFooterStyle(String footerStyle)
           
 void setFrame(String frame)
           
 void setHeaderClass(String headerClass)
           
 void setHeaderStyle(String headerStyle)
           
 void setLang(String lang)
           
 void setLayout(String layout)
           
 void setNavigationClass(String navigationClass)
           
 void setNavigationStyle(String navigationStyle)
           
 void setOnclick(String onclick)
           
 void setOndblclick(String ondblclick)
           
 void setOnkeydown(String onkeydown)
           
 void setOnkeypress(String onkeypress)
           
 void setOnkeyup(String onkeyup)
           
 void setOnmousedown(String onmousedown)
           
 void setOnmousemove(String onmousemove)
           
 void setOnmouseout(String onmouseout)
           
 void setOnmouseover(String onmouseover)
           
 void setOnmouseup(String onmouseup)
           
 void setRules(String rules)
           
 void setStyle(String style)
           
 void setStyleClass(String styleClass)
           
 void setSummary(String summary)
           
 void setTitle(String title)
           
 void setValueBinding(String name, javax.faces.el.ValueBinding binding)
           
 void setValueExpression(String name, javax.el.ValueExpression expression)
           
 void setWidth(String width)
           
 
Methods inherited from class org.apache.myfaces.custom.layout.AbstractHtmlPanelLayout
getBody, getFooter, getHeader, getNavigation
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
getClientBehaviors, getDefaultEventName
 

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

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

HtmlPanelLayout

public HtmlPanelLayout()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.html.HtmlPanelGroup

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class javax.faces.component.UIComponentBase

addClientBehavior

public void addClientBehavior(String eventName,
                              javax.faces.component.behavior.ClientBehavior behavior)
Specified by:
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
addClientBehavior in class javax.faces.component.UIComponentBase

getFooterClass

public String getFooterClass()
Description copied from class: AbstractHtmlPanelLayout
The CSS class to be applied to footer cells.

Specified by:
getFooterClass in class AbstractHtmlPanelLayout

setFooterClass

public void setFooterClass(String footerClass)

getHeaderClass

public String getHeaderClass()
Description copied from class: AbstractHtmlPanelLayout
The CSS class to be applied to header cells.

Specified by:
getHeaderClass in class AbstractHtmlPanelLayout

setHeaderClass

public void setHeaderClass(String headerClass)

getLayout

public String getLayout()
Description copied from class: AbstractHtmlPanelLayout
 layout           | header | navigation | body  | footer
 =================|========|============|=======|========
 classic (Default)| top    | left       | right | bottom
 navigationRight  | top    | right      | left  | bottom
 upsideDown       | bottom | left       | right | top
 

Specified by:
getLayout in class AbstractHtmlPanelLayout

setLayout

public void setLayout(String layout)
Overrides:
setLayout in class javax.faces.component.html.HtmlPanelGroup

getNavigationClass

public String getNavigationClass()
Description copied from class: AbstractHtmlPanelLayout
CSS class to be used for the table cell.

Specified by:
getNavigationClass in class AbstractHtmlPanelLayout

setNavigationClass

public void setNavigationClass(String navigationClass)

getBodyClass

public String getBodyClass()
Description copied from class: AbstractHtmlPanelLayout
CSS class to be used for the table cell.

Specified by:
getBodyClass in class AbstractHtmlPanelLayout

setBodyClass

public void setBodyClass(String bodyClass)

getHeaderStyle

public String getHeaderStyle()
Description copied from class: AbstractHtmlPanelLayout
CSS class to be used for the table cell.

Specified by:
getHeaderStyle in class AbstractHtmlPanelLayout

setHeaderStyle

public void setHeaderStyle(String headerStyle)

getNavigationStyle

public String getNavigationStyle()
Description copied from class: AbstractHtmlPanelLayout
CSS class to be used for the table cell.

Specified by:
getNavigationStyle in class AbstractHtmlPanelLayout

setNavigationStyle

public void setNavigationStyle(String navigationStyle)

getBodyStyle

public String getBodyStyle()
Description copied from class: AbstractHtmlPanelLayout
CSS class to be used for the table cell.

Specified by:
getBodyStyle in class AbstractHtmlPanelLayout

setBodyStyle

public void setBodyStyle(String bodyStyle)

getFooterStyle

public String getFooterStyle()
Description copied from class: AbstractHtmlPanelLayout
CSS class to be used for the table cell.

Specified by:
getFooterStyle in class AbstractHtmlPanelLayout

setFooterStyle

public void setFooterStyle(String footerStyle)

getOnclick

public String getOnclick()
Description copied from interface: EventAware
HTML: Script to be invoked when the element is clicked.


setOnclick

public void setOnclick(String onclick)

getOndblclick

public String getOndblclick()
Description copied from interface: EventAware
HTML: Script to be invoked when the element is double-clicked.


setOndblclick

public void setOndblclick(String ondblclick)

getOnkeydown

public String getOnkeydown()
Description copied from interface: EventAware
HTML: Script to be invoked when a key is pressed down over this element.


setOnkeydown

public void setOnkeydown(String onkeydown)

getOnkeypress

public String getOnkeypress()
Description copied from interface: EventAware
HTML: Script to be invoked when a key is pressed over this element.


setOnkeypress

public void setOnkeypress(String onkeypress)

getOnkeyup

public String getOnkeyup()
Description copied from interface: EventAware
HTML: Script to be invoked when a key is released over this element.


setOnkeyup

public void setOnkeyup(String onkeyup)

getOnmousedown

public String getOnmousedown()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is pressed over this element.


setOnmousedown

public void setOnmousedown(String onmousedown)

getOnmousemove

public String getOnmousemove()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is moved while it is in this element.


setOnmousemove

public void setOnmousemove(String onmousemove)

getOnmouseout

public String getOnmouseout()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is moves out of this element.


setOnmouseout

public void setOnmouseout(String onmouseout)

getOnmouseover

public String getOnmouseover()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is moved into this element.


setOnmouseover

public void setOnmouseover(String onmouseover)

getOnmouseup

public String getOnmouseup()
Description copied from interface: EventAware
HTML: Script to be invoked when the pointing device is released over this element.


setOnmouseup

public void setOnmouseup(String onmouseup)

getDir

public String getDir()
Description copied from interface: UniversalProperties
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).


setDir

public void setDir(String dir)

getLang

public String getLang()
Description copied from interface: UniversalProperties
HTML: The base language of this document.


setLang

public void setLang(String lang)

getTitle

public String getTitle()
Description copied from interface: UniversalProperties
HTML: An advisory title for this element. Often used by the user agent as a tooltip.


setTitle

public void setTitle(String title)

getDatafld

public String getDatafld()
Description copied from interface: DataProperties
Reserved for future use.


setDatafld

public void setDatafld(String datafld)

getDatasrc

public String getDatasrc()
Description copied from interface: DataProperties
Reserved for future use.


setDatasrc

public void setDatasrc(String datasrc)

getDataformatas

public String getDataformatas()
Description copied from interface: DataProperties
Reserved for future use.


setDataformatas

public void setDataformatas(String dataformatas)

getBgcolor

public String getBgcolor()
Description copied from interface: PanelProperties
HTML: The background color of this element.


setBgcolor

public void setBgcolor(String bgcolor)

getBorder

public int getBorder()
Description copied from interface: PanelProperties
HTML: Specifies the width of the border of this element, in pixels. Deprecated in HTML 4.01.


setBorder

public void setBorder(int border)

getCellpadding

public String getCellpadding()
Description copied from interface: PanelProperties
HTML: Specifies the amount of empty space between the cell border and its contents. It can be either a pixel length or a percentage.


setCellpadding

public void setCellpadding(String cellpadding)

getCellspacing

public String getCellspacing()
Description copied from interface: PanelProperties
HTML: Specifies the amount of space between the cells of the table. It can be either a pixel length or a percentage of available space.


setCellspacing

public void setCellspacing(String cellspacing)

getFrame

public String getFrame()
Description copied from interface: PanelProperties
HTML: Controls what part of the frame that surrounds a table is visible. Values include: void, above, below, hsides, lhs, rhs, vsides, box, and border.


setFrame

public void setFrame(String frame)

getRules

public String getRules()
Description copied from interface: PanelProperties
HTML: Controls how rules are rendered between cells. Values include: none, groups, rows, cols, and all.


setRules

public void setRules(String rules)

getSummary

public String getSummary()
Description copied from interface: PanelProperties
HTML: Provides a summary of the contents of the table, for accessibility purposes.


setSummary

public void setSummary(String summary)

getWidth

public String getWidth()
Description copied from interface: PanelProperties
HTML: Specifies the desired width of the table, as a pixel length or a percentage of available space.


setWidth

public void setWidth(String width)

getAlign

public String getAlign()
Description copied from interface: AlignProperty
HTML: Specifies the horizontal alignment of this element. Deprecated in HTML 4.01.


setAlign

public void setAlign(String align)

getStyle

public String getStyle()
Overrides:
getStyle in class javax.faces.component.html.HtmlPanelGroup

setStyle

public void setStyle(String style)
Overrides:
setStyle in class javax.faces.component.html.HtmlPanelGroup

getStyleClass

public String getStyleClass()
Overrides:
getStyleClass in class javax.faces.component.html.HtmlPanelGroup

setStyleClass

public void setStyleClass(String styleClass)
Overrides:
setStyleClass in class javax.faces.component.html.HtmlPanelGroup

setValueBinding

public void setValueBinding(String name,
                            javax.faces.el.ValueBinding binding)
Overrides:
setValueBinding in class javax.faces.component.html.HtmlPanelGroup

setValueExpression

public void setValueExpression(String name,
                               javax.el.ValueExpression expression)
Overrides:
setValueExpression in class javax.faces.component.html.HtmlPanelGroup


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