Example usage for Java com.vaadin.v7.ui OptionGroup fields, constructors, methods, implement or subclass
The text is from its open source code.
OptionGroup() | |
OptionGroup(String caption) | |
OptionGroup(String caption, Collection> options) | |
OptionGroup(String caption, Container dataSource) |
Item | addItem(Object itemId) Create a new item into container. |
void | addItems(Object... itemId) Adds given items with given item ids to container. |
Object | getValue() Gets the selected item id or in multiselect mode a set of selected ids. |
boolean | removeItem(Object itemId) |
void | removeStyleName(String style) Removes one or more style names from component. |
void | select(Object itemId) Selects an item. |
void | setCaption(String caption) Sets the caption of the component. |
void | setEnabled(boolean enabled) Enables or disables the component. |
void | setItemCaption(Object itemId, String caption) Override the caption of an item. |
void | setMultiSelect(boolean multiSelect) Sets the multiselect mode. |
void | setValue(Object newValue) Sets the visible value of the property. |
void | setVisible(boolean visible) Sets the visibility of the component. |
void | setWidth(float width, Unit unit) Sets the width of the object. |
void | setWidthUndefined() Clears any defined width. |
int | size() Gets the number of items in the container. |