edu.uchsc.ccp.knowtator
Class DisplayColors
java.lang.Object
edu.uchsc.ccp.knowtator.DisplayColors
public class DisplayColors
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_ANNOTATION_COLOR
public static final Color DEFAULT_ANNOTATION_COLOR
DEFAULT_ICON
public static final Icon DEFAULT_ICON
DisplayColors
public DisplayColors(KnowtatorManager manager)
- Creates a new instance of DisplayColors
addAssignment
public void addAssignment(SimpleInstance colorAssignmentInstance)
addAssignment
public void addAssignment(Cls assignedCls,
SimpleInstance colorInstance)
getIcon
public Icon getIcon(Color color)
getColor
public Color getColor(Frame frame)
getBackgroundColor
public static Color getBackgroundColor(Color color)