sonification.dataimport.visbards_resourcetoolkit.repository.category
Class ROYGBIVPalette

java.lang.Object
  extended by sonification.dataimport.visbards_resourcetoolkit.repository.category.ROYGBIVPalette
All Implemented Interfaces:
ColorPalette

public class ROYGBIVPalette
extends java.lang.Object
implements ColorPalette

This color palette returns the ROYGBIV scale.


Constructor Summary
ROYGBIVPalette()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.awt.Color getColor(float ratio)
          Returns the color for the given ratio.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ROYGBIVPalette

public ROYGBIVPalette()
Method Detail

getColor

public java.awt.Color getColor(float ratio)
Returns the color for the given ratio.

Specified by:
getColor in interface ColorPalette

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object