Groovy Documentation

griffon.pivot
[Java] Class WindowManager.WindowStateHelper

java.lang.Object
  griffon.pivot.support.adapters.WindowStateAdapter
      griffon.pivot.WindowManager.WindowStateHelper

private class WindowManager.WindowStateHelper
extends WindowStateAdapter

WindowStateAdapter that triggers application events when a window is shown/hidden.

Authors:
Andres Almiray


Field Summary
 
Fields inherited from class WindowStateAdapter
previewWindowClose, previewWindowOpen, windowCloseVetoed, windowClosed, windowOpenVetoed, windowOpened
 
Constructor Summary
WindowManager.WindowStateHelper()

 
Method Summary
org.apache.pivot.util.Vote previewWindowClose(org.apache.pivot.wtk.Window arg0)

void windowClosed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Display arg1, org.apache.pivot.wtk.Window arg2)

Triggers a WindowHidden event with the window as sole argument

void windowOpened(org.apache.pivot.wtk.Window arg0)

Triggers a WindowShown event with the window as sole argument

 
Methods inherited from class WindowStateAdapter
getPreviewWindowClose, getPreviewWindowOpen, getWindowCloseVetoed, getWindowClosed, getWindowOpenVetoed, getWindowOpened, previewWindowClose, previewWindowOpen, setPreviewWindowClose, setPreviewWindowOpen, setWindowCloseVetoed, setWindowClosed, setWindowOpenVetoed, setWindowOpened, windowCloseVetoed, windowClosed, windowOpenVetoed, windowOpened
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

WindowManager.WindowStateHelper

WindowManager.WindowStateHelper()


 
Method Detail

previewWindowClose

@Override
public org.apache.pivot.util.Vote previewWindowClose(org.apache.pivot.wtk.Window arg0)


windowClosed

public void windowClosed(org.apache.pivot.wtk.Window arg0, org.apache.pivot.wtk.Display arg1, org.apache.pivot.wtk.Window arg2)
Triggers a WindowHidden event with the window as sole argument


windowOpened

public void windowOpened(org.apache.pivot.wtk.Window arg0)
Triggers a WindowShown event with the window as sole argument


 

Groovy Documentation