#include <MAUtil/Environment.h>
Inheritance diagram for MAUtil::Environment:
|
|
|
Causes a panic if another Environment already exists. There can be only one. |
|
Adds the specified listener to the end of the list, unless it is already in the list. |
|
Removes the specified listener from the list, if it's in it. |
|
Queries whether the specified listener is in the list of key listeners. |
|
Adds the specified listener to the end of the list, unless it is already in the list. |
|
Removes the specified listener from the list, if it's in it. |
|
Queries whether the specified listener is in the list of key listeners. |
|
Adds the specified listener to the end of the list, unless it is already in the list. |
|
Removes the specified listener from the list, if it's in it. |
|
Queries whether the specified listener is in the list of key listeners. |
|
Sets the Bluetooth Discovery listener. Causes a panic if there is already a listener set.
|
|
Removes the set Bluetooth Discovery listener. Causes a panic if there is no listener set. |
|
Sets the listener for a connection. Only one listener per connection is allowed, but the same ConnListener can be used with several connections. |
|
Removes the listener for a connection, if any. |
|
Adds a listener for the Close event. Adds the specified listener to the end of the list, unless it is already in the list. |
|
Removes a listener for the Close event. Removes the specified listener from the list, if it's in it. Must not be called from within closeEvent(). |
|
Adds the specified IdleListener to the end of the list, unless it is already in the list. IdleListeners are run again and again while they are registered. Take care, as constant processor usage will drain battery power quickly. |
|
Removes the specified IdleListener from the list, if it's in it. |
|
Adds a timer. This causes the runTimerEvent() function of the specified TimerListener to be called a number of times, at a fixed rate. The timer is then removed automatically. You can only have one timer per listener, so if a timer with the specified listener is already active, it is overwritten.
|
|
Removes the timer associated with the specified listener, if any. |
|
Returns a reference to the Environment. Causes a panic if no Environment exists. |
|
Calls focusGained() of all registered FocusListeners. |
|
Calls focusLost() of all registered FocusListeners. |
|
Calls keyPressEvent() of all registered KeyListeners with the specified keyCode. |
|
Calls keyReleaseEvent() of all registered KeyListeners with the specified keyCode. |
|
Calls pointerPressEvent() of all registered PointerListeners with the specified keyCode. |
|
Calls pointerMoveEvent() of all registered PointerListeners with the specified keyCode. |
|
Calls pointerReleaseEvent() of all registered PointerListeners with the specified keyCode. |
|
Calls the registered BluetoothListener, if any. |
|
Calls the registered ConnListener, if any, for the MAHandle specified by data. |
|
Calls all registered CloseListeners. |
|
Calls all registered IdleListeners once each. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|