Top Description Fields Constructors Methods
com.dlsc.preferencesfx.history.view

public Class HistoryDialog

extends DialogPane
Class Inheritance
Imports
com.dlsc.preferencesfx.history.Change, .History, javafx.scene.Node, javafx.scene.control.Button, .ButtonType, .Dialog, .DialogPane, javafx.scene.layout.VBox, javafx.stage.Modality

Shows a dialog with a table of Change made in the History.

API Note

Used for debugging purposes only.

Authors
François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
private Dialog<R>
private History
private VBox
private HistoryTable
private Button
private Button

Constructor Summary

AccessConstructor and Description
public
HistoryDialog(History
the history which should be shown in the table
history
)

Initializes a new dialog for debugging the history.

Method Summary

Modifier and TypeMethod and Description
private void
private void
private void
setupClose()

Instantiates a close button and makes it invisible.

private void
private void
Inherited from javafx.scene.control.DialogPane:
computeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthcontentPropertycontentTextPropertycreateButtoncreateButtonBarcreateDetailsButtonexpandableContentPropertyexpandedPropertygetButtonTypesgetClassCssMetaDatagetContentgetContentTextgetCssMetaDatagetExpandableContentgetGraphicgetHeadergetHeaderTextgraphicPropertyheaderPropertyheaderTextPropertyisExpandedlayoutChildrenlookupButtonsetContentsetContentTextsetExpandableContentsetExpandedsetGraphicsetHeadersetHeaderText

Field Detail

dialogback to summary
private Dialog<R> dialog

Hides javafx.scene.control.DialogPane.dialog.

historyback to summary
private History history
historyBoxback to summary
private VBox historyBox
historyTableback to summary
private HistoryTable historyTable
redoAllBtnback to summary
private Button redoAllBtn
undoAllBtnback to summary
private Button undoAllBtn

Constructor Detail

HistoryDialogback to summary
public HistoryDialog(History history)

Initializes a new dialog for debugging the history.

Parameters
history:History

the history which should be shown in the table

Method Detail

layoutFormback to summary
private void layoutForm()
setupBindingsback to summary
private void setupBindings()
setupCloseback to summary
private void setupClose()

Instantiates a close button and makes it invisible. Dialog requires at least one button to close the dialog window.

See Also
javafx.scene.control.Dialog Chapter: Dialog Closing Rules
setupEventHandlerback to summary
private void setupEventHandler()
setupPartsback to summary
private void setupParts()