|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface InteractionTarget
The basic interface for an active target in an InteractionSource
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 - booleanElementboolean getAffectsGroup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||