c

org.nlogo.app

AppTabManager

class AppTabManager extends AnyRef

Source
AppTabManager.scala
Linear Supertypes
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 __PrintHideUndoMenuCounts(): Unit
  5. def __PrintStateInfo(previousTab: Component, currentTab: Component): Unit
  6. def __PrintWindowEventInfo(e: WindowEvent): Unit
  7. def __countMenuItembyNameAndMenuName(menuName: String, menuItemName: String): Int
  8. def __getMenuItembyName(menu: JMenu, menuItemName: String): Option[JMenuItem]
  9. def __getMenuItembyNameAndMenuName(menuName: String, menuItemName: String): Option[JMenuItem]
  10. def __getSimpleName(c: Any): String
  11. def __printAllTabs(): Unit
  12. def __printAppFrameInputActionMaps(): Unit
  13. def __printAppFrameInputMap(): Unit
  14. def __printAppMenuAcceleratorsByName(menuName: String): Unit
  15. def __printAppMenuBar(): Unit
  16. def __printAppMenuBarAccelerators(): Unit
  17. def __printAppMenuByName(menuName: String): Unit
  18. def __printFocusOwner(topContainer: JFrame, fullInfo: Boolean): Unit
  19. def __printFocusOwner(topContainer: JFrame): Unit
  20. def __printInputActionMaps(component: JComponent): Unit
  21. def __printInputMap(component: JComponent): Unit
  22. def __printMenuAccelerators(menu: JMenu): Unit
  23. def __printMenuItem(menuItem: JMenuItem, level: Int): Unit
  24. def __printMenuItembyNameAndMenuName(menuName: String, menuItemName: String): Unit
  25. def __printMenuItems(menu: JMenu, level: Int): Unit
  26. def __printOptionSwingObject(obj: Option[Component], description: String): Unit
  27. def __printSeparateCodeFrameInputActionMaps(): Unit
  28. def __printSeparateCodeFrameInputMap(): Unit
  29. def __printSwingObject(obj: Component, description: String): Unit
  30. def __printTabsMenuActions(): Unit
  31. def __printTabsOfTabsPanel(pane: JTabbedPane): Unit
  32. def addAppFrameKeyStroke(mapKey: KeyStroke, action: Action, actionName: String): Unit
  33. def addCodeTabContainerKeyStroke(mapKey: KeyStroke, action: Action, actionName: String): Unit
  34. def addComponentKeyStroke(component: JComponent, mapKey: KeyStroke, action: Action, actionName: String): Unit
  35. 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

  36. val appContentPane: JComponent
  37. val appTabsPanel: Tabs
  38. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  39. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  40. var codeTabsPanelOption: Option[CodeTabsPanel]
  41. def combinedIndexFromOwnerAndIndex(tabOwner: AbstractTabsPanel, index: Int): Int
  42. def copyMenuAccelerators(menu: JMenu): Unit
  43. def copyMenuAcceleratorsByName(menuName: String): Unit
  44. def copyMenuBarAccelerators(): Unit
  45. def createCodeTabAccelerators(): Unit
  46. var dirtyMonitor: DirtyMonitor
  47. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  49. def getAppMenuBar: MenuBar
  50. def getAppTabsOwner: Tabs
  51. def getAppTabsPanel: Tabs
  52. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  53. def getCodeTabsOwner(): AbstractTabsPanel
  54. def getComponentAtCombinedIndex(index: Int): Component
  55. def getDirtyMonitor: DirtyMonitor
  56. def getIndexOfCodeTab(tab: CodeTab): Int
  57. def getMainCodeTab: MainCodeTab
  58. def getMenuByName(menuName: String): Option[JMenu]
  59. def getSelectedAppTabIndex(): Int
  60. def getSelectedCodeTabComponent(): Option[Component]

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

  61. def getSelectedNonCodeTabComponent(): Option[Component]

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

  62. def getTabOwner(tab: Component): AbstractTabsPanel
  63. def getTitleAtCombinedIndex(index: Int): String
  64. def getTotalTabCount(): Int

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

  65. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  66. def indent(n: Int): String
  67. def intKeyToMenuKeystroke(key: Int, withShift: Boolean = false, withAlt: Boolean = false): KeyStroke
  68. def isCodeTabSeparate: Boolean
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. var menuBar: MenuBar
  71. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  72. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  73. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  74. def ownerAndIndexFromCombinedIndex(combinedTabIndex: Int): (AbstractTabsPanel, Int)
  75. def ownerAndIndexOfTab(tab: Component): (AbstractTabsPanel, Int)
  76. def removeCodeTabContainerAccelerators(): Unit
  77. def removeComponentKeyStroke(component: JComponent, mapKey: KeyStroke): Unit
  78. 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.

  79. 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.

  80. def setAppCodeTabBindings(): Unit
  81. def setAppMenuBar(menuBar: MenuBar): Unit
  82. def setCodeTabsPanelOption(_codeTabsPanelOption: Option[CodeTabsPanel]): Unit
  83. def setComponentAtCombinedIndex(index: Int, tab: Component): Unit
  84. def setDirtyMonitor(dirtyMonitor: DirtyMonitor): Unit
  85. def setDirtyMonitorCodeWindow(): Unit
  86. def setPanelsSelectedComponent(tab: Component): Unit

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

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

    Usual effect: the specified component becomes the selected tab of the tabOwner. An important alternative case occurs when a specified App Tab component is already selected. This should only happen when focus is in the separate code tab window. Swing will not allow the selection unless the Tab is first deselected. To deselect the tab without selecting another tab, the selected tab index of the tabOwner must be set to -1. The App Tab of interest is saved as the currentTab. Documentation update August 2021 - AAB

    tab

    the Component to be selected

  87. def setPanelsSelectedIndex(index: Int): Unit
  88. def setSelectedAppTab(index: Int): Unit
  89. def setSelectedCodeTab(tab: CodeTab): Unit
  90. def setSeparateCodeTabBindings(): Unit
  91. def switchToNoSeparateCodeWindow(): Unit
  92. def switchToSeparateCodeWindow(): Unit
  93. def switchToSpecifiedCodeWindowState(isSeparate: Boolean): Unit
  94. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  95. def toString(): String
    Definition Classes
    AnyRef → Any
  96. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  97. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  98. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  99. object RejoinCodeTabsAction extends AbstractAction
  100. object SeparateCodeTabsAction extends AbstractAction

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped