- java.lang.Object
-
- javafx.scene.control.TableColumnBase<S,T>
-
- javafx.scene.control.TableColumn<S,T>
-
- org.tentackle.fx.table.FxTableColumn<S,T>
-
- Type Parameters:
S- The type of the TableView generic type (i.e. S == TableView<S>)T- The type of the content in all cells in this TableColumn.
- All Implemented Interfaces:
javafx.css.Styleable,javafx.event.EventTarget
public class FxTableColumn<S,T> extends javafx.scene.control.TableColumn<S,T>An extended table column.
Holds the column configuration.- Author:
- harald
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.scene.control.TableColumn
javafx.scene.control.TableColumn.CellDataFeatures<S extends java.lang.Object,T extends java.lang.Object>, javafx.scene.control.TableColumn.CellEditEvent<S extends java.lang.Object,T extends java.lang.Object>, javafx.scene.control.TableColumn.SortType
-
-
Constructor Summary
Constructors Constructor Description FxTableColumn(TableColumnConfiguration<S,T> configuration)Creates a table column.FxTableColumn(TableColumnConfiguration<S,T> configuration, java.lang.String text)Creates a table column.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableColumnConfiguration<S,T>getConfiguration()Gets the configuration.-
Methods inherited from class javafx.scene.control.TableColumn
cellFactoryProperty, cellValueFactoryProperty, editAnyEvent, editCancelEvent, editCommitEvent, editStartEvent, getCellFactory, getCellObservableValue, getCellObservableValue, getCellValueFactory, getClassCssMetaData, getColumns, getCssMetaData, getOnEditCancel, getOnEditCommit, getOnEditStart, getSortType, getStyleableNode, getStyleableParent, getTableView, getTypeSelector, onEditCancelProperty, onEditCommitProperty, onEditStartProperty, setCellFactory, setCellValueFactory, setOnEditCancel, setOnEditCommit, setOnEditStart, setSortType, sortTypeProperty, tableViewProperty
-
Methods inherited from class javafx.scene.control.TableColumnBase
addEventHandler, buildEventDispatchChain, comparatorProperty, contextMenuProperty, editableProperty, getCellData, getCellData, getComparator, getContextMenu, getGraphic, getId, getMaxWidth, getMinWidth, getParentColumn, getPrefWidth, getProperties, getPseudoClassStates, getSortNode, getStyle, getStyleClass, getText, getUserData, getWidth, graphicProperty, hasProperties, idProperty, isEditable, isReorderable, isResizable, isSortable, isVisible, maxWidthProperty, minWidthProperty, parentColumnProperty, prefWidthProperty, removeEventHandler, reorderableProperty, resizableProperty, setComparator, setContextMenu, setEditable, setGraphic, setId, setMaxWidth, setMinWidth, setPrefWidth, setReorderable, setResizable, setSortable, setSortNode, setStyle, setText, setUserData, setVisible, sortableProperty, sortNodeProperty, styleProperty, textProperty, visibleProperty, widthProperty
-
-
-
-
Constructor Detail
-
FxTableColumn
public FxTableColumn(TableColumnConfiguration<S,T> configuration)
Creates a table column.- Parameters:
configuration- the column configutation
-
FxTableColumn
public FxTableColumn(TableColumnConfiguration<S,T> configuration, java.lang.String text)
Creates a table column.- Parameters:
configuration- the column configutationtext- the string to show when the TableColumn is placed within the TableView
-
-
Method Detail
-
getConfiguration
public TableColumnConfiguration<S,T> getConfiguration()
Gets the configuration.- Returns:
- the configuration
-
-