public interface InteractionTarget
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionCommand()
Returns the action command of this target
|
boolean |
getAffectsGroup()
Whether the target affects the top-level group of the element
|
boolean |
isEnabled()
Returns the enabled status of the target
|
void |
setActionCommand(java.lang.String command)
Sets the action commmand for this target
|
void |
setAffectsGroup(boolean value)
Whether the interaction with the target affects the top-level group
of the element that contains it (instead of only affecting the element).
|
void |
setEnabled(boolean value)
Enables/Disables the target
|
void setEnabled(boolean value)
value
- booleanboolean isEnabled()
java.lang.String getActionCommand()
void setActionCommand(java.lang.String command)
command
- Stringvoid setAffectsGroup(boolean value)
true
, trying to move the element will move
the whole group to which the element belongs.
This flag only makes sense for objects of the Element class (which
can belong to a Group). Default value of this flag is false
.value
- booleanElement
boolean getAffectsGroup()