|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.contentsystem.items.ContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContentItem
synergynetframework.appsystem.contentsystem.items.OrthoContainer
synergynetframework.appsystem.contentsystem.items.Window
synergynetframework.appsystem.contentsystem.items.MTKeyboard
public class MTKeyboard
The Class MTKeyboard.
Field Summary |
---|
Fields inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContentItem |
---|
removable |
Fields inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
name |
Constructor Summary | |
---|---|
MTKeyboard(ContentSystem contentSystem,
java.lang.String name)
Instantiates a new MT keyboard. |
Method Summary | |
---|---|
void |
addKeyListener(MTKeyListener l)
Adds the key listener. |
void |
fireKeyPressed(java.awt.event.KeyEvent evt)
Fire key pressed. |
void |
fireKeyReleased(java.awt.event.KeyEvent evt)
Fire key released. |
java.util.List<java.lang.Integer> |
getCurrentKeysPressed()
Gets the current keys pressed. |
boolean |
isCapsLockEnabled()
Checks if is caps lock enabled. |
boolean |
isKeyPressed(int vk)
Checks if is key pressed. |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.Window |
---|
getBackgroundFrame, getHeight, getWidth, makeFlickable, setHeight, setWidth |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.OrthoContainer |
---|
addSubItem, contains, detachSubItem, getAllItemsIncludeSystemItems, getNode, removeSubItem, removeSubItem, setBringToTopable, setRotateTranslateScalable, setScaleLimit, setTopItem, updateOrder |
Methods inherited from class synergynetframework.appsystem.contentsystem.items.ContentItem |
---|
addMultitouchListener, canManipulate, contains, generateUniqueName, getAngle, getBackGround, getBackgroundColour, getBorder, getBorderColour, getBorderSize, getContentSystem, getId, getImplementationObject, getLocalLocation, getName, getNote, getResource, getScale, hasCollision, init, initImplementationObjet, isBoundaryEnabled, isVisible, setAngle, setBackGround, setBackgroundColour, setBorder, setBorderColour, setBorderSize, setBoundaryEnabled, setContentSystem, setId, setLocalLocation, setLocalLocation, setLocalLocation, setManipulate, setNote, setResource, setScale, setScale, setVisible, setVisible, update, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IWindowImplementation |
---|
getBackgroundFrame, setHeight, setWidth |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IOrthoContainerImplementation |
---|
addSubItem, detachSubItem, getNode, removeSubItem, updateOrder |
Methods inherited from interface synergynetframework.appsystem.contentsystem.items.implementation.interfaces.IContentItemImplementation |
---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBackGround, setBorder, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
Constructor Detail |
---|
public MTKeyboard(ContentSystem contentSystem, java.lang.String name)
contentSystem
- the content systemname
- the nameMethod Detail |
---|
public void addKeyListener(MTKeyListener l)
l
- the lpublic void fireKeyPressed(java.awt.event.KeyEvent evt)
evt
- the evtpublic void fireKeyReleased(java.awt.event.KeyEvent evt)
evt
- the evtpublic java.util.List<java.lang.Integer> getCurrentKeysPressed()
public boolean isCapsLockEnabled()
public boolean isKeyPressed(int vk)
vk
- the vk
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |