| java.lang.Object org.netbeans.jemmy.util.Dumper
Dumper | public class Dumper (Code) | | Allows to "dump" current GUI state into XML file.
Uses operators' getDump methods to gather the information.
author: Alexandre Iline (alexandre.iline@sun.com) |
Method Summary | |
public static void | dumpAll(PrintWriter writer) Prints all component hierarchy (GUI dump). | public static void | dumpAll(PrintWriter writer, DumpController listener) | public static void | dumpAll(PrintStream writer) Prints all component hierarchy (GUI dump). | public static void | dumpAll(PrintStream writer, DumpController listener) | public static void | dumpAll(String fileName) Prints component hierarchy (GUI dump) into file. | public static void | dumpAll(String fileName, DumpController listener) | public static void | dumpComponent(Component comp, PrintWriter writer, DumpController listener) Prints component hierarchy (GUI dump)
starting from comp component. | public static void | dumpComponent(Component comp, PrintWriter writer) | public static void | dumpComponent(Component comp, PrintStream writer) Prints component hierarchy (GUI dump). | public static void | dumpComponent(Component comp, PrintStream writer, DumpController listener) | public static void | dumpComponent(Component comp, String fileName) Prints component hierarchy (GUI dump) into file. | public static void | dumpComponent(Component comp, String fileName, DumpController listener) | public static String | escape(String str) | public static void | printDTD(PrintWriter writer) Prints XML DTD information. | public static void | printDTD(PrintStream writer) Prints XML DTD information. | public static void | printDTD(String fileName) Prints XML DTD information into file. |
dumpAll | public static void dumpAll(PrintWriter writer)(Code) | | Prints all component hierarchy (GUI dump).
Parameters: writer - a writer to write to. |
dumpAll | public static void dumpAll(PrintStream writer)(Code) | | Prints all component hierarchy (GUI dump).
Parameters: writer - a stream to write to. |
dumpComponent | public static void dumpComponent(Component comp, PrintWriter writer, DumpController listener)(Code) | | Prints component hierarchy (GUI dump)
starting from comp component.
Parameters: comp - a component to get information from. Parameters: writer - a writer to write to. |
dumpComponent | public static void dumpComponent(Component comp, PrintStream writer)(Code) | | Prints component hierarchy (GUI dump).
starting from comp component.
Parameters: comp - a component to get information from. Parameters: writer - a stream to write to. |
printDTD | public static void printDTD(PrintWriter writer)(Code) | | Prints XML DTD information.
Parameters: writer - a writer to write to. |
printDTD | public static void printDTD(PrintStream writer)(Code) | | Prints XML DTD information.
Parameters: writer - a stream to write to. |
|
|