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