LegacyComponent
.@Deprecated public interface VariableOwner extends Serializable
Listener interface for UI variable changes. The user communicates with the application using the so-called variables. When the user makes a change using the UI the terminal trasmits the changed variables to the application, and the components owning those variables may then process those changes.
Modifier and Type | Method and Description |
---|---|
void |
changeVariables(Object source,
Map<String,Object> variables)
Deprecated.
Called when one or more variables handled by the implementing class are
changed.
|
boolean |
isEnabled()
Deprecated.
Tests if the variable owner is enabled or not.
|
void changeVariables(Object source, Map<String,Object> variables)
source
- the Source of the variable change. This is the origin of the
event. For example in Web Adapter this is the request.variables
- the Mapping from variable names to new variable values.boolean isEnabled()
Tests if the variable owner is enabled or not. The terminal should not send any variable changes to disabled variable owners.
true
if the variable owner is enabled,
false
if notCopyright © 2018 Vaadin Ltd. All rights reserved.