|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Field | |
---|---|
com.itmill.toolkit.ui | Provides interfaces and classes in the IT Mill Toolkit. |
Uses of Field in com.itmill.toolkit.ui |
---|
Classes in com.itmill.toolkit.ui that implement Field | |
---|---|
class |
AbstractField
Abstract field component for implementing buffered property editors. |
class |
AbstractSelect
A class representing a selection of items the user has selected in a UI. |
class |
Button
A generic button component. |
class |
CheckBox
|
class |
ComboBox
A filtering dropdown single-select. |
class |
DateField
A date editor component that can be bound to any bindable Property. that is compatible with java.util.Date . |
class |
Form
Form component provides easy way of creating and managing sets fields. |
class |
InlineDateField
A date entry component, which displays the actual date selector inline. |
class |
ListSelect
This is a simple list select without, for instance, support for new items, lazyloading, and other advanced features. |
class |
NativeSelect
This is a simple drop-down select without, for instance, support for multiselect, new items, lazyloading, and other advanced features. |
class |
OptionGroup
Configures select to be used as an option group. |
class |
PopupDateField
A date entry component, which displays the actual date selector as a popup. |
class |
ProgressIndicator
ProgressIndicator is component that shows user state of a
process (like long computing or file upload)
ProgressIndicator has two mainmodes. |
class |
RichTextArea
A simple RichTextEditor to edit HTML format text. |
class |
Select
A class representing a selection of items the user has selected in a UI. |
class |
Slider
TODO comment Example code:
class MyPlayer extends CustomComponent implements ValueChangeListener {
Label volumeIndicator = new Label();
Slider slider;
public MyPlayer() {
OrderedLayout ol = new OrderedLayout();
setCompositionRoot(ol);
slider = new Slider("Volume", 0, 100);
slider.setImmediate(true);
ol.addComponent(slider);
ol.addComponent(volumeIndicator);
volumeIndicator.setValue(new Double(50));
slider.addListener(this);
}
public void setVolume(double d) {
volumeIndicator.setValue("Current volume : " + d);
}
public void valueChange(ValueChangeEvent event) {
Double d = (Double) event.getProperty().getValue();
setVolume(d.doubleValue());
}
}
|
class |
Table
TableComponent is used for representing data or components in
pageable and selectable table. |
class |
TextField
A text editor component that can be bound to any bindable Property. |
class |
Tree
MenuTree component. |
class |
TwinColSelect
Multiselect component with two lists: left side for available items and right side for selected items. |
Methods in com.itmill.toolkit.ui that return Field | |
---|---|
Field |
FieldFactory.createField(Class type,
Component uiContext)
Creates a field based on type of data. |
Field |
BaseFieldFactory.createField(Class type,
Component uiContext)
Creates the field based on type of data. |
Field |
FieldFactory.createField(Container container,
Object itemId,
Object propertyId,
Component uiContext)
Creates a field based on the container item id and property id. |
Field |
BaseFieldFactory.createField(Container container,
Object itemId,
Object propertyId,
Component uiContext)
|
Field |
FieldFactory.createField(Item item,
Object propertyId,
Component uiContext)
Creates a field based on the item and property id. |
Field |
BaseFieldFactory.createField(Item item,
Object propertyId,
Component uiContext)
Creates the field based on the item and property id. |
Field |
FieldFactory.createField(Property property,
Component uiContext)
Creates a field based on the property datasource. |
Field |
BaseFieldFactory.createField(Property property,
Component uiContext)
Creates the field based on the datasource property. |
Field |
Form.getField(Object propertyId)
Gets the field identified by the propertyid. |
Methods in com.itmill.toolkit.ui with parameters of type Field | |
---|---|
void |
Form.addField(Object propertyId,
Field field)
Adds the field to form. |
Constructors in com.itmill.toolkit.ui with parameters of type Field | |
---|---|
Field.ValueChangeEvent(Field source)
Constructs a new event object with the specified source field object. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |