org.pfsw.joi.inspectors
Class ListElementSpy

java.lang.Object
  extended by org.pfsw.joi.Spy
      extended by org.pfsw.joi.ElementSpy
          extended by org.pfsw.joi.CollectionElementSpy
              extended by org.pfsw.joi.inspectors.ListElementSpy
All Implemented Interfaces:
java.lang.Comparable

public class ListElementSpy
extends CollectionElementSpy

Wrapper class for elements in objects that implement the java.util.List interface.


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
ListElementSpy(AbstractObjectSpy container, int pos, java.lang.Object object)
          Initialize the new instance with default values.
 
Method Summary
protected  int getIndex()
           
protected  void modifyValue(java.lang.Object newValue)
           
protected  void setIndex(int newValue)
           
 
Methods inherited from class org.pfsw.joi.CollectionElementSpy
getCurrentType, getModifiers, getName, getObject, getType, getValue, setModifiers, setName, setObject
 
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, 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

ListElementSpy

public ListElementSpy(AbstractObjectSpy container,
                      int pos,
                      java.lang.Object object)
Initialize the new instance with default values.

Method Detail

getIndex

protected int getIndex()

setIndex

protected void setIndex(int newValue)

modifyValue

protected void modifyValue(java.lang.Object newValue)
                    throws java.lang.Exception
Overrides:
modifyValue in class ElementSpy
Throws:
java.lang.Exception