Class BaseHideablePanel
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
com.webmethods.caf.faces.component.panel.BaseHideablePanel
- All Implemented Interfaces:
IHideablePanel
,ILazyHideablePanel
,ITableRowStateHolder
,Serializable
,EventListener
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
- Direct Known Subclasses:
AbstractCompositeViewControl
,LazyHideablePanel
,ModalDialog
,ModelessDialog
,OverlayPanel
,ProgressBar
,ToggleMenus.SecondLevelPanel
Panel that can be toggled between hidden and visible.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Map<UIComponent,
Boolean> protected Boolean
static final String
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
decode
(FacesContext context) void
encodeBegin
(FacesContext context) void
encodeChildren
(FacesContext context) void
encodeEnd
(FacesContext context) Collection ofUIComponent
suppressed inputs.boolean
Collection ofString
control ids on which to disallow update processing while handling asynchorously request.Gets this control's per-row state.boolean
True if component is ancestor or self, false otherwise.boolean
boolean
isLazy()
True if panel loads content asynchronously on demand.boolean
True to refresh content asynchronously every time panel is toggled visible.boolean
True if panel content is rendered asynchronously, even if initially visible.boolean
True if initially visible.void
processDecodes
(FacesContext context) void
processUpdates
(FacesContext context) void
processValidators
(FacesContext context) void
setDisableWhenHidden
(boolean disableWhenHidden) void
setLazy
(boolean lazy) True if panel loads content asynchronously on demand.void
setRefreshOnShow
(boolean refreshOnShow) True to refresh content asynchronously every time panel is toggled visible.void
setSuppressInputs
(Collection<String> suppressInputs) Collection ofString
control ids on which to disallow update processing while handling asynchorously request.void
Sets this control's per-row state.void
setTwoPass
(boolean twoPass) True if panel content is rendered asynchronously, even if initially visible.void
setVisible
(boolean visible) True if initially visible.Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
Field Details
-
TYPE
- See Also:
-
ATTR_CENTER
- See Also:
-
ATTR_DEFAULT_COMMAND
- See Also:
-
ATTR_DEFAULT_FOCUS
- See Also:
-
ATTR_DISABLE_WHEN_HIDDEN
- See Also:
-
ATTR_HIDE_EFFECT
- See Also:
-
ATTR_HIDE_EFFECT_OPTIONS
- See Also:
-
ATTR_OPACITY
- See Also:
-
ATTR_PROGRESS_DELAY
- See Also:
-
ATTR_PROGRESS_FLASH_ON_COMPLETE
- See Also:
-
ATTR_PROGRESS_MSG
- See Also:
-
ATTR_PROGRESS_USE_HIDE_SHOW_EFFECT
- See Also:
-
ATTR_SHOW_EFFECT
- See Also:
-
ATTR_SHOW_EFFECT_OPTIONS
- See Also:
-
m_savedSuppressed
-
m_savedVisible
-
-
Constructor Details
-
BaseHideablePanel
public BaseHideablePanel()
-
-
Method Details
-
getTableRowState
Gets this control's per-row state.- Specified by:
getTableRowState
in interfaceITableRowStateHolder
-
setTableRowState
Sets this control's per-row state.- Specified by:
setTableRowState
in interfaceITableRowStateHolder
-
processDecodes
- Overrides:
processDecodes
in classUIComponentBase
-
processValidators
- Overrides:
processValidators
in classUIComponentBase
-
processUpdates
- Overrides:
processUpdates
in classUIComponentBase
-
decode
- Overrides:
decode
in classUIComponentBase
-
encodeBegin
- Overrides:
encodeBegin
in classUIComponentBase
- Throws:
IOException
-
encodeChildren
- Overrides:
encodeChildren
in classUIComponentBase
- Throws:
IOException
-
encodeEnd
- Overrides:
encodeEnd
in classUIComponentBase
- Throws:
IOException
-
getRendersChildren
public boolean getRendersChildren()- Overrides:
getRendersChildren
in classUIComponentBase
-
findSuppressed
Collection ofUIComponent
suppressed inputs. Never null. -
isAncestorOrSelf
True if component is ancestor or self, false otherwise. Null allowed. -
isVisible
public boolean isVisible()Description copied from interface:IHideablePanel
True if initially visible.- Specified by:
isVisible
in interfaceIHideablePanel
-
setVisible
public void setVisible(boolean visible) Description copied from interface:IHideablePanel
True if initially visible.- Specified by:
setVisible
in interfaceIHideablePanel
-
isLazy
public boolean isLazy()Description copied from interface:ILazyHideablePanel
True if panel loads content asynchronously on demand.- Specified by:
isLazy
in interfaceILazyHideablePanel
-
setLazy
public void setLazy(boolean lazy) Description copied from interface:ILazyHideablePanel
True if panel loads content asynchronously on demand.- Specified by:
setLazy
in interfaceILazyHideablePanel
-
isRefreshOnShow
public boolean isRefreshOnShow()Description copied from interface:ILazyHideablePanel
True to refresh content asynchronously every time panel is toggled visible. Ignored if not lazy.- Specified by:
isRefreshOnShow
in interfaceILazyHideablePanel
-
setRefreshOnShow
public void setRefreshOnShow(boolean refreshOnShow) Description copied from interface:ILazyHideablePanel
True to refresh content asynchronously every time panel is toggled visible. Ignored if not lazy.- Specified by:
setRefreshOnShow
in interfaceILazyHideablePanel
-
isTwoPass
public boolean isTwoPass()Description copied from interface:ILazyHideablePanel
True if panel content is rendered asynchronously, even if initially visible. Ignored if not lazy.- Specified by:
isTwoPass
in interfaceILazyHideablePanel
-
setTwoPass
public void setTwoPass(boolean twoPass) Description copied from interface:ILazyHideablePanel
True if panel content is rendered asynchronously, even if initially visible. Ignored if not lazy.- Specified by:
setTwoPass
in interfaceILazyHideablePanel
-
isDisableWhenHidden
public boolean isDisableWhenHidden() -
setDisableWhenHidden
public void setDisableWhenHidden(boolean disableWhenHidden) -
getSuppressInputs
Description copied from interface:ILazyHideablePanel
Collection ofString
control ids on which to disallow update processing while handling asynchorously request. By default, all controls are allowed.- Specified by:
getSuppressInputs
in interfaceILazyHideablePanel
-
setSuppressInputs
Description copied from interface:ILazyHideablePanel
Collection ofString
control ids on which to disallow update processing while handling asynchorously request. By default, all controls are allowed.- Specified by:
setSuppressInputs
in interfaceILazyHideablePanel
-