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:
java.util.EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, 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 java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
HtmlPanelLayout()
           
 
Method Summary
 java.lang.String getAlign()
          HTML: Specifies the horizontal alignment of this element.
 java.lang.String getBgcolor()
          HTML: The background color of this element.
 java.lang.String getBodyClass()
          CSS class to be used for the table cell.
 java.lang.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.
 java.lang.String getCellpadding()
          HTML: Specifies the amount of empty space between the cell border and its contents.
 java.lang.String getCellspacing()
          HTML: Specifies the amount of space between the cells of the table.
 java.lang.String getDatafld()
          Reserved for future use.
 java.lang.String getDataformatas()
          Reserved for future use.
 java.lang.String getDatasrc()
          Reserved for future use.
 java.lang.String getDir()
          HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
 java.util.Collection<java.lang.String> getEventNames()
           
 java.lang.String getFamily()
           
 java.lang.String getFooterClass()
          The CSS class to be applied to footer cells.
 java.lang.String getFooterStyle()
          CSS class to be used for the table cell.
 java.lang.String getFrame()
          HTML: Controls what part of the frame that surrounds a table is visible.
 java.lang.String getHeaderClass()
          The CSS class to be applied to header cells.
 java.lang.String getHeaderStyle()
          CSS class to be used for the table cell.
 java.lang.String getLang()
          HTML: The base language of this document.
 java.lang.String getLayout()
           layout | header | navigation | body | footer =================|========|============|=======|======== classic (Default)| top | left | right | bottom navigationRight | top | right | left | bottom upsideDown | bottom | left | right | top
 java.lang.String getNavigationClass()
          CSS class to be used for the table cell.
 java.lang.String getNavigationStyle()
          CSS class to be used for the table cell.
 java.lang.String getOnclick()
          HTML: Script to be invoked when the element is clicked.
 java.lang.String getOndblclick()
          HTML: Script to be invoked when the element is double-clicked.
 java.lang.String getOnkeydown()
          HTML: Script to be invoked when a key is pressed down over this element.
 java.lang.String getOnkeypress()
          HTML: Script to be invoked when a key is pressed over this element.
 java.lang.String getOnkeyup()
          HTML: Script to be invoked when a key is released over this element.
 java.lang.String getOnmousedown()
          HTML: Script to be invoked when the pointing device is pressed over this element.
 java.lang.String getOnmousemove()
          HTML: Script to be invoked when the pointing device is moved while it is in this element.
 java.lang.String getOnmouseout()
          HTML: Script to be invoked when the pointing device is moves out of this element.
 java.lang.String getOnmouseover()
          HTML: Script to be invoked when the pointing device is moved into this element.
 java.lang.String getOnmouseup()
          HTML: Script to be invoked when the pointing device is released over this element.
 java.lang.String getRules()
          HTML: Controls how rules are rendered between cells.
 java.lang.String getSummary()
          HTML: Provides a summary of the contents of the table, for accessibility purposes.
 java.lang.String getTitle()
          HTML: An advisory title for this element.
 java.lang.String getWidth()
          HTML: Specifies the desired width of the table, as a pixel length or a percentage of available space.
 void setAlign(java.lang.String align)
           
 void setBgcolor(java.lang.String bgcolor)
           
 void setBodyClass(java.lang.String bodyClass)
           
 void setBodyStyle(java.lang.String bodyStyle)
           
 void setBorder(int border)
           
 void setCellpadding(java.lang.String cellpadding)
           
 void setCellspacing(java.lang.String cellspacing)
           
 void setDatafld(java.lang.String datafld)
           
 void setDataformatas(java.lang.String dataformatas)
           
 void setDatasrc(java.lang.String datasrc)
           
 void setDir(java.lang.String dir)
           
 void setFooterClass(java.lang.String footerClass)
           
 void setFooterStyle(java.lang.String footerStyle)
           
 void setFrame(java.lang.String frame)
           
 void setHeaderClass(java.lang.String headerClass)
           
 void setHeaderStyle(java.lang.String headerStyle)
           
 void setLang(java.lang.String lang)
           
 void setLayout(java.lang.String layout)
           
 void setNavigationClass(java.lang.String navigationClass)
           
 void setNavigationStyle(java.lang.String navigationStyle)
           
 void setOnclick(java.lang.String onclick)
           
 void setOndblclick(java.lang.String ondblclick)
           
 void setOnkeydown(java.lang.String onkeydown)
           
 void setOnkeypress(java.lang.String onkeypress)
           
 void setOnkeyup(java.lang.String onkeyup)
           
 void setOnmousedown(java.lang.String onmousedown)
           
 void setOnmousemove(java.lang.String onmousemove)
           
 void setOnmouseout(java.lang.String onmouseout)
           
 void setOnmouseover(java.lang.String onmouseover)
           
 void setOnmouseup(java.lang.String onmouseup)
           
 void setRules(java.lang.String rules)
           
 void setSummary(java.lang.String summary)
           
 void setTitle(java.lang.String title)
           
 void setWidth(java.lang.String width)
           
 
Methods inherited from class org.apache.myfaces.custom.layout.AbstractHtmlPanelLayout
getBody, getFooter, getHeader, getNavigation
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getStyle, getStyleClass, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, 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, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, 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
addClientBehavior, getClientBehaviors, getDefaultEventName
 

Field Detail

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

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

HtmlPanelLayout

public HtmlPanelLayout()
Method Detail

getFamily

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

getEventNames

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

getFooterClass

public java.lang.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(java.lang.String footerClass)

getHeaderClass

public java.lang.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(java.lang.String headerClass)

getLayout

public java.lang.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(java.lang.String layout)
Overrides:
setLayout in class javax.faces.component.html.HtmlPanelGroup

getNavigationClass

public java.lang.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(java.lang.String navigationClass)

getBodyClass

public java.lang.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(java.lang.String bodyClass)

getHeaderStyle

public java.lang.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(java.lang.String headerStyle)

getNavigationStyle

public java.lang.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(java.lang.String navigationStyle)

getBodyStyle

public java.lang.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(java.lang.String bodyStyle)

getFooterStyle

public java.lang.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(java.lang.String footerStyle)

getOnclick

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


setOnclick

public void setOnclick(java.lang.String onclick)

getOndblclick

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


setOndblclick

public void setOndblclick(java.lang.String ondblclick)

getOnkeydown

public java.lang.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(java.lang.String onkeydown)

getOnkeypress

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


setOnkeypress

public void setOnkeypress(java.lang.String onkeypress)

getOnkeyup

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


setOnkeyup

public void setOnkeyup(java.lang.String onkeyup)

getOnmousedown

public java.lang.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(java.lang.String onmousedown)

getOnmousemove

public java.lang.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(java.lang.String onmousemove)

getOnmouseout

public java.lang.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(java.lang.String onmouseout)

getOnmouseover

public java.lang.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(java.lang.String onmouseover)

getOnmouseup

public java.lang.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(java.lang.String onmouseup)

getDir

public java.lang.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(java.lang.String dir)

getLang

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


setLang

public void setLang(java.lang.String lang)

getTitle

public java.lang.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(java.lang.String title)

getDatafld

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


setDatafld

public void setDatafld(java.lang.String datafld)

getDatasrc

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


setDatasrc

public void setDatasrc(java.lang.String datasrc)

getDataformatas

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


setDataformatas

public void setDataformatas(java.lang.String dataformatas)

getBgcolor

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


setBgcolor

public void setBgcolor(java.lang.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 java.lang.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(java.lang.String cellpadding)

getCellspacing

public java.lang.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(java.lang.String cellspacing)

getFrame

public java.lang.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(java.lang.String frame)

getRules

public java.lang.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(java.lang.String rules)

getSummary

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


setSummary

public void setSummary(java.lang.String summary)

getWidth

public java.lang.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(java.lang.String width)

getAlign

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


setAlign

public void setAlign(java.lang.String align)


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