org.pfsw.joi.inspectors
Class StringInspector

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.pfsw.joi.Inspector
          extended by org.pfsw.joi.BasicInspector
              extended by org.pfsw.joi.inspectors.StringInspector
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.TreeSelectionListener

public class StringInspector
extends BasicInspector

Special inspector that displays strings as an array of characters.


Field Summary
 
Fields inherited from class org.pfsw.joi.BasicInspector
actResetModifiedValue, actSaveModifiedValue, actSetValueToNull, errorDevice, MIN_INFO_WIDTH, MIN_TREE_HEIGHT, MIN_TREE_WIDTH
 
Fields inherited from class org.pfsw.joi.Inspector
ActionSeparator, EXPORTER_MAPPING_FILENAME, EXPORTER_MAPPING_FILENAME_ALL, EXPORTER_MAPPING_FILENAME_CLASSLOADER, ExportPrefix, ImportPrefix, INSPECTOR_MAPPING_FILENAME, INSPECTOR_MAPPING_FILENAME_ALL, INSPECTOR_MAPPING_FILENAME_CLASSLOADER, PROG_COPYRIGHT, PROG_FULL_SIGNATURE, PROG_ID, PROG_NAME, PROG_SIGNATURE, PROG_VERSION
 
Constructor Summary
StringInspector()
          Initialize the new instance with default values.
 
Method Summary
protected  java.lang.String getInspectorId()
           
protected  AbstractObjectSpy objectSpyFor(java.lang.Object obj)
          Returns the correct wrapper class (spy) for the given object.
 
Methods inherited from class org.pfsw.joi.BasicInspector
actionPerformed, basicInspectCurrentElement, buildInspectionView, createElementPopupMenu, createMenu, createMenuItem, createTreeNodes, createTreePanel, displayCurrentEditableValue, displayValueModificationError, elementFilter, getActualTypeField, getAssociatedView, getContentArea, getController, getCurrentElement, getDeclaredTypeField, getDialogOwner, getElementTree, getInspectionView, getObjectDisplayName, getTypeStringOf, getValueComponentOf, getValueOf, getValueStringOf, getValueTypeStringOf, inspectCurrentElement, inspectObject, isEditableElement, isVisualComponent, mouseClicked, parseToBoolean, parseToByte, parseToCharacter, parseToDouble, parseToFloat, parseToInteger, parseToLong, parseToShort, prefs, resetModifiedValue, saveModifiedValue, setActualTypeField, setAssociatedView, setContentArea, setController, setCurrentElement, setCurrentValueToNull, setDeclaredTypeField, setElementTree, setFilter, sortElements, str, updateDisplay, updateInformation, valueChanged
 
Methods inherited from class org.pfsw.joi.Inspector
anyInspectorActive, basicBindInspector, basicInspect, basicInspect, basicInspectIn, basicInspectWait, basicInspectWait, bindInspector, closeAllControllers, deactivateHalt, exportProviderRegistry, findExporterNamed, findInspectorClassInfoFor, fullIdentification, getAboutInfoText, getBasicObjectSpy, getBasicObjectSpy, getControllerRegistry, getExportProviderRegistry, getHaltCurrentProccess, getInspectedObject, getInspectorBinding, getInspectorFor, getObjectSpy, getObjectSpy, getProgSignature, halt, initializeExportProviderRegistry, initializeInspectorBinding, inspect, inspect, inspectIn, inspectorBinding, inspectWait, inspectWait, isHaltActive, launchInspectorOn, main, objectSpyFor, openInspectorIn, registerController, setControllerRegistry, setExportProviderRegistry, setHaltCurrentProccess, setInspectedObject, setInspectorBinding, shortIdentification, unregisterController, waitWhileHaltActive
 
Methods inherited from class java.awt.event.MouseAdapter
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringInspector

public StringInspector()
Initialize the new instance with default values.

Method Detail

objectSpyFor

protected AbstractObjectSpy objectSpyFor(java.lang.Object obj)
Returns the correct wrapper class (spy) for the given object.
Here it is always a StringSpy.

Overrides:
objectSpyFor in class Inspector
Parameters:
obj - The object to inspect

getInspectorId

protected java.lang.String getInspectorId()
Overrides:
getInspectorId in class BasicInspector