com.vaadin.terminal.gwt.server
Class DragAndDropService
java.lang.Object
com.vaadin.terminal.gwt.server.DragAndDropService
- All Implemented Interfaces:
- VariableOwner, Serializable
public class DragAndDropService
- extends Object
- implements VariableOwner
- See Also:
- Serialized Form
Method Summary |
void |
changeVariables(Object source,
Map<String,Object> variables)
Called when one or more variables handled by the implementing class are
changed. |
boolean |
isEnabled()
Tests if the variable owner is enabled or not. |
boolean |
isImmediate()
Tests if the variable owner is in immediate mode or not. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DragAndDropService
public DragAndDropService(AbstractCommunicationManager manager)
changeVariables
public void changeVariables(Object source,
Map<String,Object> variables)
- Description copied from interface:
VariableOwner
- Called when one or more variables handled by the implementing class are
changed.
- Specified by:
changeVariables
in interface VariableOwner
- Parameters:
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.
isEnabled
public boolean isEnabled()
- Description copied from interface:
VariableOwner
Tests if the variable owner is enabled or not. The terminal should not
send any variable changes to disabled variable owners.
- Specified by:
isEnabled
in interface VariableOwner
- Returns:
true
if the variable owner is enabled,
false
if not
isImmediate
public boolean isImmediate()
- Description copied from interface:
VariableOwner
Tests if the variable owner is in immediate mode or not. Being in
immediate mode means that all variable changes are required to be sent
back from the terminal immediately when they occur.
Note: VariableOwner
does not include a set-
method for the immediateness property. This is because not all
VariableOwners wish to offer the functionality. Such VariableOwners are
never in the immediate mode, thus they always return false
in VariableOwner.isImmediate()
.
- Specified by:
isImmediate
in interface VariableOwner
- Returns:
true
if the component is in immediate mode,
false
if not.
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.