public class BaseHideablePanel extends UIPanel implements ILazyHideablePanel, ITableRowStateHolder
Modifier and Type | Class and Description |
---|---|
protected static class |
BaseHideablePanel.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
ATTR_CENTER |
static String |
ATTR_DEFAULT_COMMAND |
static String |
ATTR_DEFAULT_FOCUS |
static String |
ATTR_DISABLE_WHEN_HIDDEN |
static String |
ATTR_HIDE_EFFECT |
static String |
ATTR_HIDE_EFFECT_OPTIONS |
static String |
ATTR_OPACITY |
static String |
ATTR_PROGRESS_DELAY |
static String |
ATTR_PROGRESS_FLASH_ON_COMPLETE |
static String |
ATTR_PROGRESS_MSG |
static String |
ATTR_PROGRESS_USE_HIDE_SHOW_EFFECT |
static String |
ATTR_SHOW_EFFECT |
static String |
ATTR_SHOW_EFFECT_OPTIONS |
protected Map<UIComponent,Boolean> |
m_savedSuppressed |
protected Boolean |
m_savedVisible |
static String |
TYPE |
COMPONENT_FAMILY, COMPONENT_TYPE
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 and Description |
---|
BaseHideablePanel() |
Modifier and Type | Method and Description |
---|---|
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context) |
void |
encodeChildren(FacesContext context) |
void |
encodeEnd(FacesContext context) |
Collection<UIComponent> |
findSuppressed()
Collection of
UIComponent suppressed inputs. |
boolean |
getRendersChildren() |
Collection<String> |
getSuppressInputs()
Collection of
String control ids on which to disallow update processing
while handling asynchorously request. |
Object |
getTableRowState()
Gets this control's per-row state.
|
boolean |
isAncestorOrSelf(UIComponent c)
True if component is ancestor or self, false otherwise.
|
boolean |
isDisableWhenHidden() |
boolean |
isLazy()
True if panel loads content asynchronously on demand.
|
boolean |
isRefreshOnShow()
True to refresh content asynchronously every time panel is toggled visible.
|
boolean |
isTwoPass()
True if panel content is rendered asynchronously, even if initially visible.
|
boolean |
isVisible()
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 of
String control ids on which to disallow update processing
while handling asynchorously request. |
void |
setTableRowState(Object o)
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.
|
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
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
public static final String TYPE
public static final String ATTR_CENTER
public static final String ATTR_DEFAULT_COMMAND
public static final String ATTR_DEFAULT_FOCUS
public static final String ATTR_DISABLE_WHEN_HIDDEN
public static final String ATTR_HIDE_EFFECT
public static final String ATTR_HIDE_EFFECT_OPTIONS
public static final String ATTR_OPACITY
public static final String ATTR_PROGRESS_DELAY
public static final String ATTR_PROGRESS_FLASH_ON_COMPLETE
public static final String ATTR_PROGRESS_MSG
public static final String ATTR_PROGRESS_USE_HIDE_SHOW_EFFECT
public static final String ATTR_SHOW_EFFECT
public static final String ATTR_SHOW_EFFECT_OPTIONS
protected transient Map<UIComponent,Boolean> m_savedSuppressed
protected transient Boolean m_savedVisible
public Object getTableRowState()
getTableRowState
in interface ITableRowStateHolder
public void setTableRowState(Object o)
setTableRowState
in interface ITableRowStateHolder
public void processDecodes(FacesContext context)
processDecodes
in class UIComponentBase
public void processValidators(FacesContext context)
processValidators
in class UIComponentBase
public void processUpdates(FacesContext context)
processUpdates
in class UIComponentBase
public void decode(FacesContext context)
decode
in class UIComponentBase
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class UIComponentBase
IOException
public boolean getRendersChildren()
getRendersChildren
in class UIComponentBase
public Collection<UIComponent> findSuppressed()
UIComponent
suppressed inputs. Never null.public boolean isAncestorOrSelf(UIComponent c)
public boolean isVisible()
IHideablePanel
isVisible
in interface IHideablePanel
public void setVisible(boolean visible)
IHideablePanel
setVisible
in interface IHideablePanel
public boolean isLazy()
ILazyHideablePanel
isLazy
in interface ILazyHideablePanel
public void setLazy(boolean lazy)
ILazyHideablePanel
setLazy
in interface ILazyHideablePanel
public boolean isRefreshOnShow()
ILazyHideablePanel
isRefreshOnShow
in interface ILazyHideablePanel
public void setRefreshOnShow(boolean refreshOnShow)
ILazyHideablePanel
setRefreshOnShow
in interface ILazyHideablePanel
public boolean isTwoPass()
ILazyHideablePanel
isTwoPass
in interface ILazyHideablePanel
public void setTwoPass(boolean twoPass)
ILazyHideablePanel
setTwoPass
in interface ILazyHideablePanel
public boolean isDisableWhenHidden()
public void setDisableWhenHidden(boolean disableWhenHidden)
public Collection<String> getSuppressInputs()
ILazyHideablePanel
String
control ids on which to disallow update processing
while handling asynchorously request.
By default, all controls are allowed.getSuppressInputs
in interface ILazyHideablePanel
public void setSuppressInputs(Collection<String> suppressInputs)
ILazyHideablePanel
String
control ids on which to disallow update processing
while handling asynchorously request.
By default, all controls are allowed.setSuppressInputs
in interface ILazyHideablePanel