| com.sun.rave.web.ui.component.ListManager
All known Subclasses: com.sun.rave.web.ui.component.EditableList, com.sun.rave.web.ui.component.OrderableList, com.sun.rave.web.ui.component.ListSelector, com.sun.rave.web.ui.component.AddRemove,
ListManager | public interface ListManager extends EditableValueHolder,SelectorManager,ComplexComponent(Code) | | This interface is used to allow both list components which
allow the user to select from a set of Options (e.g. Listbox,
AddRemove) and list components which allow the user to edit
a list to use the same renderer.
TODO: consider making this a base class instead. There
is code which is shared between Selectors and Editable List,
Orderable List. (getConvertedValue, getValueAsString, ...)
author: avk |
getListItems | public Iterator getListItems(FacesContext context, boolean rulerAtEnd)(Code) | | Get an Iterator of the items to display. The items are of
type com.sun.rave.web.ui.model.list.ListItem and
are an abstraction over different types of actual data
to be used by the renderer
Parameters: rulerAtEnd - If this attribute is set to true, the iterator will contain, as the last item, a disabled list option with a blank label whose sole function is to guarantee that the list stays the same size An Iterator of com.sun.rave.web.ui.model.list.ListItem |
getReadOnlyValueComponent | public UIComponent getReadOnlyValueComponent()(Code) | | Returns a UIComponent used to display the readonly value for this
component
a UIComponent used to display the readonly value for this component |
getRows | public int getRows()(Code) | | Get the number of rows to display (the size of the HTML
select element)
The size of the list |
getToolTip | public String getToolTip()(Code) | | Retrieves the tooltip for the list
A string with the text for the tool tip |
getValueAsStringArray | public String[] getValueAsStringArray(FacesContext context)(Code) | | Get the value of the component as a String array. The array consists
of the converted value of each list item is shown.
Parameters: context - The FacesContext of the request A string representation of the value |
isVisible | public boolean isVisible()(Code) | | |
mainListSubmits | public boolean mainListSubmits()(Code) | | |
|
|