Class ComboBoxSelectorPanel

    • Field Detail

      • m_Labels

        protected BaseString[] m_Labels
        the labels.
      • m_ButtonUnset

        protected BaseButton m_ButtonUnset
        the unset button.
    • Constructor Detail

      • ComboBoxSelectorPanel

        public ComboBoxSelectorPanel​(ObjectAnnotationPanel owner,
                                     BaseString[] labels)
        Initializes the panel.
        Parameters:
        owner - the owning panel
        labels - the labels to use
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • getLabels

        public String[] getLabels()
        Returns the labels to choose from.
        Returns:
        the labels
      • finishInit

        protected void finishInit()
        Finishes the initialization.
        Overrides:
        finishInit in class BasePanel
      • setUnsetButtonVisible

        public void setUnsetButtonVisible​(boolean value)
        Shows or hides the "Unset" button.
        Parameters:
        value - true if to show, false to hide
      • isUnsetButtonVisible

        public boolean isUnsetButtonVisible()
        Returns whether the unset button is visible.
        Returns:
        true if visible
      • selectNextLabel

        public void selectNextLabel()
        Moves to the next label.