KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > event > WindowEvent

java.awt.event
Class WindowEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.AWTEvent
          extended by java.awt.event.ComponentEvent
              extended by java.awt.event.WindowEvent
All Implemented Interfaces:
Serializable
See Also:
Top Examples, Source Code, WindowAdapter, WindowListener

public int getNewState()
See Also:
Frame.getExtendedState()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getOldState()
See Also:
Frame.getExtendedState()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Window getOppositeWindow()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Window getWindow()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[384]Close Popup
By Anonymous on 2003/09/08 05:45:00  Rate
public void ClosePopup (  )  throws Exception 
    {  
   Window win = Window.getWindow ( this ) ; 
   win.eval ( "alert ( \"Hello world!\" ) ;" ) ; 
   win.eval ( "window.close (  ) " ) ;   
    }   


public String paramString()
See Also:
ComponentEvent
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public WindowEvent(Window source,
                   int id)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public WindowEvent(Window source,
                   int id,
                   int oldState,
                   int newState)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public WindowEvent(Window source,
                   int id,
                   Window opposite)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public WindowEvent(Window source,
                   int id,
                   Window opposite,
                   int oldState,
                   int newState)
See Also:
IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_ACTIVATED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_CLOSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_CLOSING
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_DEACTIVATED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_DEICONIFIED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_FIRST
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_GAINED_FOCUS
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_ICONIFIED
See Also:
Frame.setIconImage(java.awt.Image)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_LAST
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_LOST_FOCUS
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_OPENED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int WINDOW_STATE_CHANGED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags