Class dstc.kalimantan.inspect.Inspector
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dstc.kalimantan.inspect.Inspector

java.lang.Object
   |
   +----dstc.kalimantan.inspect.Inspector

public class Inspector
extends Object
An abstract class for accessing the contents of an object
See Also:
InspectorPanel, InspectorFrame

Constructor Index

 o Inspector()

Method Index

 o getClassName()
Returns the name of the target's class
 o getInspector(int)
Returns a new Inspector on the indexed instance variable or array element of the target
 o getNames()
Returns an array of strings representing the names of the instance variables or array indices of the target
 o getTarget()
Returns a string representing the target
 o getValue(int)
Return a string representing the indexed instance variable or array element of the target
 o on(Object)
Constructs a new inspector on the object
 o on(boolean)
Constructs a new inspector on the boolean
 o on(byte)
Constructs a new inspector on the byte
 o on(char)
Constructs a new inspector on the char
 o on(short)
Constructs a new inspector on the short
 o on(int)
Constructs a new inspector on the int
 o on(long)
Constructs a new inspector on the long
 o on(float)
Constructs a new inspector on the float
 o on(double)
Constructs a new inspector on the double

Constructors

 o Inspector
  public Inspector()

Methods

 o on
  public static Inspector on(Object object)
Constructs a new inspector on the object
 o on
  public static Inspector on(boolean object)
Constructs a new inspector on the boolean
 o on
  public static Inspector on(byte object)
Constructs a new inspector on the byte
 o on
  public static Inspector on(char object)
Constructs a new inspector on the char
 o on
  public static Inspector on(short object)
Constructs a new inspector on the short
 o on
  public static Inspector on(int object)
Constructs a new inspector on the int
 o on
  public static Inspector on(long object)
Constructs a new inspector on the long
 o on
  public static Inspector on(float object)
Constructs a new inspector on the float
 o on
  public static Inspector on(double object)
Constructs a new inspector on the double
 o getClassName
  public abstract String getClassName()
Returns the name of the target's class
 o getTarget
  public abstract String getTarget()
Returns a string representing the target
 o getNames
  public abstract String[] getNames()
Returns an array of strings representing the names of the instance variables or array indices of the target
 o getValue
  public abstract String getValue(int index)
Return a string representing the indexed instance variable or array element of the target
 o getInspector
  public abstract Inspector getInspector(int index)
Returns a new Inspector on the indexed instance variable or array element of the target

All Packages  Class Hierarchy  This Package  Previous  Next  Index