c

org.nlogo.app

AppTabManager

class AppTabManager extends AnyRef

Source
AppTabManager.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AppTabManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AppTabManager(appTabsPanel: Tabs, codeTabsPanelOption: Option[CodeTabsPanel])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def __printAllTabs(): Unit
  5. def __printAppFrameInputActionMaps(): Unit
  6. def __printAppFrameInputMap(): Unit
  7. def __printAppMenuAcceleratorsByName(menuName: String): Unit
  8. def __printAppMenuBar(): Unit
  9. def __printAppMenuBarAccelerators(): Unit
  10. def __printAppMenuByName(menuName: String): Unit
  11. def __printInputActionMaps(component: JComponent): Unit
  12. def __printInputMap(component: JComponent): Unit
  13. def __printMenuAccelerators(menu: JMenu): Unit
  14. def __printMenuItems(menu: JMenu, level: Int): Unit
  15. def __printNonNullSwingObject(obj: Component, description: String): Unit
  16. def __printOptionSwingObject(obj: Option[Component], description: String): Unit
  17. def __printSeparateCodeFrameInputActionMaps(): Unit
  18. def __printSeparateCodeFrameInputMap(): Unit
  19. def __printSwingObject(obj: Component, description: String): Unit
  20. def __printTabsMenuActions(): Unit
  21. def __printTabsOfTabsPanel(pane: JTabbedPane): Unit
  22. def addAppFrameKeyStroke(mapKey: KeyStroke, action: Action, actionName: String): Unit
  23. def addCodeTabContainerKeyStroke(mapKey: KeyStroke, action: Action, actionName: String): Unit
  24. def addComponentKeyStroke(component: JComponent, mapKey: KeyStroke, action: Action, actionName: String): Unit
  25. def addNewTab(tab: Component, title: String = null, icon: Icon = null, tip: String = null): Unit

    Adds a Component to the appropriate NetLogo JTabbedPane.

    Adds a Component to the appropriate NetLogo JTabbedPane. Also adds an entry to the Tabs Menu If a separate code window exists, a CodeTab will be added to its JTabbedPane, Otherwise the Component will be added to the Application Window JTabbedPane. AAB 10/2020. New Components appear to the right of previous Components of the same category non-CodeTabs or CodeTabs.

    tab

    the Component to add

    title

    the title of the tab; may be null

    icon

    the icon for the tab; may be null

    tip

    the associated tooltip

  26. val appContentPane: JComponent
  27. val appTabsPanel: Tabs
  28. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  29. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. var codeTabsPanelOption: Option[CodeTabsPanel]
  31. def combinedIndexFromOwnerAndIndex(tabOwner: AbstractTabsPanel, index: Int): Int
  32. def copyMenuAccelerators(menu: JMenu): Unit
  33. def copyMenuAcceleratorsByName(menuName: String): Unit
  34. def copyMenuBarAccelerators(): Unit
  35. def createCodeTabAccelerators(): Unit
  36. var dirtyMonitor: DirtyMonitor
  37. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  39. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def getAppMenuBar: MenuBar
  41. def getAppTabsOwner: Tabs
  42. def getAppTabsPanel: Tabs
  43. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  44. def getCodeTabsOwner: AbstractTabsPanel with ChangeListener with Handler with LinkRoot with LinkParent
  45. def getComponentAtCombinedIndex(index: Int): Component
  46. def getCurrentTab(): Component
  47. def getDirtyMonitor: DirtyMonitor
  48. def getIndexOfCodeTab(tab: CodeTab): Int
  49. def getMainCodeTab: MainCodeTab
  50. def getMenuByName(menuName: String): Option[JMenu]
  51. def getSelectedAppTabIndex(): Int
  52. def getSelectedCodeTabComponent(): Option[Component]

    Gets selected code tab if any , whether or not separate code window exists.

  53. def getSelectedNonCodeTabComponent(): Option[Component]

    Gets selected non-code tab if any , whether or not separate code window exists.

  54. def getTabOwner(tab: Component): AbstractTabsPanel
  55. def getTitleAtCombinedIndex(index: Int): String
  56. def getTotalTabCount(): Int

    Return the number of tabs in the Application Window JTabbedPane plus those in the separate code window (if it exists).

  57. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  58. def indent(n: Int): String
  59. def intKeyToMenuKeystroke(key: Int, withShift: Boolean = false, withAlt: Boolean = false): KeyStroke
  60. def isCodeTabSeparate: Boolean
  61. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  62. var menuBar: MenuBar
  63. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  64. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  66. def ownerAndIndexFromCombinedIndex(combinedTabIndex: Int): (AbstractTabsPanel, Int)
  67. def ownerAndIndexOfTab(tab: Component): (AbstractTabsPanel, Int)
  68. def removeCodeTabContainerAccelerators(): Unit
  69. def removeTab(tab: Component): Unit

    Removes the specified Component from its parent JTabbedPane and remove it from the Tabs Menu

    Removes the specified Component from its parent JTabbedPane and remove it from the Tabs Menu

    tab

    The Component to remove.

  70. def replaceTab(oldTab: Component, newTab: Component): Unit

    Replaces the specified Component with another Component in its parent JTabbedPane If one of the Component is an instance of CodeTab, the other Component must be as well in order to maintain the separate groupings of non-CodeTabs and CodeTabs .

    Replaces the specified Component with another Component in its parent JTabbedPane If one of the Component is an instance of CodeTab, the other Component must be as well in order to maintain the separate groupings of non-CodeTabs and CodeTabs .

    oldTab

    The tab to be removed

    newTab

    The tab to replace it with

    Exceptions thrown

    Exception if one Tab is a CodeTab and the other is not.

  71. def setAppCodeTabBindings(): Unit
  72. def setAppMenuBar(menuBar: MenuBar): Unit
  73. def setCodeTabsPanelOption(_codeTabsPanelOption: Option[CodeTabsPanel]): Unit
  74. def setComponentAtCombinedIndex(index: Int, tab: Component): Unit
  75. def setCurrentTab(tab: Component): Unit
  76. def setDirtyMonitor(dirtyMonitor: DirtyMonitor): Unit
  77. def setDirtyMonitorCodeWindow(): Unit
  78. def setPanelsSelectedComponent(tab: Component): Unit

    Makes a tab component selected, whether or not separate code window exists.

    Makes a tab component selected, whether or not separate code window exists.

    tab

    the Component to be selected

  79. def setPanelsSelectedIndex(index: Int): Unit
  80. def setSelectedAppTab(index: Int): Unit
  81. def setSelectedCodeTab(tab: CodeTab): Unit
  82. def setSeparateCodeTabBindings(): Unit
  83. def switchToNoSeparateCodeWindow(): Unit
  84. def switchToSeparateCodeWindow(): Unit
  85. def switchToSpecifiedCodeWindowState(isSeparate: Boolean): Unit
  86. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  87. def toString(): String
    Definition Classes
    AnyRef → Any
  88. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  91. object RejoinCodeTabsAction extends AbstractAction
  92. object SeparateCodeTabsAction extends AbstractAction

Inherited from AnyRef

Inherited from Any

Ungrouped