public class

ConceptButtonPanel

extends JPanel
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JPanel
           ↳ vars.annotation.ui.cbpanel.ConceptButtonPanel

Class Overview

Intended to replace ConceptButtonPanel. Still a work in progress.

Summary

Constants
String PREFKEY_TABNAME
String PREF_CP_NODE
String TAB_PREFIX
[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
[Expand]
Inherited Fields
From class javax.swing.JComponent
Public Constructors
ConceptButtonPanel(ToolBelt toolBelt)
Constructs ...
Public Methods
void changeUserPreferences()
Here's the chain of events that occurs to trigger this:
  1. A new UserAccount is set in the Dispatcher at Lookup.getUserAccountDispatcher
  2. A PropertyChangeListener in Lookup see's the UserAccount change and updates the Preferences in the Lookup.getPreferencesDispatcher
  3. This panel is listening for changes to the Preferences Dispatcher and will update the UI when the preferences change
Protected Methods
JButton getLockButton()
JButton getMoveTabButton()
ActionAdapter getNewTabAction()
JButton getNewTabButton()
ConceptButtonOverviewPanel getOverviewPanel()
ActionAdapter getRemoveTabAction()
JButton getRemoveTabButton()
ActionAdapter getRenameTabAction()
JButton getRenameTabButton()
JButton getShowOverviewButton()
JTabbedPane getTabbedPane()
[Expand]
Inherited Methods
From class javax.swing.JPanel
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible

Constants

public static final String PREFKEY_TABNAME

Constant Value: "tabName"

public static final String PREF_CP_NODE

Constant Value: "vars.annotation.ui.cbpanel.ConceptButtonPanel"

public static final String TAB_PREFIX

Constant Value: "tab"

Public Constructors

public ConceptButtonPanel (ToolBelt toolBelt)

Constructs ...

Public Methods

public void changeUserPreferences ()

Here's the chain of events that occurs to trigger this:

  1. A new UserAccount is set in the Dispatcher at Lookup.getUserAccountDispatcher
  2. A PropertyChangeListener in Lookup see's the UserAccount change and updates the Preferences in the Lookup.getPreferencesDispatcher
  3. This panel is listening for changes to the Preferences Dispatcher and will update the UI when the preferences change

Protected Methods

protected JButton getLockButton ()

protected JButton getMoveTabButton ()

protected ActionAdapter getNewTabAction ()

protected JButton getNewTabButton ()

protected ConceptButtonOverviewPanel getOverviewPanel ()

protected ActionAdapter getRemoveTabAction ()

protected JButton getRemoveTabButton ()

protected ActionAdapter getRenameTabAction ()

protected JButton getRenameTabButton ()

protected JButton getShowOverviewButton ()

protected JTabbedPane getTabbedPane ()