|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tentackle.plaf.TFlasherListener
public class TFlasherListener
A listener to implement focus flashing.
| Field Summary | |
|---|---|
protected JComponent |
comp
the component having the focus |
protected static boolean |
flasherVisible
true if flasher visible |
| Constructor Summary | |
|---|---|
TFlasherListener(JComponent comp)
Creates a flasher listener. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
void |
focusGained(FocusEvent e)
Invoked when a component gains the keyboard focus. |
void |
focusLost(FocusEvent e)
Invoked when a component loses the keyboard focus. |
static boolean |
isFlasherVisible()
Checks whether flasher is visible. |
static void |
removeFlasherListener(JComponent comp)
Removes a flasher listener from the given comp, if any. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static boolean flasherVisible
protected JComponent comp
| Constructor Detail |
|---|
public TFlasherListener(JComponent comp)
comp - the component to "flash"| Method Detail |
|---|
public static boolean isFlasherVisible()
public static void removeFlasherListener(JComponent comp)
comp - the componentpublic void actionPerformed(ActionEvent e)
java.awt.event.ActionListener
actionPerformed in interface ActionListenerpublic void focusGained(FocusEvent e)
java.awt.event.FocusListener
focusGained in interface FocusListenerpublic void focusLost(FocusEvent e)
java.awt.event.FocusListener
focusLost in interface FocusListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||