Class GridTableColumn<S,T>
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 thecellFactoryproperty.Gets the value of thecellValueFactoryproperty.javafx.scene.control.ContentDisplayGets the value of thecontentDisplayproperty.javafx.util.StringConverter<T> Gets the value of theconverterproperty.javafx.scene.NodeGets the value of thegraphicproperty.javafx.scene.NodeGets the value of theheaderproperty.javafx.collections.ObservableList<String> getText()Gets the value of thetextproperty.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 thecellFactoryproperty.voidsetCellValueFactory(javafx.util.Callback<S, T> cellValueFactory) Sets the value of thecellValueFactoryproperty.voidsetContentDisplay(javafx.scene.control.ContentDisplay contentDisplay) Sets the value of thecontentDisplayproperty.voidsetConverter(javafx.util.StringConverter<T> converter) Sets the value of theconverterproperty.voidsetGraphic(javafx.scene.Node graphic) Sets the value of thegraphicproperty.voidSets the value of thetextproperty.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- See Also:
-
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,T>>> cellFactoryProperty- 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 thecontentDisplayproperty.- Property description:
- Returns:
- the value of the
contentDisplayproperty - See Also:
-
contentDisplayProperty
public javafx.beans.property.ObjectProperty<javafx.scene.control.ContentDisplay> contentDisplayProperty()- Returns:
- the
contentDisplayproperty - See Also:
-
setContentDisplay
public void setContentDisplay(javafx.scene.control.ContentDisplay contentDisplay) Sets the value of thecontentDisplayproperty.- Property description:
- Parameters:
contentDisplay- the value for thecontentDisplayproperty- See Also:
-
getGraphic
public javafx.scene.Node getGraphic()Gets the value of thegraphicproperty.- Property description:
- Returns:
- the value of the
graphicproperty - See Also:
-
graphicProperty
public javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty()- Returns:
- the
graphicproperty - See Also:
-
setGraphic
public void setGraphic(javafx.scene.Node graphic) Sets the value of thegraphicproperty.- Property description:
- Parameters:
graphic- the value for thegraphicproperty- See Also:
-
getText
Gets the value of thetextproperty.- Property description:
- Returns:
- the value of the
textproperty - See Also:
-
textProperty
public javafx.beans.property.StringProperty textProperty()- Returns:
- the
textproperty - See Also:
-
setText
Sets the value of thetextproperty.- Property description:
- Parameters:
text- the value for thetextproperty- See Also:
-
getConverter
Gets the value of theconverterproperty.- Property description:
- Returns:
- the value of the
converterproperty - See Also:
-
converterProperty
- Returns:
- the
converterproperty - See Also:
-
setConverter
Sets the value of theconverterproperty.- Property description:
- Parameters:
converter- the value for theconverterproperty- See Also:
-
getCellFactory
Gets the value of thecellFactoryproperty.- Property description:
- Returns:
- the value of the
cellFactoryproperty - See Also:
-
cellFactoryProperty
public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>, GridTableCell<S,T>>> cellFactoryProperty()- Returns:
- the
cellFactoryproperty - See Also:
-
setCellFactory
public final void setCellFactory(javafx.util.Callback<GridTableView<S>, GridTableCell<S, T>> cellFactory) Sets the value of thecellFactoryproperty.- Property description:
- Parameters:
cellFactory- the value for thecellFactoryproperty- See Also:
-
getCellValueFactory
-
cellValueFactoryProperty
-
setCellValueFactory
-
getHeader
public javafx.scene.Node getHeader()Gets the value of theheaderproperty.- Property description:
- Returns:
- the value of the
headerproperty - See Also:
-
headerProperty
public javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.Node> headerProperty()- Returns:
- the
headerproperty - See Also:
-
createCell
-