| |
|
| com.sun.rave.web.ui.component.SelectorBase com.sun.rave.web.ui.component.Selector com.sun.rave.web.ui.component.ListSelectorBase com.sun.rave.web.ui.component.ListSelector com.sun.rave.web.ui.component.DropDownBase com.sun.rave.web.ui.component.DropDown
DropDown | public class DropDown extends DropDownBase implements ActionSource(Code) | | Component that represents a drop down menu.
|
Method Summary | |
public void | addActionListener(ActionListener listener) | public void | broadcast(FacesEvent event) | public MethodBinding | getAction() | public ActionListener[] | getActionListeners() Return the set of registered
ActionListener s for this
ActionSource instance. | public boolean | getMultiple() | public int | getRows() Getter for property Rows. | public void | processDecodes(FacesContext context) The DropDown needs to override the standard decoding
behaviour since it may also be an action source. | public void | queueEvent(FacesEvent e) | public void | removeActionListener(ActionListener listener) | public void | setMultiple(boolean multiple) | public void | setRows(int DisplayRows) Setter for property Rows. | public void | validate(FacesContext context) |
addActionListener | public void addActionListener(ActionListener listener)(Code) | | Add a new
ActionListener to the set of listeners interested
in being notified when
ActionEvent s occur.
Parameters: listener - The ActionListener to be added exception: NullPointerException - if listener is null |
broadcast | public void broadcast(FacesEvent event) throws AbortProcessingException(Code) | | In addition to to the default
UIComponent.broadcast
processing, pass the
ActionEvent being broadcast to the method
referenced by actionListener (if any), and to the default
ActionListener registered on the
Application .
Parameters: event - FacesEvent to be broadcast exception: AbortProcessingException - Signal the JavaServer Faces implementation that no further processing on the current event should be performed @exception IllegalArgumentException if the implementation classof this FacesEvent is not supported by this component exception: NullPointerException - if event isnull |
getAction | public MethodBinding getAction()(Code) | | |
getActionListeners | public ActionListener[] getActionListeners()(Code) | | Return the set of registered
ActionListener s for this
ActionSource instance. If there are no registered listeners,
a zero-length array is returned.
|
getMultiple | public boolean getMultiple()(Code) | | Getter for property multiple
Value of property multiple |
getRows | public int getRows()(Code) | | Getter for property Rows.
Value of property Rows. |
processDecodes | public void processDecodes(FacesContext context)(Code) | | The DropDown needs to override the standard decoding
behaviour since it may also be an action source. We
decode the component w.r.t. the value first, and
validate it if the component is immediate. Then we
fire an action event.
exception: NullPointerException - |
queueEvent | public void queueEvent(FacesEvent e)(Code) | | Intercept queueEvent and, for
ActionEvent s, mark
the phaseId for the event to be PhaseId.APPLY_REQUEST_VALUES
if the immediate flag is true,
PhaseId.INVOKE_APPLICATION otherwise.
|
removeActionListener | public void removeActionListener(ActionListener listener)(Code) | | Remove an existing
ActionListener (if any) from the set of
listeners interested in being notified when
ActionEvent s
occur.
Parameters: listener - The ActionListener to be removed exception: NullPointerException - if listener is null |
setMultiple | public void setMultiple(boolean multiple)(Code) | | Setter for property multiple
Parameters: multiple - New value of property multiple |
setRows | public void setRows(int DisplayRows)(Code) | | Setter for property Rows.
Parameters: DisplayRows - New value of property DisplayRows. |
validate | public void validate(FacesContext context)(Code) | | |
|
|
|