Class DynamicColor

java.lang.Object
java.awt.Color
com.github.weisj.darklaf.util.ColorWrapper
com.github.weisj.darklaf.color.DynamicColor
All Implemented Interfaces:
Paint, Transparency, Serializable
Direct Known Subclasses:
DynamicColorUIResource

public class DynamicColor extends com.github.weisj.darklaf.util.ColorWrapper
See Also:
Serialized Form
  • Field Details

    • currentKey

      protected Object currentKey
  • Constructor Details

    • DynamicColor

      public DynamicColor()
    • DynamicColor

      public DynamicColor(String key)
  • Method Details

    • setDynamicKey

      public static void setDynamicKey(Object obj)
    • isColorSet

      protected boolean isColorSet()
    • getCurrentDynamicKey

      protected Object getCurrentDynamicKey()
    • getCurrentKey

      protected Object getCurrentKey()
    • setCurrentKey

      protected void setCurrentKey(Object currentKey)
    • ensureCorrectColor

      protected void ensureCorrectColor()
    • getColor

      public Color getColor()
      Overrides:
      getColor in class com.github.weisj.darklaf.util.ColorWrapper
    • getUpdatedColor

      protected Color getUpdatedColor()