|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgr.zeus.ui.typesafe.SelectAllTextOnFocus
public final class SelectAllTextOnFocus
This class is a simple FocusListener that when enabled performs a selectAll() to any JTextComponent.
Constructor Summary | |
---|---|
SelectAllTextOnFocus()
Constructor. |
Method Summary | |
---|---|
void |
focusGained(java.awt.event.FocusEvent evt)
Focus gained event. |
void |
focusLost(java.awt.event.FocusEvent evt)
Focus lost event. |
boolean |
isEnabled()
Gets status flag. |
void |
setEnabled(boolean f)
Sets status flag. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectAllTextOnFocus()
Method Detail |
---|
public boolean isEnabled()
public void setEnabled(boolean f)
f
- true/false.public void focusGained(java.awt.event.FocusEvent evt)
focusGained
in interface java.awt.event.FocusListener
evt
- The event.public void focusLost(java.awt.event.FocusEvent evt)
focusLost
in interface java.awt.event.FocusListener
evt
- The event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |