Modifier and Type | Field and Description |
---|---|
static Key<java.util.function.Function<ColorKey,java.awt.Color>> |
FUNCTION_KEY |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ColorKey key) |
static ColorKey |
createColorKey(java.lang.String externalName) |
static ColorKey |
createColorKey(java.lang.String externalName,
java.awt.Color defaultColor) |
static ColorKey |
createColorKeyWithFallback(java.lang.String externalName,
ColorKey fallbackColorKey) |
boolean |
equals(java.lang.Object obj) |
static ColorKey |
find(java.lang.String externalName) |
java.awt.Color |
getDefaultColor() |
java.lang.String |
getExternalName() |
ColorKey |
getFallbackColorKey() |
int |
hashCode() |
java.lang.String |
toString() |
public static ColorKey find(java.lang.String externalName)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getExternalName()
public int compareTo(ColorKey key)
compareTo
in interface java.lang.Comparable<ColorKey>
public java.awt.Color getDefaultColor()
public ColorKey getFallbackColorKey()
public static ColorKey createColorKey(java.lang.String externalName)
public static ColorKey createColorKeyWithFallback(java.lang.String externalName, ColorKey fallbackColorKey)
public static ColorKey createColorKey(java.lang.String externalName, java.awt.Color defaultColor)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object