|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcage.utility.OnActionFocusSwitcher
public class OnActionFocusSwitcher
Implementation of ActionListener
that tries to focus a given
component when fired.
Constructor Summary | |
---|---|
OnActionFocusSwitcher(javax.swing.JComponent c)
Creates a new OnActionFocusSwitcher . |
|
OnActionFocusSwitcher(javax.swing.JComponent c,
javax.swing.JComponent target)
Creates a new OnActionFocusSwitcher and adds it to the
specified JComboBox or AbstractButton . |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnActionFocusSwitcher(javax.swing.JComponent c)
OnActionFocusSwitcher
.
c
- The component that needs to be focused.public OnActionFocusSwitcher(javax.swing.JComponent c, javax.swing.JComponent target)
OnActionFocusSwitcher
and adds it to the
specified JComboBox
or AbstractButton
.
c
- The component that needs to be focused.target
- The JComboBox
or AbstractButton
to which needs to be listenedMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |