|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Component
interface.AbstractComponent
that defines the default
implementation for the methods in ComponentContainer
.Event
object specifying the Property whose read-only
status has changed.Layout
interface.Alignment
class and its constants
Alignment
class and its constants
Alignment
class and its constants
Alignment
class and its constants
Alignment
class and its constants
Alignment
class and its constants
UserChangeListener
interface for listening application
user changes.onModuleLoad()
.ApplicationContext
provides information about the running
context of the application.applicationUserChanged
method Invoked when the
application user has changed.
BeanItem
and adds all properties
of a Java Bean to it.
BeanItem
and adds all listed
properties of a Java Bean to it - in specified order.
BeanItem
and adds all listed
properties of a Java Bean to it - in specified order.
Validatable
and
Buffered
interfaces.ClassResource
is a named resource accessed with the class
loader.statement
.
setColumnHeaders
.
setColumnHeaders
ErrorEvent
s.Component.Errors
s.Event
s.Component.Event
s.Component
interface which adds to it the capacity to
contain other components.CompositeValidator
allows you to chain (compose) many
validators to validate one field.AND
mode without error
message.
Container
classes whose Items can be arranged
hierarchically.Event
object specifying the Container whose Item set has
changed.ItemSetChangeEvent
listeners.Event
object specifying the Container whose Property set
has changed.PropertySetChangeEvent
objects.PropertySetChangeEvent
listeners.Container.Hierarchical
interface.Container.Ordered
interface.java.util.Date
.DateField
with no caption.
DateField
with caption.
DateField
that's bound to the specified
Property
and has the given caption String
.
DateField
that's bound to the specified
Property
and has no caption.
DateField
with the given caption and
initial text contents.
true
if and only if the argument is not
null
and is a Boolean object that represents the same
boolean value as this object.
EventRouter
class implementing the inheritable event listening
model.ExternalResource
implements source for resources fetched from
location specified by URL:s.Event
object specifying the Field whose value has been
changed.FileResources
are files or directories on local filesystem.FileSystemContainer
with the specified file
as the root of the filesystem.
FileSystemContainer
with the specified file
as the root of the filesystem.
FileSystemContainer
with the specified file
as the root of the filesystem.
FileSystemContainer
with the specified root
and recursivity status.
Form
to layout fields.null
if the
cause does not exist or not known.
Component.getLocale()
is used.
MenuItem
objects in the menu
bar.
Window.Notification.getDescription()
instead.
PopupView.isPopupVisible()
instead.
MenuItem
that is currently selected
(highlighted) by the user.
StreamResource
.
Exception
object which is thrown when an area exceeds the
bounds of the grid.OoutOfBoundsException
with the specified
detail message.
Exception
object which is thrown when two Items occupy
the same space on a grid.OverlapsException
.
itemId
has child Items
or if it is a leaf.
itemId
has child Items.
HorizontalLayout
is a component container, which shows the
subcomponents in the order of their addition (horizontally).Container.Indexed
interface
with all important features.event
object specifying the list whose Item set has
changed.RichTextArea
.ImageBundle
is used for all the button icons.Constants
interface is used to make the toolbar's strings
internationalizable.true
if given id is first id at first index.
true
.
true
if given id is last id at last index.
true
if nulls are allowed otherwise
false
.
true
if null strings are allowed.
itemId
is a root Item.
itemId
is a root Item.
Editor
classes capable of
editing the Item.Event
object specifying the Item whose contents has been
changed through the Property
interface.PropertySetChangeEvent
objects.PropertySetChangeEvent
listeners.String
representation is used as caption.
String
representation is used
as caption.
String
representation is used as
caption.
setItemCaptionPropertyId
.
Component
implementing
Container
interface.KeyMapper
is the simple two-way map for generating textual keys
for objects and retrieving the objects later with the key.ComponentContainer
interface which adds the
layouting control to the elements in the container.Layout
that can
align its components.MenuBar
class.MethodProperty
from a named bean
property.
MethodProperty
from named getter
and setter methods.
MethodProperty
with the getter and
setter methods.
MethodProperty
from named getter
and setter methods and argument lists.
MethodProperty
from the getter and
setter methods, and argument lists.
Exception
object that signals that there were problems
calling or finding the specified getter or setter methods of the
property.MethodException
with the specified
detail message.
MethodException
from another exception.
AND
clause: validity of the
composite implies validity of the all validators it is composed of must
be valid.
OR
clause: validity of the
composite implies that some of validators it is composed of must be
valid.
itemId
.
PaintExcepection
is thrown if painting of a component fails.PaintExeception
with the specified
detail message.
PaintExeception
from IOException.
PopupView#PopupVisibilityEvent
to start listening for
popup visibility changes.
itemId
.
ProgressIndicator
is component that shows user state of a
process (like long computing or file upload)
ProgressIndicator
has two mainmodes.Property
is a simple data object that contains one typed
value.setValue
method couldn't be converted to the native type of
the Property.ConversionException
without a detail
message.
ConversionException
with the specified
detail message.
ConversionException
from another
exception.
Exception
object that signals that a requested Property
modification failed because it's in read-only mode.ReadOnlyException
without a detail
message.
ReadOnlyException
with the specified
detail message.
Event
object specifying the Property whose read-only
status has been changed.ReadOnlyStatusChangeEvent
objects.ReadOnlyStatusChangeEvent
listeners.Event
object specifying the Property whose value has been
changed.listener
interface for receiving
ValueChangeEvent
objects.ValueChangeEvent
listeners.QueryContainer
is the specialized form of Container which is
Ordered and Indexed.QueryContainer
with the specified
queryStatement
.
QueryContainer
with the specified
queryStatement using the default resultset type and default resultset
concurrency.
EventRouter
and calls the
trigger method if it matches with the criteria defined for the listener.
ItemId
from the Container.
ItemId
from the Container.
Resource
provided to the client terminal.toString()
is used
instead.
setItemCaptionPropertyId
.
String
.
String
.
false
when conversion from files to directories is
not supported.
Layout.AlignmentHandler.setComponentAlignment(Component, Alignment)
instead
Sizeable.setHeight(String)
or
Sizeable.setHeight(float, int)
instead. This method works,
but is error-prone since the unit must be set separately (and
components might have different default unit).
Sizeable.setHeight(String)
or Sizeable.setHeight(float, int)
,
which is less error-prone.
Window.Notification.setDescription(String)
instead.
setNullSelectionItemId
.
false
when moving files around in the filesystem is
not supported.
#setPopupVisible()
instead.
StreamResource
.
Sizeable.setWidth(String)
instead. This method
works, but is error-prone since the unit must be set
separately (and components might have different default
unit).
Sizeable.setWidth(String)
or Sizeable.setWidth(float, int)
,
which is less error-prone.
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());
}
}
ValueOutOfBoundsException
with the
specified detail message.
StreamResource
is a resource provided to the client directly by
the application.StringLengthValidator
is used to validate the length of
strings.SystemError
is a runtime exception caused by error in system.SystemMessageException
with the specified
detail message.
SystemMessageException
with the specified
detail message and cause.
SystemMessageException
from another
exception.
TableComponent
is used for representing data or components in
pageable and selectable table.setVariable
to the terminal.
TextField
with no caption.
TextField
with given caption.
TextField
that's bound to the specified
Property
and has no caption.
TextField
that's bound to the specified
Property
and has the given caption String
.
TextField
with the given caption and
initial text contents.
ThemeResource
is a named theme dependant resource provided and
managed by a theme.MethodProperty
in human readable
textual format.
String
representation of the contents of the Item.
UserError
is a controlled error occurred in application.Validator
when a given
value is not valid.InvalidValueException
with the
specified detail message.
InvalidValueException
with a set of
causing validation exceptions.
VerticalLayout
is a component container, which shows the
subcomponents in the order of their addition (vertically).
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |