Skip navigation links


com.essbase.eas.ui.color
Class ColorOption

java.lang.Object
  extended by com.essbase.eas.ui.color.ColorOption


public class ColorOption
extends java.lang.Object

simple utility class for containing color options.

Version:
1.00, 06/05/2001
Author:
Hank Cox, Sree Menon

Constructor Summary
ColorOption(java.awt.Color c, java.lang.String desc)
           

 

Method Summary
 java.awt.Color getColor()
           
static java.awt.Color getColorFromChooser(java.awt.Color clr, java.lang.String title)
           
static ColorOption getColorOption(java.awt.Color clr)
           
static ColorOption[] getColorSet()
           
static ColorOption getCustomColor()
           
static ColorOption getCustomColor(java.awt.Color color)
           
 java.lang.String getDescription()
           
static java.lang.String getDescriptionFor(java.awt.Color c)
           
 int getRGB()
           
 void setColor(java.awt.Color value)
           
 void setDescription(java.lang.String value)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ColorOption

public ColorOption(java.awt.Color c,
                   java.lang.String desc)

Method Detail

getColor

public java.awt.Color getColor()

getDescription

public java.lang.String getDescription()

setColor

public void setColor(java.awt.Color value)

setDescription

public void setDescription(java.lang.String value)

getColorSet

public static ColorOption[] getColorSet()

getColorOption

public static ColorOption getColorOption(java.awt.Color clr)

getCustomColor

public static ColorOption getCustomColor()

getCustomColor

public static ColorOption getCustomColor(java.awt.Color color)

getRGB

public int getRGB()

getDescriptionFor

public static java.lang.String getDescriptionFor(java.awt.Color c)

getColorFromChooser

public static java.awt.Color getColorFromChooser(java.awt.Color clr,
                                                 java.lang.String title)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.