Class DarkColorModelHSB
java.lang.Object
com.github.weisj.darklaf.properties.color.DarkColorModel
com.github.weisj.darklaf.properties.color.DarkColorModelHSB
An HSB implementation of
DarkColorModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorgetColorFromHSBValues(double h, double s, double b) getColorFromValues(int[] values) static DarkColorModelHSBString[]String[]intgetMaximum(int index) intgetMinimum(int index) int[]getValuesFromColor(Color color) static double[]RGBtoHSBValues(int r, int g, int b) toString()Methods inherited from class com.github.weisj.darklaf.properties.color.DarkColorModel
getCount, getDefault, getFullLabelDescriptorsAfter, getFullLabelDescriptorsBefore, getText
-
Constructor Details
-
DarkColorModelHSB
public DarkColorModelHSB()
-
-
Method Details
-
getInstance
-
getMinimum
public int getMinimum(int index) - Specified by:
getMinimumin classDarkColorModel
-
getMaximum
public int getMaximum(int index) - Specified by:
getMaximumin classDarkColorModel
-
toString
- Specified by:
toStringin classDarkColorModel
-
getLabelDescriptorsBefore
- Specified by:
getLabelDescriptorsBeforein classDarkColorModel
-
getLabelDescriptorsAfter
- Overrides:
getLabelDescriptorsAfterin classDarkColorModel
-
getValuesFromColor
- Specified by:
getValuesFromColorin classDarkColorModel
-
RGBtoHSBValues
public static double[] RGBtoHSBValues(int r, int g, int b) -
getColorFromHSBValues
-
getColorFromValues
- Specified by:
getColorFromValuesin classDarkColorModel
-