public class ComponentKeyAdapter extends java.lang.Object implements GriffonPivotAdapter, org.apache.pivot.wtk.ComponentKeyListener
Constructor and Description |
---|
ComponentKeyAdapter() |
Modifier and Type | Method and Description |
---|---|
CallableWithArgs<java.lang.Boolean> |
getKeyPressed() |
CallableWithArgs<java.lang.Boolean> |
getKeyReleased() |
CallableWithArgs<java.lang.Boolean> |
getKeyTyped() |
boolean |
keyPressed(org.apache.pivot.wtk.Component arg0,
int arg1,
org.apache.pivot.wtk.Keyboard.KeyLocation arg2) |
boolean |
keyReleased(org.apache.pivot.wtk.Component arg0,
int arg1,
org.apache.pivot.wtk.Keyboard.KeyLocation arg2) |
boolean |
keyTyped(org.apache.pivot.wtk.Component arg0,
char arg1) |
void |
setKeyPressed(CallableWithArgs<java.lang.Boolean> keyPressed) |
void |
setKeyReleased(CallableWithArgs<java.lang.Boolean> keyReleased) |
void |
setKeyTyped(CallableWithArgs<java.lang.Boolean> keyTyped) |
public CallableWithArgs<java.lang.Boolean> getKeyTyped()
public CallableWithArgs<java.lang.Boolean> getKeyPressed()
public CallableWithArgs<java.lang.Boolean> getKeyReleased()
public void setKeyTyped(CallableWithArgs<java.lang.Boolean> keyTyped)
public void setKeyPressed(CallableWithArgs<java.lang.Boolean> keyPressed)
public void setKeyReleased(CallableWithArgs<java.lang.Boolean> keyReleased)
public boolean keyTyped(org.apache.pivot.wtk.Component arg0, char arg1)
keyTyped
in interface org.apache.pivot.wtk.ComponentKeyListener
public boolean keyPressed(org.apache.pivot.wtk.Component arg0, int arg1, org.apache.pivot.wtk.Keyboard.KeyLocation arg2)
keyPressed
in interface org.apache.pivot.wtk.ComponentKeyListener
public boolean keyReleased(org.apache.pivot.wtk.Component arg0, int arg1, org.apache.pivot.wtk.Keyboard.KeyLocation arg2)
keyReleased
in interface org.apache.pivot.wtk.ComponentKeyListener