|
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
inetsoft.graph.aesthetic.LinearColorFrame
inetsoft.graph.aesthetic.HSLColorFrame
inetsoft.graph.aesthetic.BrightnessColorFrame
public class BrightnessColorFrame
This class defines a continuous color frame that returns colors varying on the brightness of the color.
| Field Summary |
|---|
| Fields inherited from class inetsoft.graph.aesthetic.HSLColorFrame |
|---|
brightness, color, hue, saturation |
| Constructor Summary | |
|---|---|
BrightnessColorFrame()
Create a color frame. |
|
BrightnessColorFrame(String field)
Create a color frame. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another object. |
Color |
getColor(double ratio)
Get a color at the relative scale. |
double |
getMaxBrightness()
Get the maximum brightness value. |
double |
getMinBrightness()
Get the minimum brightness value. |
boolean |
isIncrease()
Check whether to increase or decrease brightness for larger values. |
void |
setIncrease(boolean increase)
Set whether to increase or decrease brightness for larger values. |
void |
setMaxBrightness(double max)
Set the maximum brightness value. |
void |
setMinBrightness(double min)
Set the minimum brightness value. |
| Methods inherited from class inetsoft.graph.aesthetic.HSLColorFrame |
|---|
getColor, hslToRGB, init, setColor |
| Methods inherited from class inetsoft.graph.aesthetic.LinearColorFrame |
|---|
getColor, getColor |
| Methods inherited from class inetsoft.graph.aesthetic.ColorFrame |
|---|
getBrightness, isGrayscale, process, setBrightness, setGrayscale |
| 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 BrightnessColorFrame()
public BrightnessColorFrame(String field)
field - field to get value to map to color.| Method Detail |
|---|
public void setMinBrightness(double min)
min - a value between 0 and 1.public double getMinBrightness()
public void setMaxBrightness(double max)
max - a value between 0 and 1.public double getMaxBrightness()
public void setIncrease(boolean increase)
public boolean isIncrease()
public Color getColor(double ratio)
LinearColorFrame
getColor in class LinearColorFrameratio - a value from 0 to 1.public boolean equals(Object obj)
HSLColorFrame
equals in class HSLColorFrame
|
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 | ||||||||