public class UIXShowDetail extends UIXComponentBase
Type | Phases | Description |
---|---|---|
org.apache.myfaces.trinidad.event.DisclosureEvent |
Apply Request Values Invoke Application |
The disclosure event is delivered when a node is disclosed. |
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static PropertyKey |
DISCLOSED_KEY |
static PropertyKey |
DISCLOSED_TRANSIENT_KEY |
static PropertyKey |
DISCLOSURE_LISTENER_KEY |
static PropertyKey |
IMMEDIATE_KEY |
static FacesBean.Type |
TYPE |
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
Modifier | Constructor and Description |
---|---|
|
UIXShowDetail()
Construct an instance of the UIXShowDetail.
|
protected |
UIXShowDetail(String rendererType)
Construct an instance of the UIXShowDetail.
|
Modifier and Type | Method and Description |
---|---|
void |
addDisclosureListener(DisclosureListener listener)
Adds a disclosure listener.
|
void |
broadcast(javax.faces.event.FacesEvent event) |
protected FacesBean.Type |
getBeanType() |
javax.el.MethodExpression |
getDisclosureListener()
Gets a method reference to a disclosure listener
|
DisclosureListener[] |
getDisclosureListeners()
Returns an array of attached disclosure listeners.
|
String |
getFamily() |
boolean |
isDisclosed()
Gets whether or not to disclose the children
|
boolean |
isDisclosedTransient()
Gets stops the local value of disclosed from being set
by renderers.
|
boolean |
isImmediate()
Gets whether data validation - client-side or
server-side - should be skipped when
events are generated by this component.
|
void |
processDecodes(javax.faces.context.FacesContext context) |
void |
processUpdates(javax.faces.context.FacesContext context) |
void |
processValidators(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent e) |
void |
removeDisclosureListener(DisclosureListener listener)
Removes a disclosure listener.
|
void |
setDisclosed(boolean disclosed)
Sets whether or not to disclose the children
|
void |
setDisclosedTransient(boolean disclosedTransient)
Sets stops the local value of disclosed from being set
by renderers.
|
void |
setDisclosureListener(javax.faces.el.MethodBinding binding)
Deprecated.
|
void |
setDisclosureListener(javax.el.MethodExpression disclosureListener)
Sets a method reference to a disclosure listener
|
void |
setImmediate(boolean immediate)
Sets whether data validation - client-side or
server-side - should be skipped when
events are generated by this component.
|
protected boolean |
visitChildren(VisitContext visitContext,
VisitCallback callback)
Hook for subclasses to override the manner in which the component's children are visited.
|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addFacesListener, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeAttributeChangeListener, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl
addPartialTarget, clearCachedClientIds, clearCachedClientIds, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setupChildrenVisitingContext, setupEncodingContext, setUpEncodingContext, setupVisitingContext, tearDownChildrenVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree
public static final FacesBean.Type TYPE
public static final PropertyKey DISCLOSED_KEY
public static final PropertyKey DISCLOSED_TRANSIENT_KEY
public static final PropertyKey IMMEDIATE_KEY
public static final PropertyKey DISCLOSURE_LISTENER_KEY
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public UIXShowDetail()
protected UIXShowDetail(String rendererType)
@Deprecated public void setDisclosureListener(javax.faces.el.MethodBinding binding)
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class UIXComponentBase
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class UIXComponentBase
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class UIXComponentBase
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class UIXComponentBase
javax.faces.event.AbortProcessingException
public void queueEvent(javax.faces.event.FacesEvent e)
queueEvent
in class UIXComponentBase
protected boolean visitChildren(VisitContext visitContext, VisitCallback callback)
UIXComponent
setupChildrenVisitingContext
will have been called before this method is
invoked and tearDownChildrenVisitingContext
will be called after.
respectively. If the purpose of this visit was to encode the component and the
component uses a CoreRenderer, the CoreRenderer's
setupChildrenEncodingContext
and tearDownChildrenEncodingContext
will be called before and after this method is invoked, respectively.visitChildren
in class UIXComponent
visitContext
- the VisitContext
for this visitcallback
- the VisitCallback
instancetrue
if the visit is complete.UIXComponent.setupChildrenVisitingContext(javax.faces.context.FacesContext)
,
UIXComponent.tearDownChildrenVisitingContext(javax.faces.context.FacesContext)
,
CoreRenderer.setupChildrenEncodingContext(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.context.RenderingContext, javax.faces.component.UIComponent)
,
CoreRenderer.tearDownChildrenEncodingContext(javax.faces.context.FacesContext, org.apache.myfaces.trinidad.context.RenderingContext, javax.faces.component.UIComponent)
public final boolean isDisclosed()
public final void setDisclosed(boolean disclosed)
disclosed
- the new disclosed valuepublic final boolean isDisclosedTransient()
public final void setDisclosedTransient(boolean disclosedTransient)
disclosedTransient
- the new disclosedTransient valuepublic final boolean isImmediate()
public final void setImmediate(boolean immediate)
immediate
- the new immediate valuepublic final javax.el.MethodExpression getDisclosureListener()
public final void setDisclosureListener(javax.el.MethodExpression disclosureListener)
disclosureListener
- the new disclosureListener valuepublic final void addDisclosureListener(DisclosureListener listener)
listener
- the disclosure listener to addpublic final void removeDisclosureListener(DisclosureListener listener)
listener
- the disclosure listener to removepublic final DisclosureListener[] getDisclosureListeners()
public String getFamily()
getFamily
in class UIXComponentBase
protected FacesBean.Type getBeanType()
getBeanType
in class UIXComponentBase
Copyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.