swingwtx.swing
Class JComponent.InternalFrameSelectionListener

java.lang.Object
  extended byswingwtx.swing.JComponent.InternalFrameSelectionListener
All Implemented Interfaces:
EventListener, java.util.EventListener, FocusListener, MouseListener
Enclosing class:
JComponent

protected class JComponent.InternalFrameSelectionListener
extends java.lang.Object
implements MouseListener, FocusListener

Event adapter for managing internal frame selection if this component is an internal frame child. Fires when the mouseClicked or focusGained event hits. There will never be more than once instance of this class per JComponent to make it easy to add/remove.


Constructor Summary
protected JComponent.InternalFrameSelectionListener()
           
 
Method Summary
 void focusGained(FocusEvent e)
           
 void focusLost(FocusEvent e)
           
 void mouseClicked(MouseEvent e)
           
 void mouseEntered(MouseEvent e)
           
 void mouseExited(MouseEvent e)
           
 void mousePressed(MouseEvent e)
           
 void mouseReleased(MouseEvent e)
           
 void selectFrame()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JComponent.InternalFrameSelectionListener

protected JComponent.InternalFrameSelectionListener()
Method Detail

focusGained

public void focusGained(FocusEvent e)
Specified by:
focusGained in interface FocusListener

focusLost

public void focusLost(FocusEvent e)
Specified by:
focusLost in interface FocusListener

mouseClicked

public void mouseClicked(MouseEvent e)
Specified by:
mouseClicked in interface MouseListener

mouseEntered

public void mouseEntered(MouseEvent e)
Specified by:
mouseEntered in interface MouseListener

mouseExited

public void mouseExited(MouseEvent e)
Specified by:
mouseExited in interface MouseListener

mousePressed

public void mousePressed(MouseEvent e)
Specified by:
mousePressed in interface MouseListener

mouseReleased

public void mouseReleased(MouseEvent e)
Specified by:
mouseReleased in interface MouseListener

selectFrame

public void selectFrame()