Пример #1
0
 public void fireOnActivate(boolean activate_or_deactivate) {
   // fire Window.onActivate or Window.onDeactivate event
   TVP.EventManager.postInputEvent(
       new WindowEvents.OnWindowActivateEvent(this, activate_or_deactivate),
       EventManager.EPT_REMOVE_POST);
   // to discard redundant events
 }
Пример #2
0
 public void postReleaseCaptureEvent() {
   TVP.EventManager.postInputEvent(new WindowEvents.OnReleaseCaptureInputEvent(this), 0);
 }
Пример #3
0
 /** 画面の向きが変更された時、イベントを発行する */
 public void fireOnOrientationChanged() {
   // fire Window.onOrientationChanged
   TVP.EventManager.postInputEvent(
       new WindowEvents.OnOrientationChangedEvent(this), EventManager.EPT_REMOVE_POST);
 }