public class BarChartFXDemo1 extends Application implements ChartMouseListenerFX
Application.Parameters
STYLESHEET_CASPIAN, STYLESHEET_MODENA
Constructor and Description |
---|
BarChartFXDemo1() |
Modifier and Type | Method and Description |
---|---|
void |
chartMouseClicked(ChartMouseEventFX event)
Write the event to the console, just to illustrate.
|
void |
chartMouseMoved(ChartMouseEventFX event)
Write the event to the console, just to illustrate.
|
static void |
main(String[] args)
Entry point.
|
void |
start(Stage stage)
Adds a chart viewer to the stage and displays it.
|
getHostServices, getParameters, getUserAgentStylesheet, init, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
public void start(Stage stage) throws Exception
start
in class Application
stage
- the stage.Exception
- if something goes wrong.public static void main(String[] args)
args
- the command line argumentspublic void chartMouseClicked(ChartMouseEventFX event)
chartMouseClicked
in interface ChartMouseListenerFX
event
- event info.public void chartMouseMoved(ChartMouseEventFX event)
chartMouseMoved
in interface ChartMouseListenerFX
event
- event info.Jas4pp 1.5 © Java Analysis Studio for Particle Physics