|
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.charts.pie.NFPiechart
Piechart object. Provides the ability to configure the chart via object manipulation or directly from CDL.
| Fields inherited from class netcharts.pro.common.NFGraph |
BAR, BOX, BUBBLE, COMBO, DIAGRAM, DIAL, LINE, PIE, RADAR, STOCK, STRIP, TIME, XY |
| Constructor Summary | |
NFPiechart()
Constructs a default chart object. |
|
NFPiechart(javax.swing.JPanel panel)
Constructs a chart object on the given JPanel. |
|
NFPiechart(javax.swing.JPanel panel,
java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
NFPiechart(java.util.Properties initProperties)
Constructs a chart object on the given JPanel. |
|
| Method Summary | |
NFVector |
getActiveLabels()
Get active labels |
int |
getAngle()
Get starting angle |
NFVector |
getDataLabels()
Get data labels |
NFVector |
getDataSet()
Get data set |
java.lang.String |
getDefaultData()
Gets the default data - used to initialize IDE editors |
int |
getDepth()
Get 3DDepth |
int |
getMaxHeight()
Gets the maximum height of the Piechart. |
int |
getMaxWidth()
Gets the maximum width of the Piechart. |
int |
getMinHeight()
Gets the minimum height of the Piechart. |
int |
getMinWidth()
Gets the minimum width of the Piechart. |
boolean |
getPieSquare()
Get pie square |
NFLine |
getSliceBorder()
Get sliceBorder for this pie chart |
NFVector |
getSliceColors()
Get slice colors |
NFVector |
getSliceFillPatterns()
Get slice fill patterns |
NFSliceLabel |
getSliceLabel()
Get sliceLabel object for this pie chart |
NFVector |
getSlicePos()
Get slice positions |
int |
getType()
Gets the type of this chart. |
void |
resetState()
Resets all of the parameter values to their initial state. |
void |
setActiveLabels(NFVector activeLabels)
Set active labels |
void |
setAngle(int angle)
Set starting angle |
void |
setDataLabels(NFVector dataLabels)
Set data labels |
void |
setDataSet(NFVector dataSet)
Set data set |
void |
setDepth(int depth)
Set 3DDepth |
void |
setMaxHeight(int maxHeight)
Set the maximum height of the Piechart. |
void |
setMaxWidth(int maxWidth)
Set the maximum width of the Piechart. |
void |
setMinHeight(int minHeight)
Set the minimum height of the Piechart. |
void |
setMinWidth(int minWidth)
Set the minimum width of the Piechart. |
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 |
setSliceColors(NFVector sliceColors)
Set slice colors |
void |
setSliceFillPatterns(NFVector sliceFillPatterns)
Set slice fill patterns |
void |
setSliceLabel(NFSliceLabel label)
Set sliceLabel object for this pie chart |
void |
setSlicePos(NFVector slicePos)
Set slice positions |
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 |
| Constructor Detail |
public NFPiechart()
public NFPiechart(java.util.Properties initProperties)
initProperties - A java.util.Properties object containing the set
of runtime properties to use when generating the chart.public NFPiechart(javax.swing.JPanel panel)
panel - Panel to draw chart on.
public NFPiechart(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.| Method Detail |
public void setMinWidth(int minWidth)
throws NFParamException
minWidth -
public int getMinWidth()
throws NFParamException
public void setMinHeight(int minHeight)
throws NFParamException
minHeight - public int getMinHeight()
public void setMaxHeight(int maxHeight)
throws NFParamException
maxHeight - public int getMaxHeight()
public void setMaxWidth(int maxWidth)
throws NFParamException
maxHeight - public int getMaxWidth()
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 setAngle(int angle)
angle - In degrees 0-359public int getAngle()
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 setDataSet(NFVector dataSet)
throws NFParamException
input - A NFVector of numeric datapublic NFVector getDataSet()
public void setDataLabels(NFVector dataLabels)
throws NFParamException
input - A NFVector of string labels corresponding to each slicepublic NFVector getDataLabels()
public void setSlicePos(NFVector slicePos)
throws NFParamException
input - A NFVector of numeric values corresponding to each
slice position.public NFVector getSlicePos()
public void setActiveLabels(NFVector activeLabels)
throws NFParamException
input - A NFVector of NFActiveLabels corresponding to each
slice.public NFVector getActiveLabels()
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 setSliceColors(NFVector sliceColors)
throws NFParamException
input - A NFVector of Color objects corresponding to each
slice.public NFVector getSliceColors()
public java.lang.String getDefaultData()
getDefaultData in class NFGraphpublic int getType()
getType in class NFGraphnetcharts.pro.charts.pie.NFGraph.PIE
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in class NFGraphpublic void writeChart(java.lang.StringBuffer sb)
writeChart in class NFGraphpublic void resetState()
resetState in class NFGraph
|
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 - 2004 |
Last Modified: Apr 1, 2004 |