Package org.netbeans.jemmy
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.void
Prints allsuperclasses names.void
Prints object fields names and values.void
Prints everything.void
Prints object methods names and parameters.void
PrintstoString()
information.void
Specifies the object value.void
Defines print output streams or writers.
-
Constructor Details
-
ObjectBrowser
public ObjectBrowser()Constructor.
-
-
Method Details
-
setOutput
Defines print output streams or writers.- Specified by:
setOutput
in interfaceOutputable
- Parameters:
out
- Identify the streams or writers used for print output.- See Also:
-
getOutput
Returns print output streams or writers.- Specified by:
getOutput
in 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
Returns the object value.- Returns:
- Current object.
- See Also:
-
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.
-