com.jogamp.newt.event.awt
Class AWTWindowAdapter
java.lang.Object
com.jogamp.newt.event.awt.AWTAdapter
com.jogamp.newt.event.awt.AWTWindowAdapter
- All Implemented Interfaces:
- ComponentListener, FocusListener, WindowListener, EventListener
public class AWTWindowAdapter
- extends AWTAdapter
- implements ComponentListener, WindowListener, FocusListener
AWTWindowAdapter
public AWTWindowAdapter(WindowListener newtListener)
AWTWindowAdapter
public AWTWindowAdapter(WindowListener newtListener,
Window newtProxy)
AWTWindowAdapter
public AWTWindowAdapter(Window downstream)
addTo
public AWTAdapter addTo(Component awtComponent)
- Description copied from class:
AWTAdapter
- Due to the fact that some NEWT
NEWTEventListener
are mapped to more than one EventListener
,
this method is for your convenience to use this Adapter as a listener for all types.
E.g. MouseListener
is mapped to MouseListener
and MouseMotionListener
.
- Specified by:
addTo
in class AWTAdapter
removeFrom
public AWTAdapter removeFrom(Component awtComponent)
- Specified by:
removeFrom
in class AWTAdapter
- See Also:
AWTAdapter.addTo(java.awt.Component)
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGained
in interface FocusListener
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLost
in interface FocusListener
componentResized
public void componentResized(ComponentEvent e)
- Specified by:
componentResized
in interface ComponentListener
componentMoved
public void componentMoved(ComponentEvent e)
- Specified by:
componentMoved
in interface ComponentListener
componentShown
public void componentShown(ComponentEvent e)
- Specified by:
componentShown
in interface ComponentListener
componentHidden
public void componentHidden(ComponentEvent e)
- Specified by:
componentHidden
in interface ComponentListener
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivated
in interface WindowListener
windowClosed
public void windowClosed(WindowEvent e)
- Specified by:
windowClosed
in interface WindowListener
windowClosing
public void windowClosing(WindowEvent e)
- Specified by:
windowClosing
in interface WindowListener
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Specified by:
windowDeactivated
in interface WindowListener
windowDeiconified
public void windowDeiconified(WindowEvent e)
- Specified by:
windowDeiconified
in interface WindowListener
windowIconified
public void windowIconified(WindowEvent e)
- Specified by:
windowIconified
in interface WindowListener
windowOpened
public void windowOpened(WindowEvent e)
- Specified by:
windowOpened
in interface WindowListener
Copyright 2010 JogAmp Community.