All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.swing.target.TargetManager.Util
java.lang.Object
|
+----java.awt.swing.target.TargetManager.Util
- public static class TargetManager.Util
- extends Object
theTm-
TargetManager.Util()
-
descendTargetForIteratorAndContinue(Object, Iterator)
- A utility function for resolving target delegates, for use
by implementations of TargetManager in their
findTargetAndContinue methods.
descendTargetForIteratorWatchDepth(Object, Iterator, int)
- The actual recursing part of descendTargetForIteratorAndContinue
getTargetManager()
- Return the TargetManager for the current ThreadGroup.
setTargetManager(TargetManager)
- Set the TargetManager for the current ThreadGroup
theTm
protected static TargetManager theTm
TargetManager.Util
public TargetManager.Util()
getTargetManager
public static TargetManager getTargetManager()
- Return the TargetManager for the current ThreadGroup. If
none has been registered with setTargetManager, return an
instance of a dummy implementation that does nothing.
setTargetManager
public static void setTargetManager(TargetManager tm)
- Set the TargetManager for the current ThreadGroup
descendTargetForIteratorAndContinue
public static boolean descendTargetForIteratorAndContinue(Object target,
Iterator c)
- A utility function for resolving target delegates, for use
by implementations of TargetManager in their
findTargetAndContinue methods.
If target has a delegate (indicated by implementing the
Target interface and giving a non-null return to
getTargetDelegate) present that to the iterator, then present
the target itself. Returns true if all candidates are
rejected and the search must continue, false if the search
is done.
This is a recursive test. The delegate may delegate in
turn, up to a limit of 100 delegates. A delegate always
gets first crack.
descendTargetForIteratorWatchDepth
protected static boolean descendTargetForIteratorWatchDepth(Object o,
Iterator c,
int depth)
- The actual recursing part of descendTargetForIteratorAndContinue
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature