org.openfaces.component.panel
Class AbstractPanelWithCaption

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIPanel
              extended by org.openfaces.component.OUIPanel
                  extended by org.openfaces.component.panel.AbstractPanelWithCaption
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, ComponentWithCaption, OUIComponent
Direct Known Subclasses:
FoldingPanel, SidePanel, SubPanel

public abstract class AbstractPanelWithCaption
extends OUIPanel
implements ComponentWithCaption


Field Summary
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
AbstractPanelWithCaption()
           
 
Method Summary
 java.lang.String getCaption()
           
 java.lang.String getCaptionClass()
           
 javax.faces.component.UIComponent getCaptionFacet()
           
 java.lang.String getCaptionStyle()
           
 java.lang.String getContentClass()
           
 java.lang.String getContentStyle()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object object)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setCaption(java.lang.String caption)
           
 void setCaptionClass(java.lang.String captionClass)
           
 void setCaptionFacet(javax.faces.component.UIComponent component)
           
 void setCaptionStyle(java.lang.String captionStyle)
           
 void setContentClass(java.lang.String contentClass)
           
 void setContentStyle(java.lang.String contentStyle)
           
 
Methods inherited from class org.openfaces.component.OUIPanel
getFamily, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRolloverClass, getRolloverStyle, getStyle, getStyleClass, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRolloverClass, setRolloverStyle, setStyle, setStyleClass
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getValueExpression, initialStateMarked, isCompositeComponent, isInView, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openfaces.component.OUIComponent
getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRolloverClass, getRolloverStyle, getStyle, getStyleClass, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRolloverClass, setRolloverStyle, setStyle, setStyleClass
 

Constructor Detail

AbstractPanelWithCaption

public AbstractPanelWithCaption()
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 OUIPanel

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object object)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class OUIPanel

getCaption

public java.lang.String getCaption()
Specified by:
getCaption in interface ComponentWithCaption

setCaption

public void setCaption(java.lang.String caption)
Specified by:
setCaption in interface ComponentWithCaption

getCaptionFacet

public javax.faces.component.UIComponent getCaptionFacet()
Specified by:
getCaptionFacet in interface ComponentWithCaption

setCaptionFacet

public void setCaptionFacet(javax.faces.component.UIComponent component)
Specified by:
setCaptionFacet in interface ComponentWithCaption

getCaptionStyle

public java.lang.String getCaptionStyle()
Specified by:
getCaptionStyle in interface ComponentWithCaption

setCaptionStyle

public void setCaptionStyle(java.lang.String captionStyle)
Specified by:
setCaptionStyle in interface ComponentWithCaption

getCaptionClass

public java.lang.String getCaptionClass()
Specified by:
getCaptionClass in interface ComponentWithCaption

setCaptionClass

public void setCaptionClass(java.lang.String captionClass)
Specified by:
setCaptionClass in interface ComponentWithCaption

getContentStyle

public java.lang.String getContentStyle()

setContentStyle

public void setContentStyle(java.lang.String contentStyle)

getContentClass

public java.lang.String getContentClass()

setContentClass

public void setContentClass(java.lang.String contentClass)


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.