|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FocusTracker
Advanced interface that allows you to track focus behavior within component and its childs. Note that method names are made longer to avoid clashing with other component methods in case you implement tracker interface.
Method Summary | |
---|---|
void |
focusChanged(boolean focused)
Informs about component(s) focus changes depending on tracker settings. |
boolean |
isInvolved(java.awt.Component component,
java.awt.Component tracked)
Returns whether specified component is involved with this tracker or not. |
boolean |
isTrackingEnabled()
Returns whether tracking is currently enabled or not. |
Method Detail |
---|
boolean isTrackingEnabled()
boolean isInvolved(java.awt.Component component, java.awt.Component tracked)
component
- component to check for involvementtracked
- tracked component
void focusChanged(boolean focused)
focused
- whether tracked component(s) is focused or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |