Interface Colorizer


public interface Colorizer
An interface to encapsulate a mechanism for associating colors to Objects.
Author:
Rod Howell (rhowell@ksu.edu)
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Color associated with the given Object.
  • Method Details

    • getColor

      Color getColor(Object obj)
      Returns the Color associated with the given Object.
      Parameters:
      obj - the object whose color is to be retrieved
      Returns:
      the color of obj