Interface HasLabels

  • All Known Implementing Classes:
    AbstractScale, Data, ExtendedScale, GlobalScale, Scale

    public interface HasLabels
    Manages the LABELS properties for datasets and options which this property is required.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • getLabelsHandler

        LabelsHandler getLabelsHandler()
        Returns an labels option handler instance.
        Returns:
        an labels option handler instance
      • setLabels

        default void setLabels​(String... labels)
        Sets the labels of the data.
        Parameters:
        labels - array of labels
      • setLabels

        default void setLabels​(List<String> labels)
        Sets the labels of the data.
        Parameters:
        labels - list of labels
      • setLabels

        default void setLabels​(Labels labels)
        Sets the labels of the data.
        Parameters:
        labels - labels object to manage also multi-line labels
      • getLabels

        default Labels getLabels()
        Returns the labels.
        Returns:
        the labels
      • getLabels

        default Labels getLabels​(boolean binding)
        Returns the labels for axes.
        Parameters:
        binding - if true binds the new labels in the container
        Returns:
        the labels for axes