Class ObjectBrowser
java.lang.Object
org.netbeans.jemmy.ObjectBrowser
- All Implemented Interfaces:
Outputable
Class to display information about object: fields, methods, ancestors and so on.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the object value.Returns print output streams or writers.voidPrints allsuperclasses names.voidPrints object fields names and values.voidPrints everything.voidPrints object methods names and parameters.voidPrintstoString()information.voidSpecifies the object value.voidDefines print output streams or writers.
-
Constructor Details
-
ObjectBrowser
public ObjectBrowser()Constructor.
-
-
Method Details
-
setOutput
Defines print output streams or writers.- Specified by:
setOutputin interfaceOutputable- Parameters:
out- Identify the streams or writers used for print output.- See Also:
-
getOutput
Returns print output streams or writers.- Specified by:
getOutputin interfaceOutputable- Returns:
- an object that contains references to objects for printing to output and err streams.
- See Also:
-
setObject
Specifies the object value.- Parameters:
obj- Object to work with.- See Also:
-
getObject
-
printToString
public void printToString()PrintstoString()information. -
printFields
public void printFields()Prints object fields names and values. -
printMethods
public void printMethods()Prints object methods names and parameters. -
printClasses
public void printClasses()Prints allsuperclasses names. -
printFull
public void printFull()Prints everything.
-