org.pfsw.joi.inspectors
Class KeyValueInspector

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.KeyValueInspector
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
Direct Known Subclasses:
DictionaryInspector, MapInspector

public abstract class KeyValueInspector
extends BasicInspector

Abstract superclass for all inspectors that present key/value pairs.


Field Summary
protected static java.lang.String actKeyInspectTab
           
protected static java.lang.String actKeyInspectWindow
           
 
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
KeyValueInspector()
          Initialize the new instance with default values.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Is called whenever a user action event occurred.
protected  javax.swing.JPopupMenu createElementPopupMenu()
           
protected  void inspectCurrentKey(int where)
           
 
Methods inherited from class org.pfsw.joi.BasicInspector
basicInspectCurrentElement, buildInspectionView, createMenu, createMenuItem, createTreeNodes, createTreePanel, displayCurrentEditableValue, displayValueModificationError, elementFilter, getActualTypeField, getAssociatedView, getContentArea, getController, getCurrentElement, getDeclaredTypeField, getDialogOwner, getElementTree, getInspectionView, getInspectorId, 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, 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
 

Field Detail

actKeyInspectWindow

protected static final java.lang.String actKeyInspectWindow
See Also:
Constant Field Values

actKeyInspectTab

protected static final java.lang.String actKeyInspectTab
See Also:
Constant Field Values
Constructor Detail

KeyValueInspector

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

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Is called whenever a user action event occurred.
This method is actually performing all actions, triggered by buttons, keystrokes or menu items.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class BasicInspector
Parameters:
e - The action event holding further information on what happened.

inspectCurrentKey

protected void inspectCurrentKey(int where)

createElementPopupMenu

protected javax.swing.JPopupMenu createElementPopupMenu()
Overrides:
createElementPopupMenu in class BasicInspector