111112113114115116117118119120
} protected void notifyXAxisChange() { for (int i = 0; i < joystickListeners.size(); i++) { ((JoystickListener) joystickListeners.elementAt(i)).xAxisMoved( new JoystickEvent(this, JoystickEvent.DEFAULT, getState("xValue"))); } }
120121122123124125126127128129
} protected void notifyYAxisChange() { for (int i = 0; i < joystickListeners.size(); i++) { ((JoystickListener) joystickListeners.elementAt(i)).yAxisMoved( new JoystickEvent(this, JoystickEvent.DEFAULT, getState("yValue"))); } }
129130131132133134135136137138
} protected void notifyZAxisChange() { for (int i = 0; i < joystickListeners.size(); i++) { ((JoystickListener) joystickListeners.elementAt(i)).zAxisMoved( new JoystickEvent(this, JoystickEvent.DEFAULT, getState("zValue"))); } }
138139140141142143144145146147
} protected void notifyThrottleChange() { for (int i = 0; i < joystickListeners.size(); i++) { ((JoystickListener) joystickListeners.elementAt(i)).throttleMoved( new JoystickEvent(this, JoystickEvent.DEFAULT, getState("Throttle"))); } }