com.alee.laf.colorchooser
Class HSBColor

java.lang.Object
  extended by com.alee.laf.colorchooser.HSBColor

public class HSBColor
extends java.lang.Object

User: mgarin Date: 10.03.11 Time: 18:52


Constructor Summary
HSBColor()
           
HSBColor(java.awt.Color color)
           
HSBColor(float hue, float saturation, float brightness)
           
HSBColor(int red, int green, int blue)
           
 
Method Summary
 float getBrightness()
           
 java.awt.Color getColor()
           
 float getHue()
           
 float getSaturation()
           
 void setBrightness(float brightness)
           
 void setHue(float hue)
           
 void setSaturation(float saturation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HSBColor

public HSBColor()

HSBColor

public HSBColor(float hue,
                float saturation,
                float brightness)

HSBColor

public HSBColor(java.awt.Color color)

HSBColor

public HSBColor(int red,
                int green,
                int blue)
Method Detail

getBrightness

public float getBrightness()

setBrightness

public void setBrightness(float brightness)

getHue

public float getHue()

setHue

public void setHue(float hue)

getSaturation

public float getSaturation()

setSaturation

public void setSaturation(float saturation)

getColor

public java.awt.Color getColor()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object