Interface AnnotationColors
-
- All Superinterfaces:
Destroyable
,OptionHandler
,QuickInfoSupporter
- All Known Implementing Classes:
AbstractAnnotationColors
,FixedColor
,PerType
,TypeColorMapping
,VaryByObject
public interface AnnotationColors extends OptionHandler, QuickInfoSupporter
Interface for classes that generate colors for annotations.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Color
getColor(LocatedObject object)
Returns the color for the object.void
initColors(LocatedObjects objects, MessageCollection errors)
Initializes the colors with the annotations.-
Methods inherited from interface adams.core.Destroyable
destroy
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.core.QuickInfoSupporter
getQuickInfo
-
-
-
-
Method Detail
-
initColors
void initColors(LocatedObjects objects, MessageCollection errors)
Initializes the colors with the annotations.- Parameters:
objects
- the annotations to use for initializationerrors
- for collecting errors
-
getColor
Color getColor(LocatedObject object)
Returns the color for the object.- Parameters:
object
- the annotation to get the color for
-
-