|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jme.scene.SceneElement
com.jme.scene.Spatial
com.jme.scene.Geometry
com.jmex.bui.BRootNode
com.jmex.bui.PolledRootNode
public class PolledRootNode
Processes the polled input information available from the underlying input system into input events and dispatches those to the appropriate parties.
| Field Summary | |
|---|---|
protected InputHandler |
_handler
|
protected ArrayList<BComponent> |
_invalidRoots
|
protected KeyInputListener |
_keyListener
This listener is notified when a key is pressed or released. |
protected MouseInputListener |
_mouseListener
This listener is notified when the mouse is updated. |
protected long |
_nextRepeat
This is used for key repeat. |
protected char |
_presschar
This is used for key repeat. |
protected int |
_pressed
This is used for key repeat. |
protected long |
_tickStamp
|
protected Timer |
_timer
|
protected static int |
ANY_BUTTON_PRESSED
Used to check whether any button remains pressed. |
protected static long |
INITIAL_REPEAT_DELAY
|
protected static int[] |
KEY_MODIFIER_MAP
Maps key codes to modifier flags. |
protected static int[] |
MOUSE_MODIFIER_MAP
Maps button indices to modifier flags. |
protected static long |
SUBSEQ_REPEAT_DELAY
|
| Fields inherited from class com.jmex.bui.BRootNode |
|---|
_ccomponent, _defaults, _focus, _geomviews, _globals, _hcomponent, _lastMoveTime, _lastTipTime, _modalShade, _modifiers, _mouseX, _mouseY, _tipTime, _tipWidth, _tipwin, _windows, TIP_MODE_RESET |
| Fields inherited from class com.jme.scene.Geometry |
|---|
batchList |
| Fields inherited from class com.jme.scene.Spatial |
|---|
geometricalControllers, localRotation, localScale, localTranslation, parent, worldRotation, worldScale, worldTranslation |
| Constructor Summary | |
|---|---|
PolledRootNode(Timer timer,
InputHandler handler)
|
|
| Method Summary | |
|---|---|
long |
getTickStamp()
Returns the current timestamp used to stamp event times. |
float |
getTooltipTimeout()
Returns the tool tip timeout. |
void |
rootInvalidated(BComponent root)
This is called by a window or a scroll pane when it has become invalid. |
void |
updateWorldData(float timePerFrame)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag |
| Field Detail |
|---|
protected KeyInputListener _keyListener
protected MouseInputListener _mouseListener
protected long _tickStamp
protected Timer _timer
protected InputHandler _handler
protected ArrayList<BComponent> _invalidRoots
protected int _pressed
protected char _presschar
protected long _nextRepeat
protected static final int[] KEY_MODIFIER_MAP
protected static final int[] MOUSE_MODIFIER_MAP
protected static final int ANY_BUTTON_PRESSED
protected static final long INITIAL_REPEAT_DELAY
protected static final long SUBSEQ_REPEAT_DELAY
| Constructor Detail |
|---|
public PolledRootNode(Timer timer,
InputHandler handler)
| Method Detail |
|---|
public long getTickStamp()
BRootNode
getTickStamp in class BRootNodepublic void rootInvalidated(BComponent root)
BRootNode
rootInvalidated in class BRootNodepublic void updateWorldData(float timePerFrame)
updateWorldData in class Geometrypublic float getTooltipTimeout()
BRootNodeBRootNode.setTooltipTimeout(float) for details.
getTooltipTimeout in class BRootNode
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||