JIDE 3.5.15

com.jidesoft.utils
Class JideFocusTracker

java.lang.Object
  extended by com.jidesoft.utils.JideFocusTracker
Direct Known Subclasses:
JideTabbedPane.PageLastFocusTracker

public class JideFocusTracker
extends Object

For internal usage only.


Field Summary
protected  Component compHeighest
           
protected  Component lastFocus
           
protected  ContainerListener listenerContainer
           
protected  FocusListener listenerFocus
           
protected  FocusListener listenerMultiCast
           
protected  boolean repeat
           
 
Constructor Summary
JideFocusTracker()
           
JideFocusTracker(Component compHeighest)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compHeighest

protected Component compHeighest

listenerFocus

protected FocusListener listenerFocus

listenerContainer

protected ContainerListener listenerContainer

listenerMultiCast

protected transient FocusListener listenerMultiCast

repeat

protected boolean repeat

lastFocus

protected transient Component lastFocus
Constructor Detail

JideFocusTracker

public JideFocusTracker()

JideFocusTracker

public JideFocusTracker(Component compHeighest)
Method Detail

setHeighestComponent

public void setHeighestComponent(Component compHeighest)

getHeighestComponent

public Component getHeighestComponent()

isRepeating

public 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. The default is true.


setRepeating

public void setRepeating(boolean repeat)
See Also:
isRepeating()

addFocusListener

public void addFocusListener(FocusListener l)

removeFocusListener

public void removeFocusListener(FocusListener l)

addInternalListeners

protected void addInternalListeners(Component component)

removeInternalListeners

protected void removeInternalListeners(Component component)

JIDE 3.5.15