Class WKTPanel

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

    public class WKTPanel
    extends javax.swing.JPanel
    Version:
    1.7
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JPanel

        javax.swing.JPanel.AccessibleJPanel
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) javax.swing.Box aButtonPanel  
      (package private) java.awt.FlowLayout aButtonPanelLayout  
      (package private) javax.swing.JButton aCopyButton  
      (package private) javax.swing.JButton aCutButton  
      (package private) javax.swing.JLabel aLabel  
      (package private) javax.swing.Box aLabelPanel  
      (package private) javax.swing.JPanel aPanel  
      (package private) java.awt.BorderLayout aPanelLayout  
      (package private) javax.swing.JButton aPasteButton  
      (package private) javax.swing.JRadioButton aRB  
      (package private) javax.swing.JScrollPane aScrollPane  
      (package private) javax.swing.JTextArea aTextArea  
      (package private) javax.swing.Box bButtonPanel  
      (package private) java.awt.FlowLayout bButtonPanelLayout  
      (package private) javax.swing.JButton bCopyButton  
      (package private) javax.swing.JButton bCutButton  
      (package private) javax.swing.JLabel bLabel  
      (package private) javax.swing.Box bLabelPanel  
      (package private) javax.swing.JPanel bPanel  
      (package private) java.awt.BorderLayout bPanelLayout  
      (package private) javax.swing.JButton bPasteButton  
      (package private) javax.swing.JRadioButton bRB  
      (package private) javax.swing.JScrollPane bScrollPane  
      (package private) javax.swing.JTextArea bTextArea  
      private javax.swing.ImageIcon copyIcon  
      private javax.swing.ImageIcon cutIcon  
      (package private) javax.swing.ButtonGroup editMode  
      (package private) javax.swing.JButton exchangeButton  
      private javax.swing.ImageIcon exchangeGeomsIcon  
      private static java.awt.Color focusBackgroundColor  
      (package private) javax.swing.border.Border focusBorder  
      (package private) java.awt.GridBagLayout gridBagLayout1  
      (package private) java.awt.GridBagLayout gridBagLayout2  
      (package private) javax.swing.JButton inspectButton  
      private javax.swing.ImageIcon inspectIcon  
      (package private) javax.swing.JButton loadButton  
      private javax.swing.ImageIcon loadIcon  
      private static java.awt.Color otherBackgroundColor  
      (package private) javax.swing.border.Border otherBorder  
      (package private) javax.swing.JPanel panelAB  
      (package private) javax.swing.Box panelButtons  
      private javax.swing.ImageIcon pasteIcon  
      protected JTSTestBuilderFrame tbFrame  
      (package private) TestBuilderModel tbModel  
      (package private) javax.swing.border.TitledBorder titledBorder1  
      • Fields inherited from class javax.swing.JComponent

        listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
      • Fields inherited from class java.awt.Component

        accessibleContext, 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void aCopyButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void aCutButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void aPasteButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void aTextArea_keyTyped​(java.awt.event.KeyEvent e)  
      (package private) void bCopyButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void bCutButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void bPasteButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void bTextArea_keyTyped​(java.awt.event.KeyEvent e)  
      (package private) void copy​(java.awt.event.ActionEvent e, int geomIndex)  
      java.lang.String getGeometryText​(int geomIndex)  
      java.lang.String getGeometryTextA()  
      java.lang.String getGeometryTextB()  
      java.lang.String getGeometryTextClean​(int geomIndex)  
      private void initFileDrop​(java.awt.Component comp, int index)  
      (package private) void jbInit()  
      (package private) void loadButton_actionPerformed​(java.awt.event.ActionEvent e)  
      (package private) void paste​(int geomIndex)  
      private void setFocusGeometry​(int index)  
      void setModel​(TestBuilderModel tbModel)  
      void setText​(Geometry g, int geomIndex)  
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, 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, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, 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, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • gridBagLayout1

        java.awt.GridBagLayout gridBagLayout1
      • panelButtons

        javax.swing.Box panelButtons
      • panelAB

        javax.swing.JPanel panelAB
      • loadButton

        javax.swing.JButton loadButton
      • inspectButton

        javax.swing.JButton inspectButton
      • exchangeButton

        javax.swing.JButton exchangeButton
      • titledBorder1

        javax.swing.border.TitledBorder titledBorder1
      • bLabel

        javax.swing.JLabel bLabel
      • gridBagLayout2

        java.awt.GridBagLayout gridBagLayout2
      • aLabel

        javax.swing.JLabel aLabel
      • aPanel

        javax.swing.JPanel aPanel
      • aCopyButton

        javax.swing.JButton aCopyButton
      • aPasteButton

        javax.swing.JButton aPasteButton
      • aCutButton

        javax.swing.JButton aCutButton
      • aLabelPanel

        javax.swing.Box aLabelPanel
      • aButtonPanel

        javax.swing.Box aButtonPanel
      • aButtonPanelLayout

        java.awt.FlowLayout aButtonPanelLayout
      • aPanelLayout

        java.awt.BorderLayout aPanelLayout
      • aRB

        javax.swing.JRadioButton aRB
      • bPanel

        javax.swing.JPanel bPanel
      • bCopyButton

        javax.swing.JButton bCopyButton
      • bPasteButton

        javax.swing.JButton bPasteButton
      • bCutButton

        javax.swing.JButton bCutButton
      • bLabelPanel

        javax.swing.Box bLabelPanel
      • bButtonPanel

        javax.swing.Box bButtonPanel
      • bButtonPanelLayout

        java.awt.FlowLayout bButtonPanelLayout
      • bPanelLayout

        java.awt.BorderLayout bPanelLayout
      • bRB

        javax.swing.JRadioButton bRB
      • aScrollPane

        javax.swing.JScrollPane aScrollPane
      • aTextArea

        javax.swing.JTextArea aTextArea
      • bScrollPane

        javax.swing.JScrollPane bScrollPane
      • bTextArea

        javax.swing.JTextArea bTextArea
      • editMode

        javax.swing.ButtonGroup editMode
      • copyIcon

        private final javax.swing.ImageIcon copyIcon
      • pasteIcon

        private final javax.swing.ImageIcon pasteIcon
      • cutIcon

        private final javax.swing.ImageIcon cutIcon
      • loadIcon

        private final javax.swing.ImageIcon loadIcon
      • inspectIcon

        private final javax.swing.ImageIcon inspectIcon
      • exchangeGeomsIcon

        private final javax.swing.ImageIcon exchangeGeomsIcon
      • focusBorder

        javax.swing.border.Border focusBorder
      • otherBorder

        javax.swing.border.Border otherBorder
      • focusBackgroundColor

        private static java.awt.Color focusBackgroundColor
      • otherBackgroundColor

        private static java.awt.Color otherBackgroundColor
    • Method Detail

      • jbInit

        void jbInit()
             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setText

        public void setText​(Geometry g,
                            int geomIndex)
      • getGeometryTextA

        public java.lang.String getGeometryTextA()
      • getGeometryTextB

        public java.lang.String getGeometryTextB()
      • getGeometryText

        public java.lang.String getGeometryText​(int geomIndex)
      • getGeometryTextClean

        public java.lang.String getGeometryTextClean​(int geomIndex)
      • aTextArea_keyTyped

        void aTextArea_keyTyped​(java.awt.event.KeyEvent e)
      • bTextArea_keyTyped

        void bTextArea_keyTyped​(java.awt.event.KeyEvent e)
      • loadButton_actionPerformed

        void loadButton_actionPerformed​(java.awt.event.ActionEvent e)
      • aCopyButton_actionPerformed

        void aCopyButton_actionPerformed​(java.awt.event.ActionEvent e)
      • bCopyButton_actionPerformed

        void bCopyButton_actionPerformed​(java.awt.event.ActionEvent e)
      • copy

        void copy​(java.awt.event.ActionEvent e,
                  int geomIndex)
      • aPasteButton_actionPerformed

        void aPasteButton_actionPerformed​(java.awt.event.ActionEvent e)
      • bPasteButton_actionPerformed

        void bPasteButton_actionPerformed​(java.awt.event.ActionEvent e)
      • paste

        void paste​(int geomIndex)
      • aCutButton_actionPerformed

        void aCutButton_actionPerformed​(java.awt.event.ActionEvent e)
      • bCutButton_actionPerformed

        void bCutButton_actionPerformed​(java.awt.event.ActionEvent e)
      • initFileDrop

        private void initFileDrop​(java.awt.Component comp,
                                  int index)
      • setFocusGeometry

        private void setFocusGeometry​(int index)