public class

ConceptNameComboBox

extends FancyComboBox
implements ConceptChangeListener
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JComboBox
           ↳ org.mbari.swing.FancyComboBox
             ↳ vars.shared.ui.ConceptNameComboBox
Known Direct Subclasses

Class Overview

A ConceptNameComboBox displays all the current ConceptNames in the KnowledgeBase.

Summary

[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.JComboBox
From class javax.swing.JComponent
Public Constructors
ConceptNameComboBox()
Constructor for the ConceptNameComboBox object
ConceptNameComboBox(String[] items)
Constructs a ConceptNameComboBox initially populated by the specified array of ConceptName items.
Public Methods
void addItem(ConceptName item)
Adds the specified ConceptName item to the model for this ConceptNameComboBox.
void addedConcept(Concept concept)
Description of the Method
void addedConceptName(ConceptName conceptName)
Description of the Method
void removeEditorActionListener(ActionListener listener)
Removes an ActionListener to the editor controlling the text input for this ConceptChangeListener.
void removeEditorFocusListener(FocusListener listener)
Removes a FocusListener to the editor controlling the text input for this ConceptChangeListener.
void removeItem(ConceptName item)
Removes the specified ConceptName item from the model.
void removedConcept(Concept concept)
Description of the Method
void removedConceptName(ConceptName conceptName)
Description of the Method
void updateModel(String[] items)
Updates the model to contain the specified items.
[Expand]
Inherited Methods
From class org.mbari.swing.FancyComboBox
From class javax.swing.JComboBox
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.ItemSelectable
From interface java.awt.MenuContainer
From interface java.awt.event.ActionListener
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible
From interface javax.swing.event.ListDataListener
From interface vars.shared.ui.ConceptChangeListener

Public Constructors

public ConceptNameComboBox ()

Constructor for the ConceptNameComboBox object

public ConceptNameComboBox (String[] items)

Constructs a ConceptNameComboBox initially populated by the specified array of ConceptName items.

Parameters
items Description of the Parameter

Public Methods

public void addItem (ConceptName item)

Adds the specified ConceptName item to the model for this ConceptNameComboBox.

Parameters
item The item to add to the model.

public void addedConcept (Concept concept)

Description of the Method

Parameters
concept Description of the Parameter

public void addedConceptName (ConceptName conceptName)

Description of the Method

Parameters
conceptName Description of the Parameter

public void removeEditorActionListener (ActionListener listener)

Removes an ActionListener to the editor controlling the text input for this ConceptChangeListener.

Parameters
listener The ActionListener to remove.

public void removeEditorFocusListener (FocusListener listener)

Removes a FocusListener to the editor controlling the text input for this ConceptChangeListener.

Parameters
listener The ActionListener to remove.

public void removeItem (ConceptName item)

Removes the specified ConceptName item from the model.

Parameters
item The item to remove from the model.

public void removedConcept (Concept concept)

Description of the Method

Parameters
concept Description of the Parameter

public void removedConceptName (ConceptName conceptName)

Description of the Method

Parameters
conceptName Description of the Parameter

public void updateModel (String[] items)

Updates the model to contain the specified items.

Parameters
items An array of ConceptName items for this ConceptNameComboBox.