public class WorksheetController
extends java.lang.Object
implements javafx.fxml.Initializable, java.lang.AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
javafx.scene.layout.AnchorPane |
chartParent |
javafx.scene.layout.AnchorPane |
root |
static double |
TOOL_BUTTON_SIZE |
protected java.util.List<ChartViewPort<java.lang.Double>> |
viewPorts |
| Constructor and Description |
|---|
WorksheetController(MainViewController parentController,
Worksheet<java.lang.Double> worksheet,
java.util.Collection<DataAdapter> sourcesAdapters) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBindings(java.util.Collection<TimeSeriesBinding<java.lang.Double>> bindings,
Chart<java.lang.Double> targetChart) |
void |
close() |
protected void |
finalize() |
java.lang.String |
getName() |
Worksheet<java.lang.Double> |
getWorksheet()
Returns the
Worksheet instance associated with this controller |
protected void |
handleHistoryBack(javafx.event.ActionEvent actionEvent) |
protected void |
handleHistoryForward(javafx.event.ActionEvent actionEvent) |
protected void |
handleRefresh(javafx.event.ActionEvent actionEvent) |
protected void |
handleRemoveSeries(javafx.event.ActionEvent actionEvent) |
protected void |
handleTakeSnapshot(javafx.event.ActionEvent actionEvent) |
void |
initialize(java.net.URL location,
java.util.ResourceBundle resources) |
protected void |
refresh() |
protected void |
removeSelectedBinding(javafx.scene.control.TableView<TimeSeriesInfo<java.lang.Double>> seriesTable) |
void |
setName(java.lang.String name) |
void |
setReloadRequiredHandler(java.util.function.Consumer<WorksheetController> action) |
void |
setShowPropertiesPane(boolean value) |
void |
toggleShowPropertiesPane() |
public javafx.scene.layout.AnchorPane root
public javafx.scene.layout.AnchorPane chartParent
protected java.util.List<ChartViewPort<java.lang.Double>> viewPorts
public static final double TOOL_BUTTON_SIZE
public WorksheetController(MainViewController parentController, Worksheet<java.lang.Double> worksheet, java.util.Collection<DataAdapter> sourcesAdapters) throws java.io.IOException, NoAdapterFoundException
java.io.IOExceptionNoAdapterFoundExceptionpublic java.lang.String getName()
public void setName(java.lang.String name)
public Worksheet<java.lang.Double> getWorksheet()
Worksheet instance associated with this controllerWorksheet instance associated with this controllerpublic void initialize(java.net.URL location,
java.util.ResourceBundle resources)
initialize in interface javafx.fxml.Initializablepublic void close()
close in interface java.lang.AutoCloseablepublic void setReloadRequiredHandler(java.util.function.Consumer<WorksheetController> action)
protected void addBindings(java.util.Collection<TimeSeriesBinding<java.lang.Double>> bindings, Chart<java.lang.Double> targetChart)
protected void removeSelectedBinding(javafx.scene.control.TableView<TimeSeriesInfo<java.lang.Double>> seriesTable)
protected void refresh()
protected void handleHistoryBack(javafx.event.ActionEvent actionEvent)
protected void handleHistoryForward(javafx.event.ActionEvent actionEvent)
protected void handleRefresh(javafx.event.ActionEvent actionEvent)
protected void handleRemoveSeries(javafx.event.ActionEvent actionEvent)
protected void handleTakeSnapshot(javafx.event.ActionEvent actionEvent)
public void toggleShowPropertiesPane()
public void setShowPropertiesPane(boolean value)
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableCopyright © 2018 Frederic Thevenet. All rights reserved.