|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.appsystem.contentsystem.jme.items.JMEContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEOrthoContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem
synergynetframework.appsystem.contentsystem.jme.items.JMEKeyboard
public class JMEKeyboard
The Class JMEKeyboard.
| Constructor Summary | |
|---|---|
JMEKeyboard(ContentItem contentItem)
Instantiates a new JME keyboard. |
|
| Method Summary | |
|---|---|
void |
cursorDragged(long id,
int x,
int y)
Cursor dragged. |
void |
cursorPressed(OrthoCursorEventDispatcher commonCursorEventDispatcher,
ScreenCursor c,
MultiTouchCursorEvent event)
Cursor pressed. |
void |
cursorReleased(OrthoCursorEventDispatcher commonCursorEventDispatcher,
ScreenCursor c,
MultiTouchCursorEvent event)
Cursor released. |
java.util.ArrayList<Key> |
getCurrentKeysPressed()
Gets the current keys pressed. |
int |
getImageHeight()
Gets the image height. |
int |
getImageWidth()
Gets the image width. |
boolean |
isKeyPressed(int vk)
Checks if is key pressed. |
void |
setAutoFitSize(boolean isEnabled)
Sets the auto fit size. |
void |
setBackGround(Background backGround)
Sets the back ground. |
void |
setBorder(Border border)
Sets the border. |
void |
setHeight(int height)
Sets the height. |
void |
setKeyboardImageResource(java.net.URL keyboardImageResource)
Sets the keyboard image resource. |
void |
setKeyDefinitions(java.util.List<Key> keyDefinitions)
Sets the key definitions. |
void |
setPixelsPerUnit(float pixelsPerUnit)
Sets the pixels per unit. |
void |
setRotateTranslateScalable(boolean isEnable)
Sets the rotate translate scalable. |
void |
setRotateTranslateScalable(boolean isEnabled,
boolean overRide)
Sets the rotate translate scalable. |
void |
setWidth(int width)
Sets the width. |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEQuadContentItem |
|---|
cursorChanged, cursorClicked |
| Methods inherited from class synergynetframework.appsystem.contentsystem.jme.items.JMEContentItem |
|---|
contains, getImplementationObject, getLocalLocation, hasCollision, init, setAngle, setBoundaryEnabled, setId, setLocation, setManipulate, setScale, setScale, setVisible, setVisible |
| 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.IContentItemImplementation |
|---|
addMultitouchListener, contains, getImplementationObject, hasCollision, init, setAngle, setBoundaryEnabled, setId, setLocalLocation, setLocation, setManipulate, setName, setScale, setScale, setVisible, setVisible, update, update |
| Constructor Detail |
|---|
public JMEKeyboard(ContentItem contentItem)
contentItem - the content item| Method Detail |
|---|
public void cursorDragged(long id,
int x,
int y)
id - the idx - the xy - the y
public void cursorPressed(OrthoCursorEventDispatcher commonCursorEventDispatcher,
ScreenCursor c,
MultiTouchCursorEvent event)
OrthoCursorEventDispatcher.CommonCursorEventListener
cursorPressed in interface OrthoCursorEventDispatcher.CommonCursorEventListenercursorPressed in class JMEQuadContentItemcommonCursorEventDispatcher - the common cursor event dispatcherc - the cevent - the event
public void cursorReleased(OrthoCursorEventDispatcher commonCursorEventDispatcher,
ScreenCursor c,
MultiTouchCursorEvent event)
OrthoCursorEventDispatcher.CommonCursorEventListener
cursorReleased in interface OrthoCursorEventDispatcher.CommonCursorEventListenercursorReleased in class JMEQuadContentItemcommonCursorEventDispatcher - the common cursor event dispatcherc - the cevent - the eventpublic java.util.ArrayList<Key> getCurrentKeysPressed()
IKeyboardImplementation
getCurrentKeysPressed in interface IKeyboardImplementationpublic int getImageHeight()
public int getImageWidth()
public boolean isKeyPressed(int vk)
IKeyboardImplementation
isKeyPressed in interface IKeyboardImplementationvk - the vk
public void setAutoFitSize(boolean isEnabled)
IQuadContentItemImplementation
setAutoFitSize in interface IQuadContentItemImplementationsetAutoFitSize in class JMEQuadContentItemisEnabled - the new auto fit sizepublic void setBackGround(Background backGround)
IContentItemImplementation
setBackGround in interface IContentItemImplementationsetBackGround in class JMEOrthoContentItembackGround - the new back groundpublic void setBorder(Border border)
IContentItemImplementation
setBorder in interface IContentItemImplementationsetBorder in class JMEOrthoContentItemborder - the new borderpublic void setHeight(int height)
IQuadContentItemImplementation
setHeight in interface IQuadContentItemImplementationsetHeight in class JMEQuadContentItemheight - the new heightpublic void setKeyboardImageResource(java.net.URL keyboardImageResource)
IKeyboardImplementation
setKeyboardImageResource in interface IKeyboardImplementationkeyboardImageResource - the new keyboard image resourcepublic void setKeyDefinitions(java.util.List<Key> keyDefinitions)
IKeyboardImplementation
setKeyDefinitions in interface IKeyboardImplementationkeyDefinitions - the new key definitionspublic void setPixelsPerUnit(float pixelsPerUnit)
IKeyboardImplementation
setPixelsPerUnit in interface IKeyboardImplementationpixelsPerUnit - the new pixels per unitpublic void setRotateTranslateScalable(boolean isEnable)
IOrthoContentItemImplementation
setRotateTranslateScalable in interface IOrthoContentItemImplementationsetRotateTranslateScalable in class JMEOrthoContentItemisEnable - the new rotate translate scalable
public void setRotateTranslateScalable(boolean isEnabled,
boolean overRide)
IKeyboardImplementation
setRotateTranslateScalable in interface IKeyboardImplementationisEnabled - the is enabledoverRide - the over ridepublic void setWidth(int width)
IQuadContentItemImplementation
setWidth in interface IQuadContentItemImplementationsetWidth in class JMEQuadContentItemwidth - the new width
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||