NetCharts Pro

netcharts.pro.common.circular
Class NFSizedChart

java.lang.Object
  extended by netcharts.pro.common.NFGraph
      extended by netcharts.pro.common.circular.NFSizedChart
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, NFDragObserver, NFDwellObserver, NFGraphObserver, NFScrollObserver
Direct Known Subclasses:
NFAbstractPiechart, NFDialchart, NFPolarchart, NFRadarchart

public abstract class NFSizedChart
extends NFGraph

Represents a chart that allows for the data area to be sized.

See Also:
Serialized Form

Field Summary
static int SIZE_MAX_HEIGHT_DEFAULT
          Default maximum height (-1).
static int SIZE_MAX_WIDTH_DEFAULT
          Default maximum width (-1).
static int SIZE_MIN_HEIGHT_DEFAULT
          Default minimum height (-1).
static int SIZE_MIN_WIDTH_DEFAULT
          Default minimum width (-1).
 
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
NFSizedChart()
          Constructs a default NFSizedChart object.
NFSizedChart(javax.swing.JPanel panel)
          Constructs an NFSizedChart object on the given JPanel.
NFSizedChart(javax.swing.JPanel panel, java.util.Properties runtimeProperties)
          Constructs an NFSizedChart object on the given JPanel.
NFSizedChart(java.util.Properties runtimeProperties)
          Constructs a default NFSizedChart object.
 
Method Summary
 int getMaxHeight()
          Gets the maximum height of the chart.
 int getMaxWidth()
          Gets the maximum width of the chart.
 int getMinHeight()
          Gets the minimum height of the chart.
 int getMinWidth()
          Gets the minimum width of the chart.
 void resetState()
          Resets all of the parameter values to their initial state.
 void setMaxHeight(int maxHeight)
          Set the maximum height of the chart.
 void setMaxWidth(int maxWidth)
          Set the maximum width of the chart.
 void setMinHeight(int minHeight)
          Set the minimum height of the chart.
 void setMinWidth(int minWidth)
          Set the minimum width of the chart.
 void writeChart(java.lang.StringBuffer sb)
          Writes this chart into a string buffer
 
Methods inherited from class netcharts.pro.common.NFGraph
addChartActionListener, addGraphObserver, addNote, addPropertyChangeListener, display, dwellDisplay, dwellPress, finalize, getActiveClicks, getAlwaysUpdate, getAntiAlias, getAntiAliasMode, getBackgroundActiveLabel, getBackgroundFillPattern, getBackgroundRegion, getBuildAnimationEnabled, getCDL, getChartElementSpacing, getChartName, getChartSize, getColorTable, getDataActiveLabelsEnabled, getDefaultData, getDwell, getDwellAnimation, getDwellAnimationHighlight, getDwellAnimationStyle, getDwellOffset, getErrors, getFooter, getGraph, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphFromTemplate, getGraphGraphics, getHeader, getLabelAnimationStyle, getLeftTitle, getLegend, getLegendAnimationStyle, getLegendDwellAnimation, getLegendDwellAnimationHighlight, getLegendDwellAnimationStyle, getLicenseActivationKey, getMetaData, getMinimumSize, getNoteSeries, getNumberFormat, getNumErrors, getPanel, getPlotArea, getPreferredSize, getRightTitle, getRootPanel, getRubberband, getScaleFactor, getTitleSpacing, getToggleDataVisibility, getType, getVersion, graphDrawn, graphTooSmall, initializeFromFile, initializeFromString, initializeFromURL, loadFromTemplate, loadFromTemplate, loadFromTemplate, loadLicenseFile, paint, postDrag, postScroll, preDrag, preScroll, readExternal, removeChartActionListener, removeGraphObserver, removePropertyChangeListener, sendData, sendData, sendData, sendData, sendUpdate, set, set, set, set, set, set, setActiveClicks, setAlwaysUpdate, setAntiAlias, setAntiAliasMode, setBackgroundActiveLabel, setBackgroundFillPattern, setBackgroundRegion, setBuildAnimationEnabled, setChartElementSpacing, setChartName, setChartSize, setColorTable, setDataActiveLabelsEnabled, setDocumentBase, setDwell, setDwellAnimation, setDwellAnimationHighlight, setDwellAnimationStyle, setDwellOffset, setFooter, setHeader, setLabelAnimationStyle, setLeftTitle, setLegend, setLegendAnimationStyle, setLegendDwellAnimation, setLegendDwellAnimationHighlight, setLegendDwellAnimationStyle, setLicenseKey, setLicenseKey, setLicenseLocation, setMetaData, setNoteSeries, setNumberFormat, setParentApplet, setPlotArea, setRightTitle, setRubberband, setScaleFactor, setSize, setSize, setTitleSpacing, setToggleDataVisibility, start, stop, toString, writeExternal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SIZE_MIN_WIDTH_DEFAULT

public static int SIZE_MIN_WIDTH_DEFAULT
Default minimum width (-1).


SIZE_MIN_HEIGHT_DEFAULT

public static int SIZE_MIN_HEIGHT_DEFAULT
Default minimum height (-1).


SIZE_MAX_WIDTH_DEFAULT

public static int SIZE_MAX_WIDTH_DEFAULT
Default maximum width (-1).


SIZE_MAX_HEIGHT_DEFAULT

public static int SIZE_MAX_HEIGHT_DEFAULT
Default maximum height (-1).

Constructor Detail

NFSizedChart

public NFSizedChart()
Constructs a default NFSizedChart object.


NFSizedChart

public NFSizedChart(java.util.Properties runtimeProperties)
Constructs a default NFSizedChart object.

Parameters:
runtimeProperties - 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.

NFSizedChart

public NFSizedChart(javax.swing.JPanel panel)
Constructs an NFSizedChart object on the given JPanel.

Parameters:
panel - Panel to draw graph on.

NFSizedChart

public NFSizedChart(javax.swing.JPanel panel,
                    java.util.Properties runtimeProperties)
Constructs an NFSizedChart object on the given JPanel.

Parameters:
panel - Panel to draw graph on.
runtimeProperties - 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

setMinWidth

public void setMinWidth(int minWidth)
                 throws NFParamException
Set the minimum width of the chart. To specify no minimum width, set to -1. Value must be greater than or equal to 0 and less than the maximum if configured.

Parameters:
minWidth -
Throws:
NFParamException

getMinWidth

public int getMinWidth()
Gets the minimum width of the chart. If no minimum width has been specified, returns -1.

Returns:
Minimum width of the chart

setMinHeight

public void setMinHeight(int minHeight)
                  throws NFParamException
Set the minimum height of the chart. To specify no minimum height, set to -1. Value must be greater than or equal to 0 and less than the maximum if configured.

Parameters:
minHeight -
Throws:
NFParamException

getMinHeight

public int getMinHeight()
Gets the minimum height of the chart. If no minimum height has been specified, returns -1.

Returns:
Minimum height of the chart

setMaxHeight

public void setMaxHeight(int maxHeight)
                  throws NFParamException
Set the maximum height of the chart. To specify no maximum height, set to -1. Value must be greater than or equal to 0 or the minimum height if configured.

Parameters:
maxHeight -
Throws:
NFParamException

getMaxHeight

public int getMaxHeight()
Gets the maximum height of the chart. If no maximum height has been specified, returns -1.

Returns:
Maximum height of the chart

setMaxWidth

public void setMaxWidth(int maxWidth)
                 throws NFParamException
Set the maximum width of the chart. To specify no maximum width, set to -1. Value must be greater than or equal to 0 or the minimum width if configured.

Parameters:
maxHeight -
Throws:
NFParamException

getMaxWidth

public int getMaxWidth()
Gets the maximum width of the chart. If no maximum width has been specified, returns -1.

Returns:
Maximum width of the chart

resetState

public void resetState()
Resets all of the parameter values to their initial state.

Overrides:
resetState in class NFGraph

writeChart

public void writeChart(java.lang.StringBuffer sb)
Writes this chart into a string buffer

Overrides:
writeChart in class NFGraph

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011