org.pfsw.joi.inspectors
Class MapSpy

java.lang.Object
  extended by org.pfsw.joi.Spy
      extended by org.pfsw.joi.AbstractObjectSpy
          extended by org.pfsw.joi.inspectors.MapSpy

public class MapSpy
extends AbstractObjectSpy

An instance of this class is a wrapper for one inspected object that implements the map interface. It provides the API an inspector is using, to display internal information about the inspected array.


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
MapSpy(java.lang.Object obj)
          Initialize the new instance with default values.
 
Method Summary
protected  void addAllElements()
           
protected  java.util.Map getMap()
          Returns the wrapped map (is doing the type cast).
 
Methods inherited from class org.pfsw.joi.AbstractObjectSpy
allowsElementModification, canBeSorted, createNewElementList, getElementFilter, getElementHolders, getElementNamed, getElements, getFullElementCount, getModifiers, getName, getObject, getType, getValue, initializeElements, setElementFilter, setElementHolders, setElementValue, setName, setObject, sortElements
 
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, isEditable, isElementSpy, isPrimitive, objectAsComponent, objectAsString, rendererFor, setRendererRegistry, setValue, valueIsNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapSpy

public MapSpy(java.lang.Object obj)
       throws java.lang.SecurityException
Initialize the new instance with default values.

Throws:
java.lang.SecurityException
Method Detail

getMap

protected java.util.Map getMap()
Returns the wrapped map (is doing the type cast).


addAllElements

protected void addAllElements()
                       throws java.lang.SecurityException
Specified by:
addAllElements in class AbstractObjectSpy
Throws:
java.lang.SecurityException