|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pf.joi.Spy org.pf.joi.AbstractObjectSpy
public abstract class AbstractObjectSpy
An instance of this class is a wrapper for one inspected object. It provides the API an inspector is using, to display internal information about the inspected object.
Field Summary |
---|
Fields inherited from class org.pf.joi.Spy |
---|
RENDERER_MAPPING_FILENAME, RENDERER_MAPPING_FILENAME_ALL, RENDERER_MAPPING_FILENAME_CLASSLOADER |
Constructor Summary | |
---|---|
AbstractObjectSpy(java.lang.Object obj)
Initialize the new instance with default values. |
Method Summary | |
---|---|
ElementFilter |
getElementFilter()
|
ElementSpy |
getElementNamed(java.lang.String elementName)
Returns the element with the given name or null if no such element can be found in the receiver. |
java.util.List |
getElements()
Returns all elements, i.e. including inherited elements as List. |
int |
getFullElementCount()
Returns the number of elements ignoring all filter criteria. |
int |
getModifiers()
Returns the bit mask indicating the modifiers of the class declaration. |
java.lang.String |
getName()
Returns the name of the inspected object |
java.lang.Object |
getObject()
|
java.lang.Class |
getType()
Returns the type (class) of the underlying object. |
java.lang.Object |
getValue()
Returns the value of the underlying object. |
void |
setElementFilter(ElementFilter aValue)
|
void |
setName(java.lang.String newValue)
|
boolean |
sortElements()
Sorts all elements of the underlying object in ascending order. |
Methods inherited from class org.pf.joi.Spy |
---|
getTypeString, getValueComponent, getValueString, getValueTypeString, is_boolean, is_byte, is_char, is_double, is_float, is_int, is_long, is_short, isEditable, isElementSpy, isPrimitive, setValue, valueIsNull |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractObjectSpy(java.lang.Object obj) throws java.lang.SecurityException
java.lang.SecurityException
Method Detail |
---|
public java.lang.String getName()
Spy
getName
in class Spy
public void setName(java.lang.String newValue)
public java.lang.Object getObject()
public ElementFilter getElementFilter()
public void setElementFilter(ElementFilter aValue)
public java.lang.Class getType()
getType
in class Spy
public java.lang.Object getValue() throws java.lang.Exception
getValue
in class Spy
java.lang.Exception
public int getModifiers()
getModifiers
in class Spy
Modifier
public java.util.List getElements()
public int getFullElementCount()
public ElementSpy getElementNamed(java.lang.String elementName)
public boolean sortElements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |