|
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.StaticColorFrame
public class StaticColorFrame
A color frame with a static color. If a column is bound to this frame, and the value of the column is a number, or color, the value is used as the color for the row instead of the static color.
| Constructor Summary | |
|---|---|
StaticColorFrame()
Default constructor. |
|
StaticColorFrame(Color color)
Create a static color frame with the specified color. |
|
StaticColorFrame(String field)
Create a color frame. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if equals another object. |
Color |
getColor()
Get the static color value of the static color frame. |
Color |
getColor(DataSet data,
String col,
int row)
Get the color for the specified cell. |
Color |
getColor(Object val)
Get the color for the specified value. |
Color |
getNegativeColor()
Get the color for negative values. |
String |
getTitle()
Get the title to show on the legend. |
Object[] |
getValues()
Get the values mapped by this frame. |
boolean |
isVisible()
Static frame never shows legend. |
void |
setColor(Color color)
Set the static color value of the static color frame. |
void |
setNegativeColor(Color negcolor)
Set the color for negative values. |
| 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, hashCode, init, isValid, setField, setLegendFrame, setLegendSpec, setScale, setScaleOption, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StaticColorFrame()
public StaticColorFrame(Color color)
public StaticColorFrame(String field)
field - field to get value to map to color.| Method Detail |
|---|
public Color getColor()
public void setColor(Color color)
public Color getNegativeColor()
public void setNegativeColor(Color negcolor)
public boolean equals(Object obj)
equals in class ColorFramepublic Object[] getValues()
getValues in class VisualFramepublic String getTitle()
getTitle in class VisualFramepublic boolean isVisible()
isVisible in class VisualFrame
public Color getColor(DataSet data,
String col,
int row)
getColor in class ColorFramedata - the specified dataset.col - the specified column name.row - the specified row index.public Color getColor(Object val)
getColor in class ColorFrame
|
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 | ||||||||