|
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.CompositeColorFrame
public class CompositeColorFrame
CompositeColorFrame combines multiple color frames to provide a cascading behavior. Each frame is checked, and the first frame that returns a color for the value is used.
| Constructor Summary | |
|---|---|
CompositeColorFrame()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addFrame(VisualFrame frame)
Add a legend frame. |
Object |
clone()
Create a copy of this object. |
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. |
String |
getField()
Get the column associated with this frame. |
VisualFrame |
getFrame(int idx)
Get the legend frame at the specified index. |
int |
getFrameCount()
Get the number of legend frames. |
VisualFrame |
getGuideFrame()
Get the legend frame to generate legend guide. |
Object[] |
getLabels()
Get the labels of the values to show on the legend. |
LegendSpec |
getLegendSpec()
Get the legend specification. |
Scale |
getScale()
Get the scale for mapping the value from a dataset to the frame. |
String |
getTitle()
Get the title to show on the legend. |
Object[] |
getValues()
Get the values mapped by this frame. |
void |
init(DataSet data)
Initialize the legend frame with values from the dataset. |
boolean |
isValid()
Check if this frame has been initialized and is ready to be used. |
void |
removeFrame(int idx)
Remove the legend frame at the specified index. |
void |
setBrightness(double bright)
Set the brightness. |
void |
setField(String field)
Set the column associated with this frame. |
void |
setLegendSpec(LegendSpec legendSpec)
Set the legend attributes. |
void |
setScale(Scale scale)
Set the scale for mapping the value from a dataset to the frame. |
void |
setScaleOption(int option)
Set the scaleOption for suppressing null. |
| Methods inherited from class inetsoft.graph.aesthetic.ColorFrame |
|---|
equals, getBrightness, isGrayscale, process, setGrayscale |
| Methods inherited from class inetsoft.graph.aesthetic.VisualFrame |
|---|
createComparator, getLegendFrame, getScaleOption, hashCode, isVisible, setLegendFrame, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeColorFrame()
| Method Detail |
|---|
public void addFrame(VisualFrame frame)
addFrame in interface CompositeVisualFramepublic int getFrameCount()
getFrameCount in interface CompositeVisualFramepublic VisualFrame getFrame(int idx)
getFrame in interface CompositeVisualFramepublic void removeFrame(int idx)
removeFrame in interface CompositeVisualFramepublic void setScale(Scale scale)
setScale in class VisualFramepublic Scale getScale()
getScale in class VisualFramepublic void setScaleOption(int option)
setScaleOption in class VisualFramepublic void setField(String field)
setField in class VisualFramepublic String getField()
getField in class VisualFramepublic void init(DataSet data)
init 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 ColorFramepublic String getTitle()
getTitle in class VisualFramepublic Object[] getValues()
getValues in class VisualFramepublic Object[] getLabels()
getLabels in class VisualFramepublic VisualFrame getGuideFrame()
getGuideFrame in interface CompositeVisualFramepublic void setBrightness(double bright)
setBrightness in class ColorFramepublic LegendSpec getLegendSpec()
getLegendSpec in class VisualFramepublic void setLegendSpec(LegendSpec legendSpec)
setLegendSpec in class VisualFramepublic Object clone()
clone in class VisualFramepublic boolean isValid()
isValid 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 | ||||||||