public abstract class DefaultFocusTracker extends java.lang.Object implements FocusTracker
| Constructor and Description |
|---|
DefaultFocusTracker()
Constructs new tracker with the specified tracked component.
|
DefaultFocusTracker(boolean uniteWithChilds)
Constructs new tracker with the specified tracked component.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrackingEnabled()
Returns whether tracking is currently enabled or not.
|
boolean |
isUniteWithChilds()
Returns whether component and its childs in components tree should be counted as a single component or not.
|
void |
setTrackingEnabled(boolean enabled)
Sets whether tracking is currently enabled or not.
|
void |
setUniteWithChilds(boolean uniteWithChilds)
Sets whether component and its childs in components tree should be counted as a single component or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfocusChangedpublic DefaultFocusTracker()
public DefaultFocusTracker(boolean uniteWithChilds)
uniteWithChilds - whether component and its childs in components tree should be counted as a single component or notpublic boolean isTrackingEnabled()
isTrackingEnabled in interface FocusTrackerpublic void setTrackingEnabled(boolean enabled)
enabled - whether tracking is currently enabled or notpublic boolean isUniteWithChilds()
isUniteWithChilds in interface FocusTrackerpublic void setUniteWithChilds(boolean uniteWithChilds)
uniteWithChilds - whether component and its childs in components tree should be counted as a single component or not