public abstract class BaseGraphApp
extends javafx.application.Application
To produce a custom graph app, e.g. a BubbleGraphApp, you first extend the
BaseGraphApp. You must also create a custom graph view, e.g. a BubbleGraphView,
by extending the BaseGraphView. Details on how to create the BaseGraphView
are available in the documentation for that class. When you have the BaseGraphView, you
can override the getGraphView() method to return that.
Then, you add some data formulae to the app, using
addDataFormulae( "[formula 1]", "[formula 2]" , ... )
This can be done by overriding the start() method and adding the data formulae there
BaseGraphView,
ConfigurationDialog| Constructor and Description |
|---|
BaseGraphApp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDataFormulae(String... formulae)
Adds the given data formulae to the list of acceptable data formulae
for this graphing application.
|
abstract BaseGraphView |
getGraphView() |
void |
openConfigurationPanel()
Shows the configuration panel that allows the user to configure properties
of the graph, such as its interpolation scheme or its x column.
|
void |
start(javafx.stage.Stage stage) |
public abstract BaseGraphView getGraphView()
public void start(javafx.stage.Stage stage)
throws Exception
start in class javafx.application.ApplicationExceptionpublic void addDataFormulae(String... formulae)
formulae - the formulae to addpublic void openConfigurationPanel()
Copyright © 2015. All rights reserved.