public class JideFocusTracker extends Object
Modifier and Type | Field and Description |
---|---|
protected Component |
compHeighest |
protected Component |
lastFocus |
protected ContainerListener |
listenerContainer |
protected FocusListener |
listenerFocus |
protected FocusListener |
listenerMultiCast |
protected boolean |
repeat |
Constructor and Description |
---|
JideFocusTracker() |
JideFocusTracker(Component compHeighest) |
Modifier and Type | Method and Description |
---|---|
void |
addFocusListener(FocusListener l) |
protected void |
addInternalListeners(Component component) |
Component |
getHeighestComponent() |
boolean |
isRepeating()
This allows you to set whether focus lost or focus gained will be
fired if the event is for the same component as a previous event.
|
void |
removeFocusListener(FocusListener l) |
protected void |
removeInternalListeners(Component component) |
void |
setHeighestComponent(Component compHeighest) |
void |
setRepeating(boolean repeat) |
protected Component compHeighest
protected FocusListener listenerFocus
protected ContainerListener listenerContainer
protected transient FocusListener listenerMultiCast
protected boolean repeat
protected transient Component lastFocus
public JideFocusTracker()
public JideFocusTracker(Component compHeighest)
public void setHeighestComponent(Component compHeighest)
public Component getHeighestComponent()
public boolean isRepeating()
public void setRepeating(boolean repeat)
isRepeating()
public void addFocusListener(FocusListener l)
public void removeFocusListener(FocusListener l)
protected void addInternalListeners(Component component)
protected void removeInternalListeners(Component component)