java.lang.Object
javafx.scene.control.Dialog<String>
com.cryptoalgo.oursql.component.TableDialog
All Implemented Interfaces:
javafx.event.EventTarget

public class TableDialog extends javafx.scene.control.Dialog<String>
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

    Constructors
    Constructor
    Description
    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.
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 - 2D ObservableList of data to display, null if no table is to be displayed
      title - Title of dialog
      header - Header of dialog