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 type
T - table cell value type

public class GridTableColumn<S,T> extends javafx.scene.layout.ColumnConstraints
  • Property Summary

    Properties
    Type
    Property
    Description
    final javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S,T>>>
     
    javafx.beans.property.ObjectProperty<javafx.util.Callback<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.StringProperty
     

    Properties inherited from class javafx.scene.layout.ColumnConstraints

    fillWidth, halignment, hgrow, maxWidth, minWidth, percentWidth, prefWidth
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    javafx.beans.property.ObjectProperty<javafx.util.Callback<S,T>>
     

    Fields inherited from class javafx.scene.layout.ConstraintsBase

    CONSTRAIN_TO_PREF
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
    GridTableColumn(String text, javafx.scene.Node graphic)
     
    GridTableColumn(javafx.scene.Node graphic)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S,T>>>
     
    javafx.beans.property.ObjectProperty<javafx.util.Callback<S,T>>
     
    javafx.beans.property.ObjectProperty<javafx.scene.control.ContentDisplay>
     
    javafx.beans.property.ObjectProperty<javafx.util.StringConverter<T>>
     
    createCell(GridTableView<S> tableView, int index)
     
    final javafx.util.Callback<GridTableView<S>,GridTableCell<S,T>>
    Gets the value of the property cellFactory.
    javafx.util.Callback<S,T>
    Gets the value of the property cellValueFactory.
    javafx.scene.control.ContentDisplay
    Gets the value of the property contentDisplay.
    javafx.util.StringConverter<T>
    Gets the value of the property converter.
    javafx.scene.Node
    Gets the value of the property graphic.
    javafx.scene.Node
    Gets the value of the property header.
    javafx.collections.ObservableList<String>
     
    Gets the value of the property text.
    javafx.beans.property.ObjectProperty<javafx.scene.Node>
     
    javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.Node>
     
    final void
    setCellFactory(javafx.util.Callback<GridTableView<S>,GridTableCell<S,T>> cellFactory)
    Sets the value of the property cellFactory.
    void
    setCellValueFactory(javafx.util.Callback<S,T> cellValueFactory)
    Sets the value of the property cellValueFactory.
    void
    setContentDisplay(javafx.scene.control.ContentDisplay contentDisplay)
    Sets the value of the property contentDisplay.
    void
    setConverter(javafx.util.StringConverter<T> converter)
    Sets the value of the property converter.
    void
    setGraphic(javafx.scene.Node graphic)
    Sets the value of the property graphic.
    void
    Sets the value of the property text.
    javafx.beans.property.StringProperty
     

    Methods 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, toString

    Methods inherited from class javafx.scene.layout.ConstraintsBase

    requestLayout

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Property Details

  • Field Details

    • cellValueFactory

      public javafx.beans.property.ObjectProperty<javafx.util.Callback<S,T>> cellValueFactory
  • Constructor Details

    • GridTableColumn

      public GridTableColumn(String text, javafx.scene.Node graphic)
    • GridTableColumn

      public GridTableColumn(javafx.scene.Node graphic)
    • GridTableColumn

      public GridTableColumn(String text)
    • GridTableColumn

      public GridTableColumn()
  • Method Details

    • getStyleClass

      public javafx.collections.ObservableList<String> 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()
      See Also:
    • 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

      public String getText()
      Gets the value of the property text.
      Property description:
    • textProperty

      public javafx.beans.property.StringProperty textProperty()
      See Also:
    • setText

      public void setText(String text)
      Sets the value of the property text.
      Property description:
    • getConverter

      public javafx.util.StringConverter<T> getConverter()
      Gets the value of the property converter.
      Property description:
    • converterProperty

      public javafx.beans.property.ObjectProperty<javafx.util.StringConverter<T>> converterProperty()
      See Also:
    • setConverter

      public void setConverter(javafx.util.StringConverter<T> converter)
      Sets the value of the property converter.
      Property description:
    • getCellFactory

      public final javafx.util.Callback<GridTableView<S>,GridTableCell<S,T>> getCellFactory()
      Gets the value of the property cellFactory.
      Property description:
    • cellFactoryProperty

      public final javafx.beans.property.ObjectProperty<javafx.util.Callback<GridTableView<S>,GridTableCell<S,T>>> cellFactoryProperty()
      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

      public javafx.util.Callback<S,T> getCellValueFactory()
      Gets the value of the property cellValueFactory.
      Property description:
    • cellValueFactoryProperty

      public javafx.beans.property.ObjectProperty<javafx.util.Callback<S,T>> cellValueFactoryProperty()
      See Also:
    • setCellValueFactory

      public void setCellValueFactory(javafx.util.Callback<S,T> cellValueFactory)
      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

      public final GridTableCell<S,T> createCell(GridTableView<S> tableView, int index)