| com.sun.rave.web.ui.component.SelectorBase com.sun.rave.web.ui.component.Selector com.sun.rave.web.ui.component.ListSelectorBase
All known Subclasses: com.sun.rave.web.ui.component.ListSelector,
ListSelectorBase | abstract public class ListSelectorBase extends com.sun.rave.web.ui.component.Selector (Code) | | Base component for UI components that allow the user to make a
selection from a list of options using an HTML select element.
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|
Method Summary | |
public String | getFamily() Return the identifier of the component family to which this
component belongs. | public int | getRows() The number of items to display. | public boolean | isLabelOnTop() If this attribute is true, the label is rendered above the
component. | public boolean | isSeparators() Flag indicating that items corresponding to
com.sun.rave.web.ui.model.Option that are defined
inside a com.sun.rave.web.ui.model.OptionGroup should be
surrounded by separators inside the list. | public boolean | isVisible() Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. | public void | restoreState(FacesContext _context, Object _state) | public Object | saveState(FacesContext _context) | public void | setLabelOnTop(boolean labelOnTop) If this attribute is true, the label is rendered above the
component. | public void | setRows(int rows) The number of items to display. | public void | setSeparators(boolean separators) Flag indicating that items corresponding to
com.sun.rave.web.ui.model.Option that are defined
inside a com.sun.rave.web.ui.model.OptionGroup should be
surrounded by separators inside the list. | public void | setVisible(boolean visible) Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. |
ListSelectorBase | public ListSelectorBase()(Code) | | Construct a new ListSelectorBase .
|
getFamily | public String getFamily()(Code) | | Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType property, may be used to select
the appropriate
Renderer for this component instance.
|
getRows | public int getRows()(Code) | | The number of items to display. The default value is 12.
|
isLabelOnTop | public boolean isLabelOnTop()(Code) | | If this attribute is true, the label is rendered above the
component. If it is false, the label is rendered next to the
component. The default is false.
|
isSeparators | public boolean isSeparators()(Code) | | Flag indicating that items corresponding to
com.sun.rave.web.ui.model.Option that are defined
inside a com.sun.rave.web.ui.model.OptionGroup should be
surrounded by separators inside the list. The default value is
true. If false, no separators are shown. To manually specify the
location of separators, set this flag to false and place
instances of com.sun.rave.web.ui.model.Separator between
the relevant com.sun.rave.web.ui.model.Option instances
when specifying the items attribute.
|
isVisible | public boolean isVisible()(Code) | | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
|
restoreState | public void restoreState(FacesContext _context, Object _state)(Code) | | Restore the state of this component.
|
saveState | public Object saveState(FacesContext _context)(Code) | | Save the state of this component.
|
setLabelOnTop | public void setLabelOnTop(boolean labelOnTop)(Code) | | If this attribute is true, the label is rendered above the
component. If it is false, the label is rendered next to the
component. The default is false.
See Also: ListSelectorBase.isLabelOnTop() |
setSeparators | public void setSeparators(boolean separators)(Code) | | Flag indicating that items corresponding to
com.sun.rave.web.ui.model.Option that are defined
inside a com.sun.rave.web.ui.model.OptionGroup should be
surrounded by separators inside the list. The default value is
true. If false, no separators are shown. To manually specify the
location of separators, set this flag to false and place
instances of com.sun.rave.web.ui.model.Separator between
the relevant com.sun.rave.web.ui.model.Option instances
when specifying the items attribute.
See Also: ListSelectorBase.isSeparators() |
setVisible | public void setVisible(boolean visible)(Code) | | Use the visible attribute to indicate whether the component should be
viewable by the user in the rendered HTML page. If set to false, the
HTML code for the component is present in the page, but the component
is hidden with style attributes. By default, visible is set to true, so
HTML for the component HTML is included and visible to the user. If the
component is not visible, it can still be processed on subsequent form
submissions because the HTML is present.
See Also: ListSelectorBase.isVisible() |
|
|