|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--netcharts.pro.common.NFGraph
|
+--netcharts.pro.common.circular.NFSizedChart
|
+--netcharts.pro.charts.pie.NFAbstractPiechart
Represents an abstract pie chart. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Fields inherited from class netcharts.pro.common.circular.NFSizedChart |
SIZE_MAX_HEIGHT_DEFAULT, SIZE_MAX_WIDTH_DEFAULT, SIZE_MIN_HEIGHT_DEFAULT, SIZE_MIN_WIDTH_DEFAULT |
| Fields inherited from class netcharts.pro.common.NFGraph |
ANTIALIAS_OFF, ANTIALIAS_ON, ANTIALIAS_ONDRAW, ANTIALIAS_ONTEXT, antiAliasModeMap, BAR, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, HEATMAP, LINE, MULTIPIE, PARETO, PIE, POLAR, RADAR, STOCK, STRIP, TIME, XY |
| Constructor Summary | |
NFAbstractPiechart()
Constructs a default chart object. |
|
NFAbstractPiechart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFAbstractPiechart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel with the specified properties. |
|
NFAbstractPiechart(java.util.Properties initProperties)
Constructs a chart object with the specified properties. |
|
| Method Summary | |
int |
getDepth()
Get 3DDepth |
boolean |
getPieSquare()
Get pie square |
NFLine |
getSliceBorder()
Get sliceBorder for this pie chart |
NFVector |
getSliceFillPatterns()
Get slice fill patterns |
NFSliceLabel |
getSliceLabel()
Get sliceLabel object for this pie chart |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setDepth(int depth)
Set 3DDepth |
void |
setPieSize(int minWidth,
int minHeight,
int maxWidth,
int maxHeight)
Set the minimum and maximum size of the Piechart. |
void |
setPieSquare(boolean pieSquare)
Set pie square |
void |
setSliceBorder(NFLine sliceBorder)
Set border for this pie chart |
void |
setSliceFillPatterns(NFVector sliceFillPatterns)
Set slice fill patterns |
void |
setSliceLabel(NFSliceLabel label)
Set sliceLabel object for this pie chart |
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 netcharts.pro.common.circular.NFSizedChart |
getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public NFAbstractPiechart()
public NFAbstractPiechart(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 NFAbstractPiechart(javax.swing.JPanel panel)
panel - Panel to draw chart on.
public NFAbstractPiechart(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 void setPieSize(int minWidth,
int minHeight,
int maxWidth,
int maxHeight)
throws NFParamException
minWidth - The minimum width of the Piechart.minHeight - The minimum height of the Piechart.maxWidth - The maximum width of the Piechart.maxHeight - The maximum height of the Piechart.public void setSliceLabel(NFSliceLabel label)
label - Contains several elements that characterize
how slice labels should be shown.public NFSliceLabel getSliceLabel()
public void setSliceBorder(NFLine sliceBorder)
sliceBorder - The line style to use for slice border linespublic NFLine getSliceBorder()
public void setDepth(int depth)
depth - 3D shadow depthpublic int getDepth()
public void setPieSquare(boolean pieSquare)
pieSquare - When true, the pie will always have a
consistent width and height. When false, the pie will
attempt to use all available width and heightpublic boolean getPieSquare()
public void setSliceFillPatterns(NFVector sliceFillPatterns)
throws NFParamException
input - A NFVector of NFFillPatterns corresponding to each
slice.public NFVector getSliceFillPatterns()
input - A NFVector of NFFillPatterns corresponding to each
slice.
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFGraphpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFSizedChartpublic void resetState()
resetState in class NFSizedChart
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2006 |
Last Modified: Apr 14, 2006 |