|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Property | |
---|---|
com.itmill.toolkit.data | Provides interfaces for the data layer which contains classes for typed data values, data collections, and handlers. |
com.itmill.toolkit.data.util | Provides various utility classes that implement the data layer functionality. |
com.itmill.toolkit.ui | Provides interfaces and classes in the IT Mill Toolkit. |
Uses of Property in com.itmill.toolkit.data |
---|
Methods in com.itmill.toolkit.data that return Property | |
---|---|
Property |
Container.getContainerProperty(Object itemId,
Object propertyId)
Gets the Property identified by the given itemId and propertyId from the Container. |
Property |
Item.getItemProperty(Object id)
Gets the Property corresponding to the given Property ID stored in the Item. |
Property |
Property.ValueChangeEvent.getProperty()
Retrieves the Property that has been modified. |
Property |
Property.ReadOnlyStatusChangeEvent.getProperty()
Property whose read-only state has changed. |
Property |
Property.Viewer.getPropertyDataSource()
Gets the Property serving as the data source of the viewer. |
Methods in com.itmill.toolkit.data with parameters of type Property | |
---|---|
boolean |
Item.addItemProperty(Object id,
Property property)
Tries to add a new Property into the Item. |
void |
Property.Viewer.setPropertyDataSource(Property newDataSource)
Sets the Property that serves as the data source of the viewer. |
Uses of Property in com.itmill.toolkit.data.util |
---|
Classes in com.itmill.toolkit.data.util that implement Property | |
---|---|
class |
MethodProperty
Proxy class for creating Properties from pairs of getter and setter methods of a Bean property. |
class |
ObjectProperty
A simple data object containing one typed value. |
class |
PropertyFormatter
Formatting proxy for a property. |
Methods in com.itmill.toolkit.data.util that return Property | |
---|---|
Property |
FilesystemContainer.getContainerProperty(Object itemId,
Object propertyId)
Gets the specified property of the specified file Item. |
Property |
ContainerOrderedWrapper.getContainerProperty(Object itemId,
Object propertyId)
|
Property |
ContainerHierarchicalWrapper.getContainerProperty(Object itemId,
Object propertyId)
|
Property |
QueryContainer.getContainerProperty(Object itemId,
Object propertyId)
Gets the property identified by the given itemId and propertyId from the container. |
Property |
IndexedContainer.getContainerProperty(Object itemId,
Object propertyId)
|
Property |
FilesystemContainer.FileItem.getItemProperty(Object id)
|
Property |
PropertysetItem.getItemProperty(Object id)
Gets the Property corresponding to the given Property ID stored in the Item. |
Property |
PropertyFormatter.getPropertyDataSource()
Gets the current data source of the formatter, if any. |
Methods in com.itmill.toolkit.data.util with parameters of type Property | |
---|---|
boolean |
FilesystemContainer.FileItem.addItemProperty(Object id,
Property property)
Filesystem container does not support adding new properties. |
boolean |
PropertysetItem.addItemProperty(Object id,
Property property)
Tries to add a new Property into the Item. |
void |
PropertyFormatter.setPropertyDataSource(Property newDataSource)
Sets the specified Property as the data source for the formatter. |
Constructors in com.itmill.toolkit.data.util with parameters of type Property | |
---|---|
PropertyFormatter(Property propertyDataSource)
Construct a new formatter that is connected to given datasource. |
Uses of Property in com.itmill.toolkit.ui |
---|
Subinterfaces of Property in com.itmill.toolkit.ui | |
---|---|
interface |
Field
|
Classes in com.itmill.toolkit.ui that implement Property | |
---|---|
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 |
Label
Label component for showing non-editable short texts. |
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 Property | |
---|---|
Property |
AbstractSelect.getContainerProperty(Object itemId,
Object propertyId)
Gets the Property identified by the given itemId and propertyId from the Container |
Property |
Form.getItemProperty(Object id)
The property identified by the property id. |
Property |
Label.ValueChangeEvent.getProperty()
Gets the Property that has been modified. |
Property |
AbstractField.ReadOnlyStatusChangeEvent.getProperty()
Property where the event occurred. |
Property |
Field.ValueChangeEvent.getProperty()
Gets the Property which triggered the event. |
Property |
Label.getPropertyDataSource()
Gets the viewing data-source property. |
Property |
AbstractField.getPropertyDataSource()
Gets the current data source of the field, if any. |
Property |
ProgressIndicator.getPropertyDataSource()
Gets the viewing data-source property. |
Methods in com.itmill.toolkit.ui with parameters of type Property | |
---|---|
boolean |
Form.addItemProperty(Object id,
Property property)
Adds a new property to form and create corresponding field. |
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. |
protected String |
Table.formatPropertyValue(Object rowId,
Object colId,
Property property)
Formats table cell property values. |
protected Object |
Table.getPropertyValue(Object rowId,
Object colId,
Property property)
Gets the value of property. |
void |
DateField.setPropertyDataSource(Property newDataSource)
Sets the DateField datasource. |
void |
Label.setPropertyDataSource(Property newDataSource)
Sets the property as data-source for viewing. |
void |
AbstractField.setPropertyDataSource(Property newDataSource)
Sets the specified Property as the data source for the field. |
void |
ProgressIndicator.setPropertyDataSource(Property newDataSource)
Sets the property as data-source for viewing. |
Constructors in com.itmill.toolkit.ui with parameters of type Property | |
---|---|
Button(String caption,
Property dataSource)
Creates a new switch button that is connected to a boolean property. |
|
CheckBox(String caption,
Property dataSource)
Creates a new switch button that is connected to a boolean property. |
|
DateField(Property dataSource)
Constructs a new DateField that's bound to the specified
Property and has no caption. |
|
DateField(String caption,
Property dataSource)
Constructs a new DateField that's bound to the specified
Property and has the given caption String . |
|
InlineDateField(Property dataSource)
|
|
InlineDateField(String caption,
Property dataSource)
|
|
Label(Property contentSource)
Creates a new instance of Label with text-contents read from given datasource. |
|
Label(Property contentSource,
int contentMode)
Creates a new instance of Label with text-contents read from given datasource. |
|
PopupDateField(Property dataSource)
|
|
PopupDateField(String caption,
Property dataSource)
|
|
ProgressIndicator(Property contentSource)
Creates a new instance of ProgressIndicator with stae read from given datasource. |
|
TextField(Property dataSource)
Constructs a new TextField that's bound to the specified
Property and has no caption. |
|
TextField(String caption,
Property dataSource)
Constructs a new TextField that's bound to the specified
Property and has the given caption String . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |