java.lang.Object
javafx.scene.control.Dialog<String>
com.cryptoalgo.oursql.component.TableDialog
- All Implemented Interfaces:
javafx.event.EventTarget
A dialog that displays a table as its primary component.
Primarily used for displaying the results of a query/statement. The
code in this dialog is of lower quality than the rest of the project
due to extreme time constraints.
-
Property Summary
Properties inherited from class javafx.scene.control.Dialog
contentText, dialogPane, graphic, headerText, height, onCloseRequest, onHidden, onHiding, onShowing, onShown, resizable, resultConverter, result, showing, title, width, x, y
-
Constructor Summary
-
Method Summary
Methods inherited from class javafx.scene.control.Dialog
buildEventDispatchChain, close, contentTextProperty, dialogPaneProperty, getContentText, getDialogPane, getGraphic, getHeaderText, getHeight, getModality, getOnCloseRequest, getOnHidden, getOnHiding, getOnShowing, getOnShown, getOwner, getResult, getResultConverter, getTitle, getWidth, getX, getY, graphicProperty, headerTextProperty, heightProperty, hide, initModality, initOwner, initStyle, isResizable, isShowing, onCloseRequestProperty, onHiddenProperty, onHidingProperty, onShowingProperty, onShownProperty, resizableProperty, resultConverterProperty, resultProperty, setContentText, setDialogPane, setGraphic, setHeaderText, setHeight, setOnCloseRequest, setOnHidden, setOnHiding, setOnShowing, setOnShown, setResizable, setResult, setResultConverter, setTitle, setWidth, setX, setY, show, showAndWait, showingProperty, titleProperty, widthProperty, xProperty, yProperty
-
Constructor Details
-
TableDialog
public TableDialog(List<String> col, javafx.collections.ObservableList<javafx.collections.ObservableList<Container<?>>> data, String title, String header, String body) Create an instance of the dialog with a table.- Parameters:
data
- 2DObservableList
of data to display, null if no table is to be displayedtitle
- Title of dialogheader
- Header of dialog
-