NetLogo 6.2.2 - org.nlogo.app.AppTabManager
Keywords: NetLogo 6.2.2 org.nlogo.app.AppTabManager

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package app
  Definition Classes
    nlogo
-  package codetab
  Definition Classes
    app
-  package common
  Definition Classes
    app
-  package infotab
  Definition Classes
    app
-  package interfacetab
  Definition Classes
    app
-  package tools
  Definition Classes
    app
- AboutWindow
- AbstractTabsPanel
- Adapters
- App
- AppControlSet
- AppFrame
- AppTabManager
- CodeTabContainer
- CodeTabsPanel
- ConvertIncludeFile
- DirtyMonitor
- EditMenu
- ExtensionAssistant
- FileManager
- FileMenu
- HelpActions
- HelpMenu
- LocalBrowseAction
- MenuBar
- ModelEntry
- ModelSaver
- OfferSaveExternalsDialog
- OpenColorDialog
- OpenHubNetClientEditor
- OpenLibrariesDialog
- OpenRecentFileAction
- Plugins
- RecentFiles
- RecentFilesMenu
- RemoteBrowseAction
- ShowAboutWindow
- ShowDialogAction
- ShowPreferencesDialog
- ShowShapeManager
- ShowSystemDynamicsModeler
- Splash
- Tabs
- TabsMenu
- ToolsMenu
- ZoomMenu

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 __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()
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 finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
50.  def getAppMenuBar: MenuBar
51.  def getAppTabsOwner: Tabs
52.  def getAppTabsPanel: Tabs
53.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
54.  def getCodeTabsOwner(): AbstractTabsPanel
55.  def getComponentAtCombinedIndex(index: Int): Component
56.  def getDirtyMonitor: DirtyMonitor
57.  def getIndexOfCodeTab(tab: CodeTab): Int
58.  def getMainCodeTab: MainCodeTab
59.  def getMenuByName(menuName: String): Option[JMenu]
60.  def getSelectedAppTabIndex(): Int
61.  def getSelectedCodeTabComponent(): Option[Component]

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

62.  def getSelectedNonCodeTabComponent(): Option[Component]

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

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

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

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

80.  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.

81.  def setAppCodeTabBindings(): Unit
82.  def setAppMenuBar(menuBar: MenuBar): Unit
83.  def setCodeTabsPanelOption(_codeTabsPanelOption: Option[CodeTabsPanel]): Unit
84.  def setComponentAtCombinedIndex(index: Int, tab: Component): Unit
85.  def setDirtyMonitor(dirtyMonitor: DirtyMonitor): Unit
86.  def setDirtyMonitorCodeWindow(): Unit
87.  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

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

### Inherited from AnyRef

### Inherited from Any

### Ungrouped