Class WorkbenchFrame

    • Method Detail

      • removeEasyKeyListener

        public void removeEasyKeyListener​(KeyListener l)
      • getMBCommittedMemory

        public String getMBCommittedMemory()
      • setEnvelopeRenderingThreshold

        public void setEnvelopeRenderingThreshold​(int newEnvelopeRenderingThreshold)
        Parameters:
        newEnvelopeRenderingThreshold - the number of on-screen features above which envelope rendering should occur
      • setMaximumFeatureExtentForEnvelopeRenderingInPixels

        public void setMaximumFeatureExtentForEnvelopeRenderingInPixels​(int newMaximumFeatureExtentForEnvelopeRenderingInPixels)
      • log

        public void log​(String message)
      • getLog

        public String getLog()
      • setMinimumFeatureExtentForAnyRenderingInPixels

        public void setMinimumFeatureExtentForAnyRenderingInPixels​(int newMinimumFeatureExtentForAnyRenderingInPixels)
      • displayLastStatusMessage

        public void displayLastStatusMessage()
      • setTimeMessage

        public void setTimeMessage​(String message)
      • getActiveInternalFrame

        public JInternalFrame getActiveInternalFrame()
      • getEnvelopeRenderingThreshold

        public int getEnvelopeRenderingThreshold()
      • getWMSLayerNamePopupMenu

        public TitledPopupMenu getWMSLayerNamePopupMenu()
      • getNodeClassToPopupMenuMap

        public Map getNodeClassToPopupMenuMap()
      • getMaximumFeatureExtentForEnvelopeRenderingInPixels

        public int getMaximumFeatureExtentForEnvelopeRenderingInPixels()
      • getMinimumFeatureExtentForAnyRenderingInPixels

        public int getMinimumFeatureExtentForAnyRenderingInPixels()
      • getOutputFrame

        public HTMLFrame getOutputFrame()
      • addInternalFrame

        public void addInternalFrame​(JInternalFrame internalFrame)
        If internalFrame is a LayerManagerProxy, the close behaviour will be altered so that the user is prompted if it is the last window on the LayerManager.
      • addInternalFrame

        public void addInternalFrame​(JInternalFrame internalFrame,
                                     boolean alwaysOnTop,
                                     boolean autoUpdateToolBar)
      • addTaskFrame

        public TaskFrame addTaskFrame()
      • createTask

        public Task createTask()
      • flash

        public void flash​(HTMLFrame frame)
      • handleThrowable

        public void handleThrowable​(Throwable t)
        Can be called regardless of whether the current thread is the AWT event dispatch thread.
        Specified by:
        handleThrowable in interface ErrorHandler
        Parameters:
        t - Description of the Parameter
      • handleThrowable

        public static void handleThrowable​(Throwable t,
                                           Component parent)
      • hasInternalFrame

        public boolean hasInternalFrame​(JInternalFrame internalFrame)
      • removeInternalFrame

        public void removeInternalFrame​(JInternalFrame internalFrame)
      • warnUser

        public void warnUser​(String warning)
        Description copied from interface: LayerViewPanelContext
        Notifies the user about a minor issue. Subclasses may wish to simply forward the warning to #setStatusMessage.
        Specified by:
        warnUser in interface LayerViewPanelContext
      • zoomChanged

        public void zoomChanged​(org.locationtech.jts.geom.Envelope modelEnvelope)
        Specified by:
        zoomChanged in interface ViewportListener
      • getChoosableStyleClasses

        public Set getChoosableStyleClasses()
        Fundamental Style classes (like BasicStyle, VertexStyle, and LabelStyle) cannot be removed, and are thus excluded from the choosable Style classes.
      • addChoosableStyleClass

        public void addChoosableStyleClass​(Class choosableStyleClass)
      • addKeyboardShortcut

        public void addKeyboardShortcut​(int keyCode,
                                        int modifiers,
                                        PlugIn plugIn,
                                        EnableCheck enableCheck)
        Adds a keyboard shortcut for a plugin. logs plugin exceptions. note - attaching to keyCode 'a', modifiers =1 will detect shift-A events. It will *not* detect caps-lock-'a'. This is due to inconsistencies in java.awt.event.KeyEvent. In the unlikely event you actually do want to also also attach to caps-lock-'a', then make two shortcuts - one to keyCode 'a' and modifiers =1 (shift-A) and one to keyCode 'A' and modifiers=0 (caps-lock A). For more details, see the java.awt.event.KeyEvent class - it has a full explaination.
        Parameters:
        keyCode - What key to attach to (See java.awt.event.KeyEvent)
        modifiers - 0= none, 1=shift, 2= cntrl, 8=alt, 3=shift+cntrl, etc... See the modifier mask constants in the Event class
        plugIn - What plugin to execute
        enableCheck - Is the key enabled at the moment?