|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.safs.tools.drivers.STAFProcessContainer.Processor
public class STAFProcessContainer.Processor
Process a component. Will process properties and children based on settings. Will instantiate additional Processors for child components if we are processing children.
| Constructor Summary | |
|---|---|
STAFProcessContainer.Processor(java.lang.Object[] toplevel)
Constructor provided a predefined top level windows array. |
|
STAFProcessContainer.Processor(java.lang.Object container,
int level)
Constructor with default use of System.out as OutputStream |
|
| Method Summary | |
|---|---|
PCTree |
getPCTree()
Accessor for hierarchy information |
boolean |
isHierarchyDialogClosed()
|
protected void |
makeIndent()
Increase our output indention based on the depth (level) of the hierarchy being processed. |
protected java.lang.String |
makeName(java.lang.String text,
java.lang.String compType)
Make a name based on the 'text', or if no text, then the 'compType'; Make sure to remove all non-alphanumeric characters first When a name is already in our 'map' then we append an index after the name to make it unique, starting from 2. |
void |
processParent()
The primary entry point for processing the initial object. |
void |
run()
The Thread.start entry point. |
void |
setHierarchyDialogClosed(boolean hierarchyDialogClosed)
|
void |
setParentText(java.lang.String text)
Accessor for parentText |
void |
setPCTree(PCTree atree)
Accessor for hierarchy information |
protected void |
showTree(PCTree pctree)
Show the Hierarchy Tree of AUT. Note: This method will block the main thread of STAFProcessContainer$Processor User can click a node on that tree and highlight the component of AUT. User can triple-click a node or use F2 to modify a node's name. |
protected void |
write(java.lang.String data)
write a line of (indented) text to our preset OutputStream. |
protected void |
writeMap(java.lang.String data)
write a line of text to our preset AppMap OutputStream. |
protected void |
writeProperties(java.lang.Object container)
Get and output the full list of available properties for the container. |
protected void |
writeTree(PCTree tree)
Write the raw tree data to System.out and the writeMap function. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STAFProcessContainer.Processor(java.lang.Object container,
int level)
container - STAFProcessContainerResultlevel - of object hierarchypublic STAFProcessContainer.Processor(java.lang.Object[] toplevel)
toplevel - STAFProcessContainerResult[]| Method Detail |
|---|
public boolean isHierarchyDialogClosed()
public void setHierarchyDialogClosed(boolean hierarchyDialogClosed)
public void run()
run in interface java.lang.Runnableprotected void makeIndent()
public void setPCTree(PCTree atree)
public PCTree getPCTree()
public void setParentText(java.lang.String text)
public void processParent()
protected java.lang.String makeName(java.lang.String text,
java.lang.String compType)
text - StringcompType - String
protected void write(java.lang.String data)
protected void writeMap(java.lang.String data)
protected void writeProperties(java.lang.Object container)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionprotected void writeTree(PCTree tree)
tree - stored PCTree hierarchy of our processing.writeMap(String)protected void showTree(PCTree pctree)
pctree -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||