Class ActionsCommandBarCreator.ListComboBox

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.jidesoft.combobox.AbstractComboBox
com.nomagic.magicdraw.ui.toolbar.ToolbarComboBox<Object>
com.nomagic.actions.ActionsCommandBarCreator.ListComboBox
All Implemented Interfaces:
com.jidesoft.converter.ConverterContextSupport, com.jidesoft.swing.AlignmentSupport, ActionListener, FocusListener, MouseListener, ImageObserver, ItemSelectable, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, PopupMenuListener
Enclosing class:
ActionsCommandBarCreator

public static class ActionsCommandBarCreator.ListComboBox extends com.nomagic.magicdraw.ui.toolbar.ToolbarComboBox<Object> implements PropertyChangeListener
Class for representing list action as combo box.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getItemIcon

      @CheckForNull protected Icon getItemIcon(Object item)
      Overrides:
      getItemIcon in class com.nomagic.magicdraw.ui.toolbar.ToolbarComboBox<Object>
    • onItemSelected

      protected void onItemSelected(Object item)
      Specified by:
      onItemSelected in class com.nomagic.magicdraw.ui.toolbar.ToolbarComboBox<Object>
    • setAction

      public final void setAction(Action a)
      Overrides:
      setAction in class com.jidesoft.combobox.AbstractComboBox
    • updateUI

      public void updateUI()
      Overrides:
      updateUI in class com.nomagic.magicdraw.ui.toolbar.ToolbarComboBox<Object>
    • propertyChange

      public void propertyChange(PropertyChangeEvent e)
      Specified by:
      propertyChange in interface PropertyChangeListener
    • setSelectedItem

      public void setSelectedItem(Object anObject)
      Overrides:
      setSelectedItem in class com.jidesoft.combobox.AbstractComboBox