|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itmill.toolkit.ui.AbstractComponent
com.itmill.toolkit.ui.AbstractField
com.itmill.toolkit.ui.AbstractSelect
com.itmill.toolkit.ui.TwinColSelect
public class TwinColSelect
Multiselect component with two lists: left side for available items and right side for selected items.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.itmill.toolkit.ui.AbstractSelect |
---|
AbstractSelect.CaptionChangeListener, AbstractSelect.DefaultNewItemHandler, AbstractSelect.Filtering, AbstractSelect.NewItemHandler |
Nested classes/interfaces inherited from class com.itmill.toolkit.ui.AbstractField |
---|
AbstractField.ReadOnlyStatusChangeEvent |
Nested classes/interfaces inherited from class com.itmill.toolkit.ui.AbstractComponent |
---|
AbstractComponent.ComponentErrorEvent, AbstractComponent.ComponentErrorHandler |
Nested classes/interfaces inherited from interface com.itmill.toolkit.data.Container |
---|
Container.Editor, Container.Filterable, Container.Hierarchical, Container.Indexed, Container.ItemSetChangeListener, Container.ItemSetChangeNotifier, Container.Ordered, Container.PropertySetChangeListener, Container.PropertySetChangeNotifier, Container.Sortable, Container.Viewer |
Nested classes/interfaces inherited from interface com.itmill.toolkit.ui.Field |
---|
Field.ValueChangeEvent |
Nested classes/interfaces inherited from interface com.itmill.toolkit.data.Buffered |
---|
Buffered.SourceException |
Nested classes/interfaces inherited from interface com.itmill.toolkit.data.Property |
---|
Property.ConversionException, Property.Editor, Property.ReadOnlyException, Property.ReadOnlyStatusChangeListener, Property.ReadOnlyStatusChangeNotifier, Property.ValueChangeListener, Property.ValueChangeNotifier, Property.Viewer |
Field Summary |
---|
Fields inherited from class com.itmill.toolkit.ui.AbstractSelect |
---|
ITEM_CAPTION_MODE_EXPLICIT, ITEM_CAPTION_MODE_EXPLICIT_DEFAULTS_ID, ITEM_CAPTION_MODE_ICON_ONLY, ITEM_CAPTION_MODE_ID, ITEM_CAPTION_MODE_INDEX, ITEM_CAPTION_MODE_ITEM, ITEM_CAPTION_MODE_PROPERTY, itemIdMapper, items |
Constructor Summary | |
---|---|
TwinColSelect()
|
|
TwinColSelect(String caption)
|
|
TwinColSelect(String caption,
Collection options)
|
|
TwinColSelect(String caption,
Container dataSource)
|
Method Summary | |
---|---|
int |
getColumns()
|
int |
getRows()
|
void |
paintContent(PaintTarget target)
Paints the content of this component. |
void |
setColumns(int columns)
Sets the number of columns in the editor. |
void |
setRows(int rows)
Sets the number of rows in the editor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.itmill.toolkit.ui.Field |
---|
getDescription, setCaption, setDescription |
Constructor Detail |
---|
public TwinColSelect()
public TwinColSelect(String caption)
caption
- public TwinColSelect(String caption, Container dataSource)
caption
- dataSource
- public TwinColSelect(String caption, Collection options)
caption
- options
- Method Detail |
---|
public void setColumns(int columns)
columns
- the number of columns to set.public int getColumns()
public int getRows()
public void setRows(int rows)
rows
- the number of rows to set.public void paintContent(PaintTarget target) throws PaintException
AbstractSelect
paintContent
in class AbstractSelect
target
- the Paint Event.
PaintException
- if the paint operation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |