|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.aesthetic.VisualFrame
inetsoft.graph.aesthetic.ColorFrame
public abstract class ColorFrame
This class defines the common API for all color frames.
| Constructor Summary | |
|---|---|
ColorFrame()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another object. |
double |
getBrightness()
Get the brightness adjustment factor. |
abstract Color |
getColor(DataSet data,
String col,
int row)
Get the color for the specified cell. |
abstract Color |
getColor(Object val)
Get the color for the specified value. |
boolean |
isGrayscale()
Check whether to convert color to grayscale. |
protected Color |
process(Color c)
Process the return color to apply any adjustments. |
void |
setBrightness(double bright)
Set the brightness. |
void |
setGrayscale(boolean grayscale)
Set whether to convert color to grayscale. |
| Methods inherited from class inetsoft.graph.aesthetic.VisualFrame |
|---|
clone, createComparator, getField, getLabels, getLegendFrame, getLegendSpec, getScale, getScaleOption, getTitle, getValues, hashCode, init, isValid, isVisible, setField, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ColorFrame()
| Method Detail |
|---|
public abstract Color getColor(DataSet data,
String col,
int row)
data - the specified dataset.col - the specified column name.row - the specified row index.public abstract Color getColor(Object val)
public void setBrightness(double bright)
public double getBrightness()
public void setGrayscale(boolean grayscale)
public boolean isGrayscale()
protected Color process(Color c)
public boolean equals(Object obj)
VisualFrame
equals in class VisualFrame
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||