com.gemstone.tools

## Class GbxToolPanel

- java.lang.Object
- - java.awt.Component
  - - java.awt.Container
    - - javax.swing.JComponent
      - - javax.swing.JPanel
        - - com.gemstone.tools.GbxToolPanel

- All Implemented Interfaces:
    GbjObserver, java.awt.event.ActionListener, java.awt.event.ComponentListener, java.awt.event.MouseListener, java.awt.event.WindowListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, java.util.Observer, javax.accessibility.Accessible, javax.swing.event.MenuListener
  Direct Known Subclasses:
    GbjInspectorPanel

      public class GbxToolPanel
      extends javax.swing.JPanel
      implements java.awt.event.WindowListener, javax.swing.event.MenuListener, java.awt.event.MouseListener, java.awt.event.ActionListener, GbjObserver, java.awt.event.ComponentListener

  Author:
    vincef
  See Also:
    Serialized Form

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class javax.swing.JComponent

      `javax.swing.JComponent.AccessibleJComponent`

    - ### Nested classes/interfaces inherited from class java.awt.Component

      `java.awt.Component.BaselineResizeBehavior`

  - ### Field Summary

    - ### Fields inherited from class javax.swing.JComponent

      `TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW`

    - ### Fields inherited from class java.awt.Component

      `BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT`

    - ### Fields inherited from interface java.awt.image.ImageObserver

      `ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GbxToolPanel()` Creates a new instance of GbxToolPanel
    `GbxToolPanel(GbjSession session, GbjLauncher launcher)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `actionPerformed(java.awt.event.ActionEvent actionEvent)`
    `void` | `chooseClassNameMatching_dialogString_(java.lang.String sel, java.lang.String aString)`
    `void` | `chooseSelectorMatching_dialogString_(java.lang.String sel, java.lang.String aString)`
    `void` | `componentHidden(java.awt.event.ComponentEvent componentEvent)`
    `void` | `componentMoved(java.awt.event.ComponentEvent componentEvent)`
    `void` | `componentResized(java.awt.event.ComponentEvent componentEvent)`
    `void` | `componentShown(java.awt.event.ComponentEvent componentEvent)`
    `GbjObject` | `contextObject()`
    `GbjObject` | `doIt()`
    `GbjObject` | `doIt(boolean inspecting)`
    `GbjObject` | `doitNames()`
    `GbjObject` | `doitValues()`
    `void` | `fileInFile()`
    `void` | `fileInString(java.lang.String aString)`
    `void` | `fileInText()`
    `java.lang.String` | `getTextFromFile()`
    `int` | `indexOf_inList_(java.lang.Object anObject, java.lang.Object[] aList)`
    `void` | `inspectIt()`
    `void` | `menuCanceled(javax.swing.event.MenuEvent menuEvent)`
    `void` | `menuDeselected(javax.swing.event.MenuEvent menuEvent)`
    `void` | `menuSelected(javax.swing.event.MenuEvent menuEvent)`
    `void` | `mouseClicked(java.awt.event.MouseEvent mouseEvent)`
    `void` | `mouseEntered(java.awt.event.MouseEvent mouseEvent)`
    `void` | `mouseExited(java.awt.event.MouseEvent mouseEvent)`
    `void` | `mousePressed(java.awt.event.MouseEvent mouseEvent)`
    `void` | `mouseReleased(java.awt.event.MouseEvent mouseEvent)`
    `void` | `openFile()`
    `void` | `printIt()`
    `void` | `printResult(java.lang.String resultText)`
    `void` | `processError_(GbjException e)`
    `void` | `processError_message_printing_inspecting_(GbjException e, java.lang.String msg, boolean printing, boolean inspecting)`
    `void` | `resetClassOrganizer()`
    `void` | `saveFileAs()`
    `void` | `saveTextToFile(java.lang.String aString, java.lang.String aLabel, java.lang.String initialName)`
    `GbxToolsSupport` | `serverSupport()`
    `void` | `session_(GbjSession aGSSession)`
    `GbjSession` | `session()`
    `void` | `setBreak()`
    `void` | `showErrorMessage_title_(java.lang.String error, java.lang.String aTitle)`
    `void` | `update(GbjObservable obj, java.lang.String notificationMessage, java.lang.Object argument)` Determine how to handle events sent to an observed GBJ object.
    `void` | `update(java.util.Observable obj, java.lang.Object argument)`
    `void` | `updateFont(java.awt.Font font)`
    `void` | `updateListWidget_withObjects_(javax.swing.JList widget, java.lang.Object[] objects)`
    `void` | `updateLookAndFeel()`
    `void` | `windowActivated(java.awt.event.WindowEvent windowEvent)`
    `void` | `windowClosed(java.awt.event.WindowEvent windowEvent)`
    `void` | `windowClosing(java.awt.event.WindowEvent windowEvent)`
    `void` | `windowDeactivated(java.awt.event.WindowEvent windowEvent)`
    `void` | `windowDeiconified(java.awt.event.WindowEvent windowEvent)`
    `void` | `windowIconified(java.awt.event.WindowEvent windowEvent)`
    `void` | `windowOpened(java.awt.event.WindowEvent windowEvent)`

    - ### Methods inherited from class javax.swing.JPanel

      `getAccessibleContext, getUI, getUIClassID, setUI, updateUI`

    - ### Methods inherited from class javax.swing.JComponent

      `addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update`

    - ### Methods inherited from class java.awt.Container

      `add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate`

    - ### Methods inherited from class java.awt.Component

      `action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### GbxToolPanel

          public GbxToolPanel()

      Creates a new instance of GbxToolPanel

    - #### GbxToolPanel

          public GbxToolPanel(GbjSession session,
                              GbjLauncher launcher)

  - ### Method Detail

    - #### actionPerformed

          public void actionPerformed(java.awt.event.ActionEvent actionEvent)

      Specified by:
        `actionPerformed` in interface `java.awt.event.ActionListener`

    - #### componentHidden

          public void componentHidden(java.awt.event.ComponentEvent componentEvent)

      Specified by:
        `componentHidden` in interface `java.awt.event.ComponentListener`

    - #### componentMoved

          public void componentMoved(java.awt.event.ComponentEvent componentEvent)

      Specified by:
        `componentMoved` in interface `java.awt.event.ComponentListener`

    - #### componentResized

          public void componentResized(java.awt.event.ComponentEvent componentEvent)

      Specified by:
        `componentResized` in interface `java.awt.event.ComponentListener`

    - #### componentShown

          public void componentShown(java.awt.event.ComponentEvent componentEvent)

      Specified by:
        `componentShown` in interface `java.awt.event.ComponentListener`

    - #### menuCanceled

          public void menuCanceled(javax.swing.event.MenuEvent menuEvent)

      Specified by:
        `menuCanceled` in interface `javax.swing.event.MenuListener`

    - #### menuDeselected

          public void menuDeselected(javax.swing.event.MenuEvent menuEvent)

      Specified by:
        `menuDeselected` in interface `javax.swing.event.MenuListener`

    - #### menuSelected

          public void menuSelected(javax.swing.event.MenuEvent menuEvent)

      Specified by:
        `menuSelected` in interface `javax.swing.event.MenuListener`

    - #### mouseEntered

          public void mouseEntered(java.awt.event.MouseEvent mouseEvent)

      Specified by:
        `mouseEntered` in interface `java.awt.event.MouseListener`

    - #### mouseExited

          public void mouseExited(java.awt.event.MouseEvent mouseEvent)

      Specified by:
        `mouseExited` in interface `java.awt.event.MouseListener`

    - #### mouseReleased

          public void mouseReleased(java.awt.event.MouseEvent mouseEvent)

      Specified by:
        `mouseReleased` in interface `java.awt.event.MouseListener`

    - #### mousePressed

          public void mousePressed(java.awt.event.MouseEvent mouseEvent)

      Specified by:
        `mousePressed` in interface `java.awt.event.MouseListener`

    - #### mouseClicked

          public void mouseClicked(java.awt.event.MouseEvent mouseEvent)

      Specified by:
        `mouseClicked` in interface `java.awt.event.MouseListener`

    - #### windowActivated

          public void windowActivated(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowActivated` in interface `java.awt.event.WindowListener`

    - #### windowClosed

          public void windowClosed(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowClosed` in interface `java.awt.event.WindowListener`

    - #### windowClosing

          public void windowClosing(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowClosing` in interface `java.awt.event.WindowListener`

    - #### windowDeactivated

          public void windowDeactivated(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowDeactivated` in interface `java.awt.event.WindowListener`

    - #### windowDeiconified

          public void windowDeiconified(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowDeiconified` in interface `java.awt.event.WindowListener`

    - #### windowIconified

          public void windowIconified(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowIconified` in interface `java.awt.event.WindowListener`

    - #### windowOpened

          public void windowOpened(java.awt.event.WindowEvent windowEvent)

      Specified by:
        `windowOpened` in interface `java.awt.event.WindowListener`

    - #### updateLookAndFeel

          public void updateLookAndFeel()

    - #### updateFont

          public void updateFont(java.awt.Font font)

    - #### updateListWidget_withObjects_

          public void updateListWidget_withObjects_(javax.swing.JList widget,
                                                    java.lang.Object[] objects)

    - #### update

          public void update(java.util.Observable obj,
                             java.lang.Object argument)

      Specified by:
        `update` in interface `java.util.Observer`

    - #### update

          public void update(GbjObservable obj,
                             java.lang.String notificationMessage,
                             java.lang.Object argument)

      Description copied from interface: `GbjObserver`
      Determine how to handle events sent to an observed GBJ object. These are typically GbjSession instances.

      The following are possible notificationMessages:

      - Transactional activity: "begin", "abort", "commit"
      - Object change notification: "ObjChg"
      - Gem-to-gem signalling: Other messages as coded
      Specified by:
        `update` in interface `GbjObserver`
      Parameters:
        `obj` - GbjObservable
        `notificationMessage` - String
        `argument` - Object

    - #### printIt

          public void printIt()

    - #### inspectIt

          public void inspectIt()

    - #### doIt

          public GbjObject doIt()

    - #### doIt

          public GbjObject doIt(boolean inspecting)

    - #### printResult

          public void printResult(java.lang.String resultText)

    - #### setBreak

          public void setBreak()

    - #### fileInText

          public void fileInText()

    - #### fileInFile

          public void fileInFile()

    - #### fileInString

          public void fileInString(java.lang.String aString)

    - #### session

          public GbjSession session()

    - #### session_

          public void session_(GbjSession aGSSession)

    - #### serverSupport

          public GbxToolsSupport serverSupport()

    - #### resetClassOrganizer

          public void resetClassOrganizer()

    - #### chooseSelectorMatching_dialogString_

          public void chooseSelectorMatching_dialogString_(java.lang.String sel,
                                                           java.lang.String aString)

    - #### chooseClassNameMatching_dialogString_

          public void chooseClassNameMatching_dialogString_(java.lang.String sel,
                                                            java.lang.String aString)

    - #### doitNames

          public GbjObject doitNames()

    - #### doitValues

          public GbjObject doitValues()

    - #### contextObject

          public GbjObject contextObject()

    - #### saveFileAs

          public void saveFileAs()

    - #### saveTextToFile

          public void saveTextToFile(java.lang.String aString,
                                     java.lang.String aLabel,
                                     java.lang.String initialName)

    - #### openFile

          public void openFile()

    - #### getTextFromFile

          public java.lang.String getTextFromFile()

    - #### processError_

          public void processError_(GbjException e)

    - #### processError_message_printing_inspecting_

          public void processError_message_printing_inspecting_(GbjException e,
                                                                java.lang.String msg,
                                                                boolean printing,
                                                                boolean inspecting)

    - #### showErrorMessage_title_

          public void showErrorMessage_title_(java.lang.String error,
                                              java.lang.String aTitle)

    - #### indexOf_inList_

          public int indexOf_inList_(java.lang.Object anObject,
                                     java.lang.Object[] aList)