public class KeyboardModifierListener extends java.lang.Object implements Disposable
Disposable.Parent
Constructor and Description |
---|
KeyboardModifierListener() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
init(javax.swing.JComponent component,
Disposable disposable) |
boolean |
isAltPressed() |
boolean |
isCtrlPressed() |
boolean |
isShiftPressed() |
void |
onModifiersChanged() |
public void init(javax.swing.JComponent component, Disposable disposable)
public void dispose()
Disposable
dispose
in interface Disposable
public boolean isShiftPressed()
public boolean isCtrlPressed()
public boolean isAltPressed()
public void onModifiersChanged()