org.openfaces.component.panel
Class FoldingPanel
java.lang.Object
UIPanel
org.openfaces.component.OUIPanel
org.openfaces.component.panel.AbstractPanelWithCaption
org.openfaces.component.panel.FoldingPanel
- All Implemented Interfaces:
- ComponentWithCaption, CompoundComponent, EditableStateHolder, OUIComponent
public class FoldingPanel
- extends AbstractPanelWithCaption
- implements CompoundComponent, EditableStateHolder
The FoldingPanel component is a container for other components that can be expanded
and collapsed by the user. The component supports different folding directions to reveal
its content and provides various options to customize its appearance. Plus, there are
several ways to control the content loading (using Ajax).
Methods inherited from class org.openfaces.component.panel.AbstractPanelWithCaption |
getCaption, getCaptionClass, getCaptionFacet, getCaptionStyle, getContentClass, getContentStyle, setCaption, setCaptionClass, setCaptionFacet, setCaptionStyle, setContentClass, setContentStyle |
Methods inherited from class org.openfaces.component.OUIPanel |
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 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 |
COMPONENT_TYPE
public static final java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
FoldingPanel
public FoldingPanel()
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily
in class OUIPanel
setFocusable
public void setFocusable(boolean focusable)
isFocusable
public boolean isFocusable()
getFocusedStyle
public java.lang.String getFocusedStyle()
setFocusedStyle
public void setFocusedStyle(java.lang.String focusedStyle)
getFocusedClass
public java.lang.String getFocusedClass()
setFocusedClass
public void setFocusedClass(java.lang.String focusedClass)
getFocusedCaptionStyle
public java.lang.String getFocusedCaptionStyle()
setFocusedCaptionStyle
public void setFocusedCaptionStyle(java.lang.String focusedCaptionStyle)
getFocusedCaptionClass
public java.lang.String getFocusedCaptionClass()
setFocusedCaptionClass
public void setFocusedCaptionClass(java.lang.String focusedCaptionClass)
getFocusedContentStyle
public java.lang.String getFocusedContentStyle()
setFocusedContentStyle
public void setFocusedContentStyle(java.lang.String focusedContentStyle)
getFocusedContentClass
public java.lang.String getFocusedContentClass()
setFocusedContentClass
public void setFocusedContentClass(java.lang.String focusedContentClass)
isExpanded
public boolean isExpanded()
setExpanded
public void setExpanded(boolean expanded)
getOnstatechange
public java.lang.String getOnstatechange()
setOnstatechange
public void setOnstatechange(java.lang.String onstatechange)
getFoldingDirection
public FoldingDirection getFoldingDirection()
setFoldingDirection
public void setFoldingDirection(FoldingDirection foldingDirection)
addStateChangeListener
public void addStateChangeListener(StateChangeListener listener)
getStateChangeListeners
public StateChangeListener[] getStateChangeListeners()
removeStateChangeListener
public void removeStateChangeListener(StateChangeListener listener)
getLoadingMode
public LoadingMode getLoadingMode()
setLoadingMode
public void setLoadingMode(LoadingMode loadingMode)
saveState
public java.lang.Object saveState(FacesContext context)
- Overrides:
saveState
in class AbstractPanelWithCaption
restoreState
public void restoreState(FacesContext context,
java.lang.Object object)
- Overrides:
restoreState
in class AbstractPanelWithCaption
processRestoreState
public void processRestoreState(FacesContext context,
java.lang.Object state)
processDecodes
public void processDecodes(FacesContext context)
processValidators
public void processValidators(FacesContext context)
processUpdates
public void processUpdates(FacesContext context)
createSubComponents
public void createSubComponents(FacesContext context)
- Specified by:
createSubComponents
in interface CompoundComponent
getSubmittedValue
public java.lang.Object getSubmittedValue()
- Specified by:
getSubmittedValue
in interface EditableStateHolder
- Returns:
- the object that carries the editable state of the component. This editable state value is automatically
handled by the iteration components and shouldn't be used directly by application code.
setSubmittedValue
public void setSubmittedValue(java.lang.Object value)
- Description copied from interface:
EditableStateHolder
- Sets the editable state value for this component. This method is invoked by the iteration components to restore
the value that was previously received with getValue method. This method shouldn't be used directly by
application code.
- Specified by:
setSubmittedValue
in interface EditableStateHolder
getLocalValue
public java.lang.Object getLocalValue()
isLocalValueSet
public boolean isLocalValueSet()
setLocalValueSet
public void setLocalValueSet(boolean localValueSet)
isValid
public boolean isValid()
setValid
public void setValid(boolean valid)
isRequired
public boolean isRequired()
setRequired
public void setRequired(boolean required)
isImmediate
public boolean isImmediate()
setImmediate
public void setImmediate(boolean immediate)
getValidator
public MethodBinding getValidator()
setValidator
public void setValidator(MethodBinding validatorBinding)
getValueChangeListener
public MethodBinding getValueChangeListener()
setValueChangeListener
public void setValueChangeListener(MethodBinding valueChangeMethod)
addValidator
public void addValidator(Validator validator)
getValidators
public Validator[] getValidators()
removeValidator
public void removeValidator(Validator validator)
addValueChangeListener
public void addValueChangeListener(ValueChangeListener listener)
getValueChangeListeners
public ValueChangeListener[] getValueChangeListeners()
removeValueChangeListener
public void removeValueChangeListener(ValueChangeListener listener)
getValue
public java.lang.Object getValue()
setValue
public void setValue(java.lang.Object value)
getConverter
public Converter getConverter()
setConverter
public void setConverter(Converter converter)
Copyright © 1998-2009 TeamDev Ltd. All Rights Reserved.