|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModifierActivated
An interface to be used for tools (and other components) which are activated using some combination of keyboard modifier(s) and/or mouse button(s).
Method Summary | |
---|---|
int |
getActivationModifiers()
Get the mask of modifier keys (Shift, Control, Alt etc.) and mouse buttons (left, right etc.) to be used to activate this tool. |
void |
setActivationModifiers(int modifierAndButtonMask)
Set the mask of modifier keys (Shift, Control, Alt etc.) and mouse buttons (left, right etc.) to be used to activate this tool. |
Method Detail |
---|
void setActivationModifiers(int modifierAndButtonMask)
InputEvent.getModifiersEx()
, i.e. it must use the InputEvent
constants
containing _DOWN_
in their name.
modifierAndButtonMask
- InputEvent.ALT_DOWN_MASK
,
InputEvent.ALT_GRAPH_DOWN_MASK
,
InputEvent.CTRL_DOWN_MASK
,
InputEvent.SHIFT_DOWN_MASK
,
InputEvent.BUTTON1_DOWN_MASK
,
InputEvent.BUTTON2_DOWN_MASK
,
InputEvent.BUTTON3_DOWN_MASK
int getActivationModifiers()
setActivationModifiers(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |