java.lang.Object
javafx.scene.layout.ConstraintsBase
javafx.scene.layout.ColumnConstraints
com.dlsc.gemsfx.gridtable.GridTableColumn<S,T>
- Type Parameters:
S- table item typeT- table cell value type
public class GridTableColumn<S,T>
extends javafx.scene.layout.ColumnConstraints
-
Property Summary
PropertiesTypePropertyDescriptionfinal javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S, T>>> javafx.beans.property.ObjectProperty<javafx.scene.control.ContentDisplay>javafx.beans.property.ObjectProperty<javafx.util.StringConverter<T>>javafx.beans.property.ObjectProperty<javafx.scene.Node>javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.Node>javafx.beans.property.StringPropertyProperties inherited from class javafx.scene.layout.ColumnConstraints
fillWidth, halignment, hgrow, maxWidth, minWidth, percentWidth, prefWidth -
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class javafx.scene.layout.ConstraintsBase
CONSTRAIN_TO_PREF -
Constructor Summary
ConstructorsConstructorDescriptionGridTableColumn(String text) GridTableColumn(String text, javafx.scene.Node graphic) GridTableColumn(javafx.scene.Node graphic) -
Method Summary
Modifier and TypeMethodDescriptionfinal javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S, T>>> javafx.beans.property.ObjectProperty<javafx.scene.control.ContentDisplay>javafx.beans.property.ObjectProperty<javafx.util.StringConverter<T>>final GridTableCell<S,T> createCell(GridTableView<S> tableView, int index) final javafx.util.Callback<GridTableView<S>,GridTableCell<S, T>> Gets the value of the property cellFactory.Gets the value of the property cellValueFactory.javafx.scene.control.ContentDisplayGets the value of the property contentDisplay.javafx.util.StringConverter<T>Gets the value of the property converter.javafx.scene.NodeGets the value of the property graphic.javafx.scene.NodeGets the value of the property header.javafx.collections.ObservableList<String>getText()Gets the value of the property text.javafx.beans.property.ObjectProperty<javafx.scene.Node>javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.Node>final voidsetCellFactory(javafx.util.Callback<GridTableView<S>, GridTableCell<S, T>> cellFactory) Sets the value of the property cellFactory.voidsetCellValueFactory(javafx.util.Callback<S, T> cellValueFactory) Sets the value of the property cellValueFactory.voidsetContentDisplay(javafx.scene.control.ContentDisplay contentDisplay) Sets the value of the property contentDisplay.voidsetConverter(javafx.util.StringConverter<T> converter) Sets the value of the property converter.voidsetGraphic(javafx.scene.Node graphic) Sets the value of the property graphic.voidSets the value of the property text.javafx.beans.property.StringPropertyMethods inherited from class javafx.scene.layout.ColumnConstraints
fillWidthProperty, getHalignment, getHgrow, getMaxWidth, getMinWidth, getPercentWidth, getPrefWidth, halignmentProperty, hgrowProperty, isFillWidth, maxWidthProperty, minWidthProperty, percentWidthProperty, prefWidthProperty, setFillWidth, setHalignment, setHgrow, setMaxWidth, setMinWidth, setPercentWidth, setPrefWidth, toStringMethods inherited from class javafx.scene.layout.ConstraintsBase
requestLayout
-
Property Details
-
contentDisplay
public javafx.beans.property.ObjectProperty<javafx.scene.control.ContentDisplay> contentDisplayProperty -
graphic
public javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty- See Also:
-
text
public javafx.beans.property.StringProperty textProperty- See Also:
-
converter
- See Also:
-
cellFactory
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S, cellFactoryPropertyT>>> - See Also:
-
cellValueFactory
-
header
public javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.Node> headerProperty- See Also:
-
-
Field Details
-
cellValueFactory
-
-
Constructor Details
-
GridTableColumn
-
GridTableColumn
public GridTableColumn(javafx.scene.Node graphic) -
GridTableColumn
-
GridTableColumn
public GridTableColumn()
-
-
Method Details
-
getStyleClass
-
getContentDisplay
public javafx.scene.control.ContentDisplay getContentDisplay()Gets the value of the property contentDisplay.- Property description:
-
contentDisplayProperty
public javafx.beans.property.ObjectProperty<javafx.scene.control.ContentDisplay> contentDisplayProperty() -
setContentDisplay
public void setContentDisplay(javafx.scene.control.ContentDisplay contentDisplay) Sets the value of the property contentDisplay.- Property description:
-
getGraphic
public javafx.scene.Node getGraphic()Gets the value of the property graphic.- Property description:
-
graphicProperty
public javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty()- See Also:
-
setGraphic
public void setGraphic(javafx.scene.Node graphic) Sets the value of the property graphic.- Property description:
-
getText
Gets the value of the property text.- Property description:
-
textProperty
public javafx.beans.property.StringProperty textProperty()- See Also:
-
setText
Sets the value of the property text.- Property description:
-
getConverter
Gets the value of the property converter.- Property description:
-
converterProperty
- See Also:
-
setConverter
Sets the value of the property converter.- Property description:
-
getCellFactory
Gets the value of the property cellFactory.- Property description:
-
cellFactoryProperty
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S, cellFactoryProperty()T>>> - See Also:
-
setCellFactory
public final void setCellFactory(javafx.util.Callback<GridTableView<S>, GridTableCell<S, T>> cellFactory) Sets the value of the property cellFactory.- Property description:
-
getCellValueFactory
Gets the value of the property cellValueFactory.- Property description:
-
cellValueFactoryProperty
-
setCellValueFactory
Sets the value of the property cellValueFactory.- Property description:
-
getHeader
public javafx.scene.Node getHeader()Gets the value of the property header.- Property description:
-
headerProperty
public javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.Node> headerProperty()- See Also:
-
createCell
-