|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.jemmy.util.Dumper
public class Dumper
Allows to "dump" current GUI state into XML file. Uses operators' getDump methods to gather the information.
Constructor Summary | |
---|---|
Dumper()
|
Method Summary | |
---|---|
static void |
dumpAll(java.io.PrintStream writer)
Prints all component hierarchy (GUI dump). |
static void |
dumpAll(java.io.PrintStream writer,
DumpController listener)
|
static void |
dumpAll(java.io.PrintWriter writer)
Prints all component hierarchy (GUI dump). |
static void |
dumpAll(java.io.PrintWriter writer,
DumpController listener)
|
static void |
dumpAll(java.lang.String fileName)
Prints component hierarchy (GUI dump) into file. |
static void |
dumpAll(java.lang.String fileName,
DumpController listener)
|
static void |
dumpComponent(java.awt.Component comp,
java.io.PrintStream writer)
Prints component hierarchy (GUI dump). |
static void |
dumpComponent(java.awt.Component comp,
java.io.PrintStream writer,
DumpController listener)
|
static void |
dumpComponent(java.awt.Component comp,
java.io.PrintWriter writer)
|
static void |
dumpComponent(java.awt.Component comp,
java.io.PrintWriter writer,
DumpController listener)
Prints component hierarchy (GUI dump) starting from comp component. |
static void |
dumpComponent(java.awt.Component comp,
java.lang.String fileName)
Prints component hierarchy (GUI dump) into file. |
static void |
dumpComponent(java.awt.Component comp,
java.lang.String fileName,
DumpController listener)
|
static java.lang.String |
escape(java.lang.String str)
|
static void |
printDTD(java.io.PrintStream writer)
Prints XML DTD information. |
static void |
printDTD(java.io.PrintWriter writer)
Prints XML DTD information. |
static void |
printDTD(java.lang.String fileName)
Prints XML DTD information into file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dumper()
Method Detail |
---|
public static void printDTD(java.io.PrintWriter writer)
writer
- a writer to write to.public static void printDTD(java.io.PrintStream writer)
writer
- a stream to write to.public static void printDTD(java.lang.String fileName) throws java.io.FileNotFoundException
fileName
- a file to write to.
java.io.FileNotFoundException
public static void dumpComponent(java.awt.Component comp, java.io.PrintWriter writer, DumpController listener)
comp
component.
comp
- a component to get information from.writer
- a writer to write to.public static void dumpComponent(java.awt.Component comp, java.io.PrintWriter writer)
public static void dumpComponent(java.awt.Component comp, java.io.PrintStream writer)
comp
component.
comp
- a component to get information from.writer
- a stream to write to.public static void dumpComponent(java.awt.Component comp, java.io.PrintStream writer, DumpController listener)
public static void dumpComponent(java.awt.Component comp, java.lang.String fileName) throws java.io.FileNotFoundException
comp
- a component to get information from.fileName
- a file to write to.
java.io.FileNotFoundException
public static void dumpComponent(java.awt.Component comp, java.lang.String fileName, DumpController listener) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public static void dumpAll(java.io.PrintWriter writer)
writer
- a writer to write to.public static void dumpAll(java.io.PrintWriter writer, DumpController listener)
public static void dumpAll(java.io.PrintStream writer)
writer
- a stream to write to.public static void dumpAll(java.io.PrintStream writer, DumpController listener)
public static void dumpAll(java.lang.String fileName) throws java.io.FileNotFoundException
fileName
- a file to write to.
java.io.FileNotFoundException
public static void dumpAll(java.lang.String fileName, DumpController listener) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public static java.lang.String escape(java.lang.String str)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |