edu.uchsc.ccp.knowtator
Class DisplayColors

java.lang.Object
  extended by edu.uchsc.ccp.knowtator.DisplayColors

public class DisplayColors
extends Object


Field Summary
static Color DEFAULT_ANNOTATION_COLOR
           
static Icon DEFAULT_ICON
           
 
Constructor Summary
DisplayColors(KnowtatorManager manager)
          Creates a new instance of DisplayColors
 
Method Summary
 void addAssignment(Cls assignedCls, SimpleInstance colorInstance)
           
 void addAssignment(SimpleInstance colorAssignmentInstance)
           
static Color getBackgroundColor(Color color)
           
 Color getColor(Frame frame)
           
 Icon getIcon(Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ANNOTATION_COLOR

public static final Color DEFAULT_ANNOTATION_COLOR

DEFAULT_ICON

public static final Icon DEFAULT_ICON
Constructor Detail

DisplayColors

public DisplayColors(KnowtatorManager manager)
Creates a new instance of DisplayColors

Method Detail

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)