XAXIS - the generic typepublic abstract class AbstractGraph<XAXIS> extends java.lang.Object implements ConnectionEventListener
| Modifier and Type | Field and Description |
|---|---|
protected javafx.scene.chart.XYChart<XAXIS,java.lang.Number> |
chart
The chart.
|
protected java.util.concurrent.atomic.AtomicBoolean |
running
The running.
|
protected rx.Scheduler |
scheduler
The scheduler.
|
protected javafx.scene.chart.XYChart.Series<XAXIS,java.lang.Number> |
series
The series.
|
protected javafx.scene.control.ToggleButton |
startStop
The start stop.
|
protected javafx.scene.chart.Axis<XAXIS> |
xAxis
The x axis.
|
protected javafx.scene.chart.NumberAxis |
yAxis
The y axis.
|
| Constructor and Description |
|---|
AbstractGraph()
Instantiates a new abstract graph.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
connectionError(ConnectionEvent.State state)
Connection error.
|
void |
connectionEventPerformed(ConnectionEvent e)
Invoked when the connected state of the
AbstractMultiConnectionSocket changes. |
protected javafx.scene.layout.Pane |
getButtons()
Gets the buttons.
|
protected abstract int |
getChannel() |
RawEspConnection |
getConnection()
Gets the connection.
|
abstract javafx.scene.layout.Region |
getLayout()
Gets the layout.
|
protected abstract void |
graphAccept(double[][] samples)
Graph accept.
|
protected void |
postSetConnection()
Post set connection.
|
protected void |
preSetConnection()
Pre set connection.
|
protected void |
preStart()
Pre start.
|
void |
setConnection(RawEspConnection connection)
Sets the connection.
|
protected void |
showConnectionError(java.lang.String masthead)
Show connection error.
|
protected abstract void |
start()
Start.
|
protected void |
startStop()
Start stop.
|
protected abstract void |
stop()
Stop.
|
protected void |
toolTip(javafx.scene.control.Control node,
java.lang.String tip)
Tool tip.
|
protected javafx.scene.chart.XYChart<XAXIS,java.lang.Number> chart
protected javafx.scene.chart.XYChart.Series<XAXIS,java.lang.Number> series
protected javafx.scene.chart.Axis<XAXIS> xAxis
protected javafx.scene.chart.NumberAxis yAxis
protected javafx.scene.control.ToggleButton startStop
protected java.util.concurrent.atomic.AtomicBoolean running
protected rx.Scheduler scheduler
public void connectionEventPerformed(ConnectionEvent e)
ConnectionEventListenerAbstractMultiConnectionSocket changes.connectionEventPerformed in interface ConnectionEventListenere - the eprotected void toolTip(javafx.scene.control.Control node,
java.lang.String tip)
node - the nodetip - the tipprotected void preStart()
protected abstract int getChannel()
public abstract javafx.scene.layout.Region getLayout()
protected void connectionError(ConnectionEvent.State state)
state - the stateprotected abstract void start()
protected abstract void stop()
protected javafx.scene.layout.Pane getButtons()
public RawEspConnection getConnection()
public void setConnection(RawEspConnection connection)
connection - the new connectionprotected void preSetConnection()
protected void postSetConnection()
protected abstract void graphAccept(double[][] samples)
samples - the samplesprotected void startStop()
protected void showConnectionError(java.lang.String masthead)
masthead - the masthead