|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXValue
org.apache.myfaces.trinidad.component.UIXEditableValue
org.apache.myfaces.trinidad.component.UIXSelectInput
public class UIXSelectInput
selectInput is a base abstraction for components that allow both input and selection from a list of possible values.
| Type | Phases | Description |
|---|---|---|
javax.faces.event.ActionEvent |
Apply Request Values | Event delivered when the "action" of the component has been invoked; for example, by clicking on a button. The action may result in page navigation. |
org.apache.myfaces.trinidad.event.ReturnEvent |
Apply Request Values | Event delivered when the dialog has completed successfully. |
javax.faces.event.ValueChangeEvent |
Process Validations Apply Request Values |
The valueChange event is delivered when the value attribute is changed. |
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. |
| Field Summary | |
|---|---|
static PropertyKey |
ACTION_EXPRESSION_KEY
|
static PropertyKey |
ACTION_LISTENER_KEY
|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static PropertyKey |
RETURN_LISTENER_KEY
|
static FacesBean.Type |
TYPE
|
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXEditableValue |
|---|
CONVERSION_MESSAGE_ID, IMMEDIATE_KEY, LOCAL_VALUE_SET_KEY, REQUIRED_KEY, REQUIRED_MESSAGE_DETAIL_KEY, REQUIRED_MESSAGE_ID, SUBMITTED_VALUE_KEY, VALID_KEY, VALIDATOR_KEY, VALIDATORS_KEY, VALUE_CHANGE_LISTENER_KEY |
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXValue |
|---|
CONVERTER_KEY, VALUE_KEY |
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
|
UIXSelectInput()
Construct an instance of the UIXSelectInput. |
protected |
UIXSelectInput(String rendererType)
Construct an instance of the UIXSelectInput. |
| Method Summary | |
|---|---|
void |
addActionListener(ActionListener listener)
Adds a action listener. |
void |
addReturnListener(ReturnListener listener)
Adds a return listener. |
void |
broadcast(FacesEvent event)
In addition to to the default UIComponent.broadcast(javax.faces.event.FacesEvent)
processing, pass the ValueChangeEvent being broadcast to the
method referenced by valueChangeListener (if any). |
MethodBinding |
getAction()
|
MethodExpression |
getActionExpression()
Gets a reference to an action method sent by the commandButton, or the static outcome of an action |
MethodBinding |
getActionListener()
Gets a method reference to an action listener |
ActionListener[] |
getActionListeners()
Returns an array of attached action listeners. |
protected FacesBean.Type |
getBeanType()
|
String |
getFamily()
|
MethodExpression |
getReturnListener()
Gets a method reference to an return listener |
ReturnListener[] |
getReturnListeners()
Returns an array of attached return listeners. |
void |
queueEvent(FacesEvent e)
Intercept queueEvent and mark the phaseId for any
ActionEvents to be PhaseId.APPLY_REQUEST_VALUES. |
void |
removeActionListener(ActionListener listener)
Removes a action listener. |
void |
removeReturnListener(ReturnListener listener)
Removes a return listener. |
void |
setAction(MethodBinding binding)
|
void |
setActionExpression(MethodExpression actionExpression)
Sets a reference to an action method sent by the commandButton, or the static outcome of an action |
void |
setActionListener(MethodBinding actionListener)
Sets a method reference to an action listener |
void |
setReturnListener(MethodBinding binding)
Deprecated. |
void |
setReturnListener(MethodExpression returnListener)
Sets a method reference to an return listener |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXEditableValue |
|---|
addValidator, addValueChangeListener, compareValues, getConvertedValue, getRequiredMessageDetail, getRequiredMessageKey, getSubmittedValue, getValidator, getValidators, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, setImmediate, setLocalValueSet, setRequired, setRequiredMessageDetail, setSubmittedValue, setValid, setValidator, setValueChangeListener, updateModel, validate, validateValue |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXValue |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.faces.component.ActionSource |
|---|
isImmediate, setImmediate |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Field Detail |
|---|
public static final FacesBean.Type TYPE
public static final PropertyKey ACTION_EXPRESSION_KEY
public static final PropertyKey ACTION_LISTENER_KEY
public static final PropertyKey RETURN_LISTENER_KEY
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
| Constructor Detail |
|---|
public UIXSelectInput()
protected UIXSelectInput(String rendererType)
| Method Detail |
|---|
@Deprecated public void setReturnListener(MethodBinding binding)
public MethodBinding getAction()
getAction in interface ActionSourcepublic void setAction(MethodBinding binding)
setAction in interface ActionSourcepublic void queueEvent(FacesEvent e)
Intercept queueEvent and mark the phaseId for any
ActionEvents to be PhaseId.APPLY_REQUEST_VALUES.
queueEvent in class UIXComponentBase
public void broadcast(FacesEvent event)
throws AbortProcessingException
UIComponent.broadcast(javax.faces.event.FacesEvent)
processing, pass the ValueChangeEvent being broadcast to the
method referenced by valueChangeListener (if any).
broadcast in class UIXEditableValueevent - FacesEvent to be broadcast
AbortProcessingException - Signal the JavaServer Faces
implementation that no further processing on the current event
should be performedpublic final MethodExpression getActionExpression()
getActionExpression in interface ActionSource2public final void setActionExpression(MethodExpression actionExpression)
setActionExpression in interface ActionSource2actionExpression - the new actionExpression valuepublic final MethodBinding getActionListener()
getActionListener in interface ActionSourcepublic final void setActionListener(MethodBinding actionListener)
setActionListener in interface ActionSourceactionListener - the new actionListener valuepublic final MethodExpression getReturnListener()
public final void setReturnListener(MethodExpression returnListener)
returnListener - the new returnListener valuepublic final void addActionListener(ActionListener listener)
addActionListener in interface ActionSourcelistener - the action listener to addpublic final void removeActionListener(ActionListener listener)
removeActionListener in interface ActionSourcelistener - the action listener to removepublic final ActionListener[] getActionListeners()
getActionListeners in interface ActionSourcepublic final void addReturnListener(ReturnListener listener)
listener - the return listener to addpublic final void removeReturnListener(ReturnListener listener)
listener - the return listener to removepublic final ReturnListener[] getReturnListeners()
public String getFamily()
getFamily in class UIXEditableValueprotected FacesBean.Type getBeanType()
getBeanType in class UIXEditableValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||