|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pfsw.joi.Spy
org.pfsw.joi.ElementSpy
org.pfsw.joi.CollectionElementSpy
public class CollectionElementSpy
Superclass for spys that hold information about collection elements.
Field Summary |
---|
Fields inherited from class org.pfsw.joi.Spy |
---|
PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, RENDERER_MAPPING_FILENAME, RENDERER_MAPPING_FILENAME_ALL, RENDERER_MAPPING_FILENAME_CLASSLOADER |
Constructor Summary | |
---|---|
CollectionElementSpy(AbstractObjectSpy container,
java.lang.Object object)
Initialize the new instance with default values. |
|
CollectionElementSpy(AbstractObjectSpy container,
java.lang.String name,
java.lang.Object object)
Initialize the new instance with default values. |
Method Summary | |
---|---|
protected java.lang.Class |
getCurrentType()
Returns the type of the contained element. |
int |
getModifiers()
Returns the modifiers of the elements declaration. |
java.lang.String |
getName()
Returns the name of the inspected object |
java.lang.Object |
getObject()
|
java.lang.Class |
getType()
Returns the type of the entry values, which by default Object. |
java.lang.Object |
getValue()
Returns the object that is wrapped by this array element holder. |
void |
setModifiers(int newValue)
|
protected void |
setName(java.lang.String aValue)
|
protected void |
setObject(java.lang.Object newValue)
|
Methods inherited from class org.pfsw.joi.ElementSpy |
---|
compareTo, getContainer, is_Boolean_or_boolean, is_Byte_or_byte, is_Character_or_char, is_Double_or_double, is_Float_or_float, is_Integer_or_int, is_Long_or_long, is_Short_or_short, isCorrectType, isEditable, isElementSpy, modifyValue, setContainer, setValue |
Methods inherited from class org.pfsw.joi.Spy |
---|
getRendererRegistry, getTypeString, getTypeStringOf, getValueComponent, getValueString, getValueTypeString, invokeInspectString, is_boolean, is_byte, is_char, is_double, is_float, is_int, is_long, is_short, isPrimitive, objectAsComponent, objectAsString, rendererFor, setRendererRegistry, valueIsNull |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionElementSpy(AbstractObjectSpy container, java.lang.String name, java.lang.Object object)
public CollectionElementSpy(AbstractObjectSpy container, java.lang.Object object)
Method Detail |
---|
public java.lang.Object getObject()
protected void setObject(java.lang.Object newValue)
public java.lang.String getName()
Spy
getName
in class Spy
protected void setName(java.lang.String aValue)
public int getModifiers()
ElementSpy
getModifiers
in class ElementSpy
Modifier
public void setModifiers(int newValue)
public java.lang.Object getValue() throws java.lang.Exception
getValue
in class Spy
java.lang.Exception
public java.lang.Class getType()
getType
in class Spy
protected java.lang.Class getCurrentType()
getCurrentType
in class ElementSpy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |