de.glossmaker.gui.gloss.main
Class TopPanelFocusListener

Package class diagram package TopPanelFocusListener
java.lang.Object
  extended by de.glossmaker.gui.gloss.main.TopPanelFocusListener
All Implemented Interfaces:
FocusListener, EventListener

public class TopPanelFocusListener
extends Object
implements FocusListener

This class selects the text in the JTextComponent if the component gains the focus.

Author:
Markus Flingelli

Constructor Summary
TopPanelFocusListener(JTextComponent component)
           
 
Method Summary
 void focusGained(FocusEvent e)
           
 void focusLost(FocusEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopPanelFocusListener

public TopPanelFocusListener(JTextComponent component)
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


Copyright © 2010 - 2011 Markus Flingelli. All Rights Reserved.