类 ConsoleDockable

  • 所有已实现的接口:
    bibliothek.gui.dock.common.intern.CDockable, bibliothek.gui.dock.common.SingleCDockable

    public class ConsoleDockable
    extends bibliothek.gui.dock.common.DefaultSingleCDockable
    作者:
    yaqiang
    • 嵌套类概要

      • 从类继承的嵌套类/接口 bibliothek.gui.dock.common.intern.DefaultCDockable

        bibliothek.gui.dock.common.intern.DefaultCDockable.Permissions
    • 字段概要

      • 从类继承的字段 bibliothek.gui.dock.common.intern.AbstractCDockable

        listenerCollection
      • 从接口继承的字段 bibliothek.gui.dock.common.intern.CDockable

        ACTION_KEY_CLOSE, ACTION_KEY_EXTERNALIZE, ACTION_KEY_MAXIMIZE, ACTION_KEY_MINIMIZE, ACTION_KEY_MINIMIZE_HOLD, ACTION_KEY_NORMALIZE, ACTION_KEY_UNEXTERNALIZE, ACTION_KEY_UNMAXIMIZE_EXTERNALIZED
    • 构造器概要

      构造器 
      构造器 说明
      ConsoleDockable​(FrmMain parent, java.lang.String startupPath, java.lang.String id, java.lang.String title, bibliothek.gui.dock.common.action.CAction... actions)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void enter()
      Do Enter key
      void exec​(java.lang.String command)
      Run a command line
      void execfile​(java.lang.String fn)
      Run a python file
      org.meteoinfo.console.JConsole getConsole()
      Get console
      org.meteoinfo.console.jython.PythonInteractiveInterpreter getInterpreter()
      Get interactive interpreter
      void run​(java.lang.String command)
      Run a command line
      void runfile​(java.lang.String code)
      Run a Jython file text
      void runPythonScript​(java.lang.String code)
      Run Jython script
      void setLookFeel​(java.lang.String laf)
      Set Look and feel
      void setParent​(FrmMain parent)
      Set parent frame
      void setStartupPath​(java.lang.String path)
      Set startup path
      • 从类继承的方法 bibliothek.gui.dock.common.DefaultSingleCDockable

        getUniqueId
      • 从类继承的方法 bibliothek.gui.dock.common.intern.DefaultCDockable

        add, add, addAction, addSeparator, asStation, createCommonDockable, getAction, getActionCount, getContentPane, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, insertAction, insertSeparator, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable, remove, removeAction, removeAction, setCloseable, setExternalizable, setLayout, setMaximizable, setMinimizable, setStackable, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTip
      • 从类继承的方法 bibliothek.gui.dock.common.intern.AbstractCDockable

        addCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, control, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getClose, getColors, getControl, getControlAccess, getDefaultLocation, getDockableUniqueId, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, init, isDockableVisible, isEnabled, isNormalizeable, isResizeLocked, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isSticky, isStickySwitchable, isTitleShown, isVisible, propertyListeners, putAction, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setControlAccess, setDefaultLocation, setEnabled, setExtendedMode, setFocusComponent, setGrouping, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setResizeLocked, setResizeLockedHorizontally, setResizeLockedVertically, setResizeRequest, setResizeRequest, setSingleTabShown, setSticky, setStickySwitchable, setTitleShown, setVisible, setWorkingArea, stateListeners, toFront, toString
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • 从接口继承的方法 bibliothek.gui.dock.common.intern.CDockable

        addCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, asStation, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getColors, getControl, getControlAccess, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, intern, isCloseable, isDockableVisible, isEnabled, isExternalizable, isMaximizable, isMinimizable, isNormalizeable, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isStackable, isSticky, isStickySwitchable, isTitleShown, isVisible, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setControlAccess, setExtendedMode, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setSticky, setStickySwitchable, setVisible, setWorkingArea
    • 构造器详细资料

      • ConsoleDockable

        public ConsoleDockable​(FrmMain parent,
                               java.lang.String startupPath,
                               java.lang.String id,
                               java.lang.String title,
                               bibliothek.gui.dock.common.action.CAction... actions)
    • 方法详细资料

      • setLookFeel

        public void setLookFeel​(java.lang.String laf)
        Set Look and feel
        参数:
        laf - Look and feel
      • getInterpreter

        public org.meteoinfo.console.jython.PythonInteractiveInterpreter getInterpreter()
        Get interactive interpreter
        返回:
        Interactive interpreter
      • getConsole

        public org.meteoinfo.console.JConsole getConsole()
        Get console
        返回:
        Console
      • setStartupPath

        public void setStartupPath​(java.lang.String path)
        Set startup path
        参数:
        path - Startup path
      • setParent

        public void setParent​(FrmMain parent)
        Set parent frame
        参数:
        parent - Parent frame
      • run

        public void run​(java.lang.String command)
        Run a command line
        参数:
        command - Command line
      • enter

        public void enter()
        Do Enter key
      • exec

        public void exec​(java.lang.String command)
        Run a command line
        参数:
        command - Command line
      • execfile

        public void execfile​(java.lang.String fn)
        Run a python file
        参数:
        fn - Python file name
      • runfile

        public void runfile​(java.lang.String code)
        Run a Jython file text
        参数:
        code - Jython file text
      • runPythonScript

        public void runPythonScript​(java.lang.String code)
                             throws java.lang.InterruptedException
        Run Jython script
        参数:
        code -
        抛出:
        java.lang.InterruptedException