com.neuron.app.tonto
Class CCFWalker
java.lang.Object
com.neuron.app.tonto.CCFWalker
public class CCFWalker
- extends java.lang.Object
A utility class for scanning a CCF tree. CCFWalker allows you to implement
a single one-method interface (IWalker) for walking a CCF structure. Plug
it into an instanceof IWalker and call walk() to be notified as each CCF
tree node (device, panel, frame, button) is scanned.
Method Summary |
static void |
irex(CCF ccf,
com.neuron.irdb.IRDatabase dbi)
|
static void |
main(java.lang.String[] args)
|
void |
walk(IWalker walker)
Initiate a CCF tree walk. |
void |
walk(IWalker walker,
CCFNode node)
Initiate a CCF tree walk from a specific node. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CCFWalker
public CCFWalker(CCF ccf)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
irex
public static void irex(CCF ccf,
com.neuron.irdb.IRDatabase dbi)
throws java.io.IOException
- Throws:
java.io.IOException
walk
public void walk(IWalker walker)
- Initiate a CCF tree walk.
- Parameters:
walker
- object to be notified as nodes are walked.
walk
public void walk(IWalker walker,
CCFNode node)
- Initiate a CCF tree walk from a specific node.
- Parameters:
walker
- object to be notified as nodes are walked.node
- object to use as the root of the walk.