|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetcharts.pro.common.NFGraph
netcharts.pro.charts.heatmap.NFHeatmapchart
public class NFHeatmapchart
Represents a Heat Map chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
Field Summary | |
---|---|
static int |
BOTTOM_LABEL
Grid block bottom label |
static int |
COLOR_TABLE
|
static int |
EXPRESSIONS
|
static int |
GRID_BLOCK_ANIMATION_STYLE_FADE
Grid block animation style fade |
static int |
GRID_BLOCK_ANIMATION_STYLE_NONE
No grid block animation style |
static int |
GRID_BLOCK_ANIMATION_STYLE_SCALE
Grid block animation style scale |
static java.util.Hashtable |
gridBlockColorTypeMap
|
static int |
LEFT_LABEL
Grid block left label |
static int |
RIGHT_LABEL
Grid block right label |
static int |
SPECTRUM
|
static int |
TOP_LABEL
Grid block top label |
Fields inherited from class netcharts.pro.common.NFGraph |
---|
ANTIALIAS_OFF, ANTIALIAS_ON, ANTIALIAS_ONDRAW, ANTIALIAS_ONTEXT, antiAliasModeMap, BAR, BAR3D, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, DWELL_ANIMATION_STYLE_HIGHLIGHT, DWELL_ANIMATION_STYLE_NONE, FADE, HEATMAP, HIGHLIGHT, HISTOGRAM, LABEL_ANIMATION_STYLE_FADE, LABEL_ANIMATION_STYLE_NONE, LEGEND_ANIMATION_STYLE_FADE, LEGEND_ANIMATION_STYLE_NONE, LEGEND_DWELL_ANIMATION_STYLE_HIGHLIGHT, LEGEND_DWELL_ANIMATION_STYLE_NONE, LINE, MULTIPIE, PARETO, PIE, POLAR, RADAR, STOCK, STRIP, TIME, XY |
Constructor Summary | |
---|---|
NFHeatmapchart()
Constructs a default chart object. |
|
NFHeatmapchart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFHeatmapchart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel with the specified properties. |
|
NFHeatmapchart(java.util.Properties initProperties)
Constructs a default chart object with the specified properties. |
Method Summary | |
---|---|
int |
getCellTextAutoColorThreshold()
Get the cell text auto color threshold. |
NFVector |
getColorExpressions()
Get the color expressions |
NFColorSpectrum |
getColorSpectrum()
Get the color spectrum values. |
java.lang.String |
getDefaultData()
Returns a string of default data |
NFVector |
getGridBlockActiveLabels()
Get active labels for the cells within the grid. |
int |
getGridBlockAnimationStyle()
Get the grid block animation style. |
java.awt.Color |
getGridBlockBackgroundColor()
Get the grid block background color. |
NFVector |
getGridBlockCellLabels()
Get the labels to display in the grid. |
NFHeatmapCellTextStyle |
getGridBlockCellLabelStyle()
Get the text style to use for the grid cell labels. |
NFFormat |
getGridBlockCellValueFormat()
Get the format for the data values displayed in the grid. |
NFVector |
getGridBlockCellValues()
Get the values to display in the grid. |
NFHeatmapCellTextStyle |
getGridBlockCellValueStyle()
Get the text style to use for the grid cell values. |
NFColorTable |
getGridBlockColorTable()
Get the grid block color table. |
int |
getGridBlockColorType()
Get the grid block cell color type. |
NFModalLabel |
getGridBlockLabel(int labelPosition)
Get the grid label text style for the specified label position. |
NFVector |
getGridBlockLabels(int labelPosition)
Get the grid labels for the specified label position. |
NFHeatmapGridBlockLayout |
getGridBlockLayout()
Get the number of rows and columns in the grid. |
NFLine |
getGridBlockLine()
Get the grid block line attributes (color, style and width). |
NFHeatmapGridBlockSort |
getGridBlockSort()
Get the grid block sort attributes. |
NFLegend |
getLegend()
Returns the chart legend. |
NFFillBorder |
getLegendDwellAnimationHighlight()
The legend dwell animation highlight is not supported. |
int |
getLegendDwellAnimationStyle()
Legend dwell animation style is not supported. |
boolean |
getToggleDataVisibility()
Toggle data visibility is not supported. |
int |
getType()
Gets the chart type. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setCellTextAutoColorThreshold(int cellTextAutoColorThreshold)
Set the cell text auto color threshold. |
void |
setColorExpressions(NFVector colorExpressions)
Set the color expressions. |
void |
setColorSpectrum(NFColorSpectrum colorSpectrum)
Set the color spectrum values. |
void |
setGridBlockActiveLabels(NFVector activeLabels)
Set active labels for the cells within the grid. |
void |
setGridBlockAnimationStyle(int style)
Set the grid block animation style. |
void |
setGridBlockBackgroundColor(java.awt.Color gridBlockBackgroundColor)
Set the grid block background color. |
void |
setGridBlockCellLabels(NFVector cellLabels)
Set the labels to display in the grid. |
void |
setGridBlockCellLabelStyle(NFHeatmapCellTextStyle cellLabelStyle)
Set the text style to use for the grid cell labels. |
void |
setGridBlockCellValueFormat(NFFormat cellValueFormat)
Set the format for the data values displayed in the grid. |
void |
setGridBlockCellValues(NFVector cellValues)
Set the values to display in the grid. |
void |
setGridBlockCellValueStyle(NFHeatmapCellTextStyle cellValueStyle)
Set the text style to use for the grid cell values. |
void |
setGridBlockColorTable(NFColorTable gridBlockColors)
Set the grid block cell colors from the specified color table. |
void |
setGridBlockColorType(int gridBlockColorType)
Sets the default grid block cell color type to use. |
void |
setGridBlockLabel(int labelPosition,
NFModalLabel labelStyle)
Set the grid label text style for the specified label position. |
void |
setGridBlockLabels(int labelPosition,
NFVector labels)
Set the grid labels for the specified label position. |
void |
setGridBlockLayout(int numRows,
int numColumns)
Set the number of rows and columns in the grid. |
void |
setGridBlockLayout(NFHeatmapGridBlockLayout gridBlockLayout)
Set the number of rows and columns in the grid from the specified grid block layout object. |
void |
setGridBlockLine(NFLine gridBlockLine)
Set the grid block line attributes (color, style and width). |
void |
setGridBlockSort(NFHeatmapGridBlockSort gridBlockSort)
Set the grid block sort attributes. |
void |
setLegendDwellAnimationHighlight(NFFillBorder fb)
The legend dwell animation highlight is not supported. |
void |
setLegendDwellAnimationStyle(int style)
Legend dwell animation style is not supported. |
void |
setToggleDataVisibility(boolean toggleDataVisibility)
Toggle data visibility is not supported. |
void |
writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer |
void |
writeExternal(java.io.ObjectOutput out)
Writes this chart into an object for serialization. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TOP_LABEL
public static final int LEFT_LABEL
public static final int BOTTOM_LABEL
public static final int RIGHT_LABEL
public static java.util.Hashtable gridBlockColorTypeMap
public static final int COLOR_TABLE
public static final int EXPRESSIONS
public static final int SPECTRUM
public static final int GRID_BLOCK_ANIMATION_STYLE_NONE
public static final int GRID_BLOCK_ANIMATION_STYLE_SCALE
public static final int GRID_BLOCK_ANIMATION_STYLE_FADE
Constructor Detail |
---|
public NFHeatmapchart()
public NFHeatmapchart(javax.swing.JPanel panel)
panel
- Panel to draw chart on.public NFHeatmapchart(java.util.Properties initProperties)
initProperties
- A java.util.Properties object containing the set of runtime
properties to use when generating the chart. See the
netcharts.pro.common.NFGraph(java.util.Properties)
constructor for a list of valid Properties.public NFHeatmapchart(javax.swing.JPanel panel, java.util.Properties initProperties)
panel
- Panel to draw chart on.initProperties
- A java.util.Properties object containing the set of runtime
properties to use when generating the chart. See the
netcharts.pro.common.NFGraph(java.util.Properties)
constructor for a list of valid Properties.Method Detail |
---|
public java.lang.String getDefaultData()
getDefaultData
in class NFGraph
public int getType()
getType
in class NFGraph
netcharts.pro.common.NFGraph.HEATMAP
public NFLegend getLegend()
getLegend
in class NFGraph
public int getGridBlockColorType()
COLORTABLE_GRIDBLOCK_COLOR_TYPE, EXPRESSION_GRIDBLOCK_COLOR_TYPE, SPECTRUM_GRIDBLOCK_COLOR_TYPE
public void setGridBlockColorType(int gridBlockColorType)
If the value passed is not a valid grid block cell color type an IllegalArgumentException will be thrown.
layout
- One of COLORTABLE_GRIDBLOCK_COLOR_TYPE, EXPRESSION_GRIDBLOCK_COLOR_TYPE, SPECTRUM_GRIDBLOCK_COLOR_TYPE
public void setGridBlockColorTable(NFColorTable gridBlockColors)
gridBlockColors
- NFColorTable containing a list of java.awt.Color objectspublic NFColorTable getGridBlockColorTable()
public void setGridBlockCellLabels(NFVector cellLabels)
cellLabels
- labels to display in the gridpublic NFVector getGridBlockCellLabels()
public void setGridBlockCellValues(NFVector cellValues)
cellValues
- values to display in the gridpublic NFVector getGridBlockCellValues()
public void setGridBlockCellLabelStyle(NFHeatmapCellTextStyle cellLabelStyle)
cellLabelStyle
- text style.public NFHeatmapCellTextStyle getGridBlockCellLabelStyle()
public void setGridBlockCellValueStyle(NFHeatmapCellTextStyle cellValueStyle)
cellValueStyle
- text style.public NFHeatmapCellTextStyle getGridBlockCellValueStyle()
public void setGridBlockCellValueFormat(NFFormat cellValueFormat)
NFFormat.NONE, NFFormat.INTEGER, NFFormat.FLOAT and NFFormat.DECIMAL
cellValueFormat
- NFFormat object describing how cell values are to be formatted.public NFFormat getGridBlockCellValueFormat()
public void setGridBlockActiveLabels(NFVector activeLabels)
activeLabels
- list of active labels for the cells within the gridpublic NFVector getGridBlockActiveLabels()
public void setGridBlockLayout(int numRows, int numColumns)
numRows
- number of rows in the gridnumColumns
- number of columns in the gridpublic void setGridBlockLayout(NFHeatmapGridBlockLayout gridBlockLayout)
gridBlockLayout
- represents the number of rows and columns in the gridpublic NFHeatmapGridBlockLayout getGridBlockLayout()
public void setGridBlockSort(NFHeatmapGridBlockSort gridBlockSort)
gridBlockSort
- attributespublic NFHeatmapGridBlockSort getGridBlockSort()
public void setGridBlockBackgroundColor(java.awt.Color gridBlockBackgroundColor)
gridBlockBackgroundColor
- grid block background colorpublic java.awt.Color getGridBlockBackgroundColor()
public void setGridBlockLine(NFLine gridBlockLine)
gridBlockline
- NFLine object describing the grid linepublic NFLine getGridBlockLine()
NFLine
- object describing the grid block linepublic void setColorSpectrum(NFColorSpectrum colorSpectrum)
colorSpectrum
- color spectrum valuespublic NFColorSpectrum getColorSpectrum()
public void setColorExpressions(NFVector colorExpressions)
colorExpressions
- NFVector containing a list of NFColorExpression objectspublic NFVector getColorExpressions()
public void setGridBlockLabels(int labelPosition, NFVector labels)
If the specified labelPosition is not valid then an IllegalArgumentException will be thrown.
labelPosition
- one of TOP_LABEL, LEFT_LABEL, BOTTOM_LABEL, RIGHT_LABEL
labels
- grid block labelspublic NFVector getGridBlockLabels(int labelPosition)
If the specified labelPosition is not valid then an IllegalArgumentException will be thrown.
labelPosition
- one of TOP_LABEL, LEFT_LABEL, BOTTOM_LABEL, RIGHT_LABEL
public void setGridBlockLabel(int labelPosition, NFModalLabel labelStyle)
If the specified labelPosition is not valid then an IllegalArgumentException will be thrown.
labelPosition
- one of TOP_LABEL, LEFT_LABEL, BOTTOM_LABEL, RIGHT_LABEL
labelStyle
- text style for the labelpublic NFModalLabel getGridBlockLabel(int labelPosition)
If the specified labelPosition is not valid then an IllegalArgumentException will be thrown.
labelPosition
- one of TOP_LABEL, LEFT_LABEL, BOTTOM_LABEL, RIGHT_LABEL
public void setCellTextAutoColorThreshold(int cellTextAutoColorThreshold)
cellTextAutoColorThreshold
- cell text auto color threshold valuepublic int getCellTextAutoColorThreshold()
public void setGridBlockAnimationStyle(int style)
If the value passed is not a valid grid block animation style, GRID_BLOCK_ANIMATION_STYLE_NONE will be used.
style
- One of GRID_BLOCK_ANIMATION_STYLE_NONE (default), GRID_BLOCK_ANIMATION_STYLE_SCALE or GRID_BLOCK_ANIMATION_STYLE_FADE
public int getGridBlockAnimationStyle()
GRID_BLOCK_ANIMATION_STYLE_NONE (default), GRID_BLOCK_ANIMATION_STYLE_SCALE or GRID_BLOCK_ANIMATION_STYLE_FADE
public void setLegendDwellAnimationStyle(int style)
setLegendDwellAnimationStyle
in class NFGraph
style
- One of LEGEND_DWELL_ANIMATION_STYLE_NONE (default) or LEGEND_DWELL_ANIMATION_STYLE_HIGHLIGHT
public int getLegendDwellAnimationStyle()
getLegendDwellAnimationStyle
in class NFGraph
LEGEND_DWELL_ANIMATION_STYLE_NONE
public void setLegendDwellAnimationHighlight(NFFillBorder fb)
setLegendDwellAnimationHighlight
in class NFGraph
public NFFillBorder getLegendDwellAnimationHighlight()
getLegendDwellAnimationHighlight
in class NFGraph
public void setToggleDataVisibility(boolean toggleDataVisibility)
setToggleDataVisibility
in class NFGraph
toggleDataVisibility
- true
enable show/hide data false
disable show/hide datapublic boolean getToggleDataVisibility()
getToggleDataVisibility
in class NFGraph
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class NFGraph
java.io.IOException
public void writeChart(java.lang.StringBuffer sb)
writeChart
in class NFGraph
public void resetState()
resetState
in class NFGraph
|
NetCharts Pro | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2011 |
Last Modified: Jun 28, 2011 |