WindowInputListenerEventBubblingDispatcherpublic interface GuiEventManager extends WindowInputListener
| Modifier and Type | Method | Description |
|---|---|---|
void |
addView(View view) |
Add a view to the dispatcher and set all listeners list for that view.
|
BaseWidget |
getWidgetUnderMouse() |
|
void |
removeView(View view) |
Remove a View from the event dispatch.
|
void |
setDebugListener(be.yildizgames.common.client.debug.DebugListener listener) |
|
void |
setDefaultView(View view) |
|
void |
setFocus(View view) |
Set the focus on a particular View.
|
keyboardArrowPressed, keyboardDeleteKeyPressed, keyboardEnterKeyPressed, keyboardKeyPressed, keyboardNumberPressed, keyReleased, mouseDoubleClick, mouseDragLeft, mouseDragRight, mouseDragWheel, mouseLeftClick, mouseLeftReleased, mouseMove, mouseRightClick, mouseRightReleased, mouseWheel, specialKeyPressedvoid addView(View view)
view - View to add.void removeView(View view)
view - View to remove, it will no longer be affected by mouse and keyboard events.void setFocus(View view)
view - View to set the focus on.BaseWidget getWidgetUnderMouse()
void setDebugListener(be.yildizgames.common.client.debug.DebugListener listener)
void setDefaultView(View view)
Copyright © 2014–2018. All rights reserved.