public class ColorSampleLookupValue extends java.lang.Object implements LookupValueWithUIHint, DeferredUserLookupValue, Iconable, LookupValueWithPriority
Iconable.IconFlags, Iconable.LastComputedIcon
ICON_FLAG_IGNORE_MASK, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
HIGH, HIGHER, NORMAL
Constructor and Description |
---|
ColorSampleLookupValue(java.lang.String name,
java.lang.String value,
boolean isStandard) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.awt.Color |
getColorHint() |
static ColorSampleLookupValue [] |
getColors() |
javax.swing.Icon |
getIcon(int flags) |
java.lang.String |
getName() |
java.lang.String |
getPresentation() |
int |
getPriority() |
java.lang.String |
getTypeHint() |
java.lang.String |
getValue() |
boolean |
handleUserSelection(LookupItem item,
Project project) |
int |
hashCode() |
boolean |
isBold() |
boolean |
isIsStandard() |
java.lang.String |
toString() |
public ColorSampleLookupValue(java.lang.String name, java.lang.String value, boolean isStandard)
public java.lang.String getPresentation()
getPresentation
in interface PresentableLookupValue
public java.lang.String getValue()
public boolean isIsStandard()
public boolean handleUserSelection(LookupItem item, Project project)
handleUserSelection
in interface DeferredUserLookupValue
public static ColorSampleLookupValue [] getColors()
public java.lang.String getTypeHint()
getTypeHint
in interface LookupValueWithUIHint
public java.awt.Color getColorHint()
getColorHint
in interface LookupValueWithUIHint
public boolean isBold()
isBold
in interface LookupValueWithUIHint
public java.lang.String getName()
public int getPriority()
getPriority
in interface LookupValueWithPriority
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object