| Overview | Package | Class | Tree | Index | Help | NetCharts 4.5 | ||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--java.applet.Applet
|
+--netcharts.chart.NFChart
|
+--netcharts.apps.NFApplet
|
+--netcharts.apps.NFMultiChartApp
| Inner classes inherited from class java.applet.Applet | |
| java.applet.Applet.AccessibleApplet | |
| Inner classes inherited from class java.awt.Panel | |
| java.awt.Panel.AccessibleAWTPanel | |
| Inner classes inherited from class java.awt.Container | |
| java.awt.Container.AccessibleAWTContainer | |
| Inner classes inherited from class java.awt.Component | |
| java.awt.Component.AccessibleAWTComponent | |
| Field Summary | |
| java.util.Vector | charts
Charts |
| NFMultiChart | mc
Underlying multichart object |
| Fields inherited from class netcharts.chart.NFChart | |
| graph, url | |
| Constructor Summary | |
| NFMultiChartApp()
Create a new MultiChart object. | |
| NFMultiChartApp(java.applet.Applet app)
Create a new MultiChart applet and specify the overall applet in which it is embedded. | |
| Method Summary | |
| void | addBreak()
Adds a "BREAK" to the sash layout at the end of the currently displayed charts |
| void | addChart(NFCdf cdf)
Add a new chart to the current list. |
| void | addChart(NFChart chart)
Add the given Chart. |
| void | addChart(NFMultiChartApp mcFrom)
Add each of the charts in the given multichart to the current multichart. |
| void | addChart(java.lang.String chartName,
int type,
int width,
int height)
Add a new chart to the current list. |
| void | addChart(java.lang.String chartName,
int type,
int width,
int height,
NFChart chart)
Add a new chart to the current list. |
| void | addCharts(java.util.Vector newCharts)
Add a vector of charts to the MultiChart. |
| void | adoptLayout(NFMultiChartApp mcFrom)
Modifies the layout (order and size) of the charts in this multichart to match that of the multichart specified. |
| void | createChart(java.lang.String name,
int type)
Create a Chart with the given name and type. |
| void | createChart(java.lang.String name,
int type,
NFChart chart)
Create a Chart with the given name and type. |
| void | enableDrag(boolean dragEnabled)
Toggle Chart dragging. |
| NFChart | getChart(java.lang.String chartName)
Returns the NFChart object for the chart with the given name, as specified in the Chart parameter. |
| NFChart | getChartAt(int index)
Returns the NFChart object for the chart at the index specified. |
| java.util.Enumeration | getChartNames()
Returns an enumeration of all chart names currently defined in the multi chart. |
| void | init()
This method must be called after a MultiChart applet is created in order to initially layout the MultiChart and to load the applet parameters. |
| void | insertChart(NFChart chart,
int index)
Insert the given chart at the given index. |
| void | insertChart(java.lang.String chartName,
int type,
int width,
int height,
NFChart chart,
int index)
Add a new chart to the current list at the position specified. |
| void | layout()
Layout the charts. |
| void | layoutCharts()
Layout the charts. |
| void | loadParams(NFParam param)
Load all the parameters. |
| void | paramChanged(java.lang.Object observable,
java.lang.String arg,
java.lang.Object o)
This method implements the NFParamObserver interface. |
| void | printAll(java.awt.Graphics g)
This method is provided to support print processing under JDK 1.1 |
| void | releaseCharts()
Release all charts. |
| void | removeAllCharts()
Remove all charts from the multichart. |
| void | removeChart(NFChart chart)
Remove the specified chart from the multichart. |
| void | removeChart(java.lang.String chartName)
Remove the chart with the given name from the multichart. |
| void | replaceChart(NFChart chart,
int index)
Replace the given chart at the given index. |
| void | replaceChart(java.lang.String newChartName,
int type,
int width,
int height,
NFChart chart,
int index)
Replace the given chart at the given index. |
| void | replaceChart(java.lang.String oldChartName,
java.lang.String newChartName,
int type,
int width,
int height,
NFChart chart)
Replace the given chart at the given index. |
| void | setDragImageSize(java.awt.Dimension d)
Set the size of the image used in dragging. |
| void | start()
Start all the Charts processing. |
| void | stop()
Stop all the Charts processing. |
| void | updateChartsParam()
Update the internally maintained Charts parameters. |
| void | useImage(boolean useImage)
Toggle the use of images as opposed to active Charts. |
| Methods inherited from class netcharts.chart.NFChart | |
| clean, display, drawImage, getApplet, getAppletInfo, getCdf, getCDL, getChart, getChart, getChart, getChart, getContext, getErrors, getIndex, getLoadAppletParamsOnInit, getMetaData, getMetaDataKeys, getModified, getName, getParam, getParam, getTextualDescription, init, loadParams, loadParams, loadParams, loadParams, loadParams, loadParamsJS, preferredSize, printAll, reloadChart, reloadChart, reloadNeeded, reshape, resize, set, set, set, set, set, set, setApplet, setCdf, setContext, setLoadAppletParamsOnInit, setModified, setScale, start, stop | |
| Field Detail |
public NFMultiChart mc
public java.util.Vector charts
| Constructor Detail |
public NFMultiChartApp()
public NFMultiChartApp(java.applet.Applet app)
app
- Applet to use for parameter loading.| Method Detail |
public void init()
public void printAll(java.awt.Graphics g)
g
- The Graphics to print to.public void addChart(NFCdf cdf)
cdf
- The Cdf definition to add.
public void addChart(java.lang.String chartName,
int type,
int width,
int height)
chartName
- The new Chart name.
type
- The new Chart type.
width
- The new Chart width.
height
- The new Chart height.public void addChart(NFChart chart)
chart
- The Chart to add.
public void addChart(java.lang.String chartName,
int type,
int width,
int height,
NFChart chart)
If the graph parameter is null, then it will be used as the graph. Otherwise, a new NFGraph object of the appropriate type will be created.
chartName
- The new Chart name.
type
- The new Chart type.
width
- The new Chart width.
height
- The new Chart height.
chart
- The Chart to add.public void addCharts(java.util.Vector newCharts)
newCharts
- A Vector of charts.public void addChart(NFMultiChartApp mcFrom)
mcFrom
- The MultiChart to get the other charts from.public void addBreak()
public void insertChart(NFChart chart,
int index)
chart
- The Chart to insert.
public void insertChart(java.lang.String chartName,
int type,
int width,
int height,
NFChart chart,
int index)
If the graph parameter is null, then it will be used as the graph. Otherwise, a new NFGraph object of the appropriate type will be created.
chartName
- The new Chart name.
type
- The new Chart type.
width
- The new Chart width.
height
- The new Chart height.
chart
- The Chart to insert.public void removeChart(java.lang.String chartName)
chartName
- The name of the Chart to remove.public void removeChart(NFChart chart)
chart
- The Chart to remove.public void removeAllCharts()
public void replaceChart(NFChart chart,
int index)
chart
- The Chart to replace the specified Chart with.
index
- The index of the Chart to be replaced.
public void replaceChart(java.lang.String newChartName,
int type,
int width,
int height,
NFChart chart,
int index)
newChartName
- The new Chart name.
type
- The new Chart type.
width
- The new Chart width.
height
- The new Chart height.
chart
- The Chart to replace the specified Chart with.
index
- The index of the Chart to be replaced.
public void replaceChart(java.lang.String oldChartName,
java.lang.String newChartName,
int type,
int width,
int height,
NFChart chart)
oldChartName
- The old Chart name.
newChartName
- The new Chart name.
type
- The new Chart type.
width
- The new Chart width.
height
- The new Chart height.
chart
- The Chart to replace the specified Chart with.public void enableDrag(boolean dragEnabled)
dragEnabled
- Whether dragging is to be enabled or not.public void setDragImageSize(java.awt.Dimension d)
d
- The size.public void useImage(boolean useImage)
useImage
- Whether to use images or not.
public void createChart(java.lang.String name,
int type)
throws NFParamException
name
- The Chart name.
type
- The Chart type.
public void createChart(java.lang.String name,
int type,
NFChart chart)
throws NFParamException
name
- The Chart name.
type
- The Chart type.
chart
- If non-null, it is added with the given name.public void releaseCharts()
public void layout()
public void layoutCharts()
public java.util.Enumeration getChartNames()
public NFChart getChart(java.lang.String chartName)
chartName
- The Chart name.public NFChart getChartAt(int index)
index
- The index of the Chart.public void adoptLayout(NFMultiChartApp mcFrom)
mcFrom
- The MultiChart to adopt the layout from.
public void paramChanged(java.lang.Object observable,
java.lang.String arg,
java.lang.Object o)
obj
- The cause of the event.
arg
- The parameter name.
o
- The new value.public void start()
public void stop()
public void loadParams(NFParam param)
throws java.lang.Exception
param
- The NFParam to load parameters from.protected void updateChartsParam()
| Overview | Package | Class | Tree | Index | Help | |||
| 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: Feb 20, 2004 |