|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.managers.focus.DefaultFocusTracker
public abstract class DefaultFocusTracker
Small extension class for FocusTracker that simplifies its creation.
Constructor Summary | |
---|---|
DefaultFocusTracker()
Constructs new tracker with the specified tracked component. |
|
DefaultFocusTracker(boolean uniteWithChilds)
Constructs new tracker with the specified tracked component. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.alee.managers.focus.FocusTracker |
---|
focusChanged |
Constructor Detail |
---|
public DefaultFocusTracker()
public DefaultFocusTracker(boolean uniteWithChilds)
uniteWithChilds
- whether component and its childs in components tree should be counted as a single component or notMethod Detail |
---|
public boolean isTrackingEnabled()
isTrackingEnabled
in interface FocusTracker
public void setTrackingEnabled(boolean enabled)
enabled
- whether tracking is currently enabled or notpublic boolean isUniteWithChilds()
isUniteWithChilds
in interface FocusTracker
public void setUniteWithChilds(boolean uniteWithChilds)
uniteWithChilds
- whether component and its childs in components tree should be counted as a single component or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |