com.jogamp.newt.event.awt
Class AWTParentWindowAdapter
java.lang.Object
com.jogamp.newt.event.awt.AWTAdapter
com.jogamp.newt.event.awt.AWTWindowAdapter
com.jogamp.newt.event.awt.AWTParentWindowAdapter
- All Implemented Interfaces:
- ComponentListener, FocusListener, HierarchyListener, WindowListener, EventListener
public class AWTParentWindowAdapter
- extends AWTWindowAdapter
- implements HierarchyListener
Specialized parent/client adapter,
where the NEWT child window really gets resized,
and the parent move window event gets discarded.
AWTParentWindowAdapter
public AWTParentWindowAdapter(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
.
- Overrides:
addTo
in class AWTWindowAdapter
removeFrom
public AWTAdapter removeFrom(Component awtComponent)
- Overrides:
removeFrom
in class AWTWindowAdapter
- See Also:
AWTAdapter.addTo(java.awt.Component)
focusGained
public void focusGained(FocusEvent e)
- Specified by:
focusGained
in interface FocusListener
- Overrides:
focusGained
in class AWTWindowAdapter
focusLost
public void focusLost(FocusEvent e)
- Specified by:
focusLost
in interface FocusListener
- Overrides:
focusLost
in class AWTWindowAdapter
componentResized
public void componentResized(ComponentEvent e)
- Specified by:
componentResized
in interface ComponentListener
- Overrides:
componentResized
in class AWTWindowAdapter
componentMoved
public void componentMoved(ComponentEvent e)
- Specified by:
componentMoved
in interface ComponentListener
- Overrides:
componentMoved
in class AWTWindowAdapter
windowActivated
public void windowActivated(WindowEvent e)
- Specified by:
windowActivated
in interface WindowListener
- Overrides:
windowActivated
in class AWTWindowAdapter
windowDeactivated
public void windowDeactivated(WindowEvent e)
- Specified by:
windowDeactivated
in interface WindowListener
- Overrides:
windowDeactivated
in class AWTWindowAdapter
hierarchyChanged
public void hierarchyChanged(HierarchyEvent e)
- Specified by:
hierarchyChanged
in interface HierarchyListener
Copyright 2010 JogAmp Community.