org.apache.myfaces.custom.accordion
Class HtmlAccordionPanel

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.component.html.ext.HtmlPanelGroup
                      extended by org.apache.myfaces.custom.accordion.HtmlAccordionPanel
All Implemented Interfaces:
javax.faces.component.StateHolder, org.apache.myfaces.component.UserRoleAware, org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable

public class HtmlAccordionPanel
extends org.apache.myfaces.component.html.ext.HtmlPanelGroup

Version:
$Revision: $ $Date: $

Author:
Martin Marinschek

Field Summary
static java.lang.String ACCORDION_LAYOUT
           
static java.lang.String BORDER_COLOR
           
static java.lang.String COLLAPSED_BACK_COLOR
           
static java.lang.String COLLAPSED_FONT_WEIGHT
           
static java.lang.String COLLAPSED_TEXT_COLOR
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
static java.lang.String EXPAND_STATEHOLDER_ID
           
static java.lang.String EXPANDED_BACK_COLOR
           
static java.lang.String EXPANDED_FONT_WEIGHT
           
static java.lang.String EXPANDED_TEXT_COLOR
           
static java.lang.String HOVER_BACK_COLOR
           
static java.lang.String HOVER_TEXT_COLOR
           
static java.lang.String TOGGLING_LAYOUT
           
 
Fields inherited from class org.apache.myfaces.component.html.ext.HtmlPanelGroup
BLOCK_LAYOUT, DEFAULT_COLSPAN
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY
 
Fields inherited from interface org.apache.myfaces.component.UserRoleAware
ENABLED_ON_USER_ROLE_ATTR, VISIBLE_ON_USER_ROLE_ATTR
 
Fields inherited from interface org.apache.myfaces.shared_tomahawk.component.DisplayValueOnlyCapable
DISPLAY_VALUE_ONLY_ATTR, DISPLAY_VALUE_ONLY_STYLE_ATTR, DISPLAY_VALUE_ONLY_STYLE_CLASS_ATTR
 
Constructor Summary
HtmlAccordionPanel()
           
 
Method Summary
 java.lang.String getBorderColor()
           
 java.util.List getChildExpanded()
           
 java.lang.String getCollapsedBackColor()
           
 java.lang.String getCollapsedFontWeight()
           
 java.lang.String getCollapsedTextColor()
           
 java.lang.String getExpandedBackColor()
           
 java.lang.String getExpandedFontWeight()
           
 java.lang.String getExpandedTextColor()
           
 java.lang.String getHoverBackColor()
           
 java.lang.String getHoverTextColor()
           
 java.lang.String getLayout()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setBorderColor(java.lang.String borderColor)
           
 void setChildExpanded(java.util.List childExpanded)
           
 void setCollapsedBackColor(java.lang.String collapsedBackColor)
           
 void setCollapsedFontWeight(java.lang.String collapsedFontWeight)
           
 void setCollapsedTextColor(java.lang.String collapsedTextColor)
           
 void setExpandedBackColor(java.lang.String expandedBackColor)
           
 void setExpandedFontWeight(java.lang.String expandedFontWeight)
           
 void setExpandedTextColor(java.lang.String expandedTextColor)
           
 void setHoverBackColor(java.lang.String hoverBackColor)
           
 void setHoverTextColor(java.lang.String hoverTextColor)
           
 void setLayout(java.lang.String layout)
           
 
Methods inherited from class org.apache.myfaces.component.html.ext.HtmlPanelGroup
getClientId, getColspan, getDisplayValueOnlyStyle, getDisplayValueOnlyStyleClass, getEnabledOnUserRole, getVisibleOnUserRole, isDisplayValueOnly, isRendered, isSetDisplayValueOnly, setColspan, setDisplayValueOnly, setDisplayValueOnlyStyle, setDisplayValueOnlyStyleClass, setEnabledOnUserRole, setVisibleOnUserRole
 
Methods inherited from class javax.faces.component.html.HtmlPanelGroup
getStyle, getStyleClass, 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, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, 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

ACCORDION_LAYOUT

public static java.lang.String ACCORDION_LAYOUT

TOGGLING_LAYOUT

public static java.lang.String TOGGLING_LAYOUT

EXPANDED_BACK_COLOR

public static java.lang.String EXPANDED_BACK_COLOR

EXPANDED_TEXT_COLOR

public static java.lang.String EXPANDED_TEXT_COLOR

EXPANDED_FONT_WEIGHT

public static java.lang.String EXPANDED_FONT_WEIGHT

COLLAPSED_BACK_COLOR

public static java.lang.String COLLAPSED_BACK_COLOR

COLLAPSED_TEXT_COLOR

public static java.lang.String COLLAPSED_TEXT_COLOR

COLLAPSED_FONT_WEIGHT

public static java.lang.String COLLAPSED_FONT_WEIGHT

HOVER_BACK_COLOR

public static java.lang.String HOVER_BACK_COLOR

HOVER_TEXT_COLOR

public static java.lang.String HOVER_TEXT_COLOR

BORDER_COLOR

public static java.lang.String BORDER_COLOR

EXPAND_STATEHOLDER_ID

public static java.lang.String EXPAND_STATEHOLDER_ID

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

HtmlAccordionPanel

public HtmlAccordionPanel()
Method Detail

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class org.apache.myfaces.component.html.ext.HtmlPanelGroup

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class org.apache.myfaces.component.html.ext.HtmlPanelGroup

getLayout

public java.lang.String getLayout()
Overrides:
getLayout in class org.apache.myfaces.component.html.ext.HtmlPanelGroup

setLayout

public void setLayout(java.lang.String layout)
Overrides:
setLayout in class org.apache.myfaces.component.html.ext.HtmlPanelGroup

getExpandedBackColor

public java.lang.String getExpandedBackColor()

setExpandedBackColor

public void setExpandedBackColor(java.lang.String expandedBackColor)

getExpandedTextColor

public java.lang.String getExpandedTextColor()

setExpandedTextColor

public void setExpandedTextColor(java.lang.String expandedTextColor)

getExpandedFontWeight

public java.lang.String getExpandedFontWeight()

setExpandedFontWeight

public void setExpandedFontWeight(java.lang.String expandedFontWeight)

getCollapsedBackColor

public java.lang.String getCollapsedBackColor()

setCollapsedBackColor

public void setCollapsedBackColor(java.lang.String collapsedBackColor)

getCollapsedTextColor

public java.lang.String getCollapsedTextColor()

setCollapsedTextColor

public void setCollapsedTextColor(java.lang.String collapsedTextColor)

getCollapsedFontWeight

public java.lang.String getCollapsedFontWeight()

setCollapsedFontWeight

public void setCollapsedFontWeight(java.lang.String collapsedFontWeight)

getHoverBackColor

public java.lang.String getHoverBackColor()

setHoverBackColor

public void setHoverBackColor(java.lang.String hoverBackColor)

getHoverTextColor

public java.lang.String getHoverTextColor()

setHoverTextColor

public void setHoverTextColor(java.lang.String hoverTextColor)

getBorderColor

public java.lang.String getBorderColor()

setBorderColor

public void setBorderColor(java.lang.String borderColor)

getChildExpanded

public java.util.List getChildExpanded()

setChildExpanded

public void setChildExpanded(java.util.List childExpanded)


Copyright © 2009. All Rights Reserved.