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

public Class HistoryTable

extends TableView<Change<P>>
Class Inheritance
Imports
com.dlsc.preferencesfx.history.Change, .History, javafx.beans.property.ReadOnlyObjectProperty, .ReadOnlyStringWrapper, javafx.collections.ObservableList, javafx.scene.control.TableColumn, .TableView

Represents a TableView of Change being shown in the dialog to debug the History.

API Note

Used for debugging purposes only.

Authors
François Martin, Marco Sanfratello

Field Summary

Modifier and TypeField and Description
pack-priv ObservableList<Change<P>>
Inherited from javafx.scene.control.TableView:
CONSTRAINED_RESIZE_POLICYCONSTRAINED_RESIZE_POLICY_ALL_COLUMNSCONSTRAINED_RESIZE_POLICY_FLEX_LAST_COLUMNCONSTRAINED_RESIZE_POLICY_FLEX_NEXT_COLUMNCONSTRAINED_RESIZE_POLICY_LAST_COLUMNCONSTRAINED_RESIZE_POLICY_NEXT_COLUMNCONSTRAINED_RESIZE_POLICY_SUBSEQUENT_COLUMNSDEFAULT_SORT_POLICYUNCONSTRAINED_RESIZE_POLICY

Constructor Summary

AccessConstructor and Description
public
HistoryTable(ObservableList<Change<P>>
to be shown in the table
changes
)

Initializes a new table, showing the changes.

Method Summary

Modifier and TypeMethod and Description
pack-priv void
addSelectionBinding(ReadOnlyObjectProperty<Change<P>>
the property which contains the current Change in the History
currentChange
)

Updates the selection in the table whenever the current Change in the History changes.

Inherited from javafx.scene.control.TableView:
columnResizePolicyPropertycomparatorPropertycreateDefaultSkinediteditablePropertyeditingCellPropertyfixedCellSizePropertyfocusModelPropertygetClassCssMetaDatagetColumnResizePolicygetColumnsgetComparatorgetControlCssMetaDatagetEditingCellgetFixedCellSizegetFocusModelgetItemsgetOnScrollTogetOnScrollToColumngetOnSortgetPlaceholdergetRowFactorygetSelectionModelgetSortOrdergetSortPolicygetVisibleLeafColumngetVisibleLeafColumnsgetVisibleLeafIndexisEditableisTableMenuButtonVisibleitemsPropertyonScrollToColumnPropertyonScrollToPropertyonSortPropertyplaceholderPropertyqueryAccessibleAttributerefreshresizeColumnrowFactoryPropertyscrollToscrollToscrollToColumnscrollToColumnIndexselectionModelPropertysetColumnResizePolicysetEditablesetFixedCellSizesetFocusModelsetItemssetOnScrollTosetOnScrollToColumnsetOnSortsetPlaceholdersetRowFactorysetSelectionModelsetSortPolicysetTableMenuButtonVisiblesortsortPolicyPropertytableMenuButtonVisibleProperty

Field Detail

changesback to summary
pack-priv ObservableList<Change<P>> changes

Constructor Detail

HistoryTableback to summary
public HistoryTable(ObservableList<Change<P>> changes)

Initializes a new table, showing the changes.

Parameters
changes:ObservableList<Change<P>>

to be shown in the table

Method Detail

addSelectionBindingback to summary
pack-priv void addSelectionBinding(ReadOnlyObjectProperty<Change<P>> currentChange)

Updates the selection in the table whenever the current Change in the History changes.

Parameters
currentChange:ReadOnlyObjectProperty<Change<P>>

the property which contains the current Change in the History