Interface LabelSelector

    • Method Detail

      • setOwner

        void setOwner​(ObjectAnnotationPanel value)
        Sets the owning panel.
        Parameters:
        value - the panel
      • getOwner

        ObjectAnnotationPanel getOwner()
        Returns the owning panel.
        Returns:
        the panel, null if none set
      • getLabels

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

        void preselectCurrentLabel​(String label)
        Pre-selects the label.
        Parameters:
        label - the label to use
      • setCurrentLabel

        void setCurrentLabel​(String value)
        Sets the current label to use.
        Parameters:
        value - the label, null to unset
      • setUnsetButtonVisible

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

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

        void selectNextLabel()
        Moves to the next label.