Class ColorComboBox

    • Constructor Detail

      • ColorComboBox

        public ColorComboBox()
        Creates a new color combobox and populates it with the excel colors.
    • Method Detail

      • setValueFromModel

        public void setValueFromModel​(Color o)
        Defines the selected value without firing a action event.
        Parameters:
        o - the new selected value.
      • getValueFromModel

        public Color getValueFromModel()
        Returns the currently selected value from the model, or null if no value is selected.
        Returns:
        the selected color.