public class CalculatorKeyboardRenderer extends java.lang.Object implements IKeyboardGraphicsRenderer
| Constructor and Description |
|---|
CalculatorKeyboardRenderer(KeyboardDefinition kbd)
Instantiates a new calculator keyboard renderer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
drawKeyboard(java.awt.Graphics2D g2d,
boolean shiftDown,
boolean altDown,
boolean ctlDown)
Draw keyboard.
|
void |
keyPressed(KeyboardKey k,
boolean shiftDown,
boolean altDown,
boolean ctlDown)
Key pressed.
|
void |
keyReleased(KeyboardKey k,
boolean shiftDown,
boolean altDown,
boolean ctlDown)
Key released.
|
public CalculatorKeyboardRenderer(KeyboardDefinition kbd)
kbd - the kbdpublic void drawKeyboard(java.awt.Graphics2D g2d,
boolean shiftDown,
boolean altDown,
boolean ctlDown)
IKeyboardGraphicsRendererdrawKeyboard in interface IKeyboardGraphicsRendererg2d - the g2dshiftDown - the shift downaltDown - the alt downctlDown - the ctl downpublic void keyPressed(KeyboardKey k, boolean shiftDown, boolean altDown, boolean ctlDown)
IMultiTouchKeyboardListenerkeyPressed in interface IMultiTouchKeyboardListenerk - the kshiftDown - the shift downaltDown - the alt downctlDown - the ctl downpublic void keyReleased(KeyboardKey k, boolean shiftDown, boolean altDown, boolean ctlDown)
IMultiTouchKeyboardListenerkeyReleased in interface IMultiTouchKeyboardListenerk - the kshiftDown - the shift downaltDown - the alt downctlDown - the ctl down