Interface ColumnRenderer<I,V>
-
- All Known Implementing Classes:
AbstractBuilder
,ChoiceBuilderImpl
,ClassBuilderImpl
,FlagBuilderImpl
,ListBuilderImpl
,MappingBuilderImpl
,MultipleBuilderImpl
,OptionalBuilderImpl
,ResourceBuilderImpl
,SelectBuilderImpl
,TextBuilderImpl
public interface ColumnRenderer<I,V>
Renderer for aTableView
TableColumn
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CellRenderer<I,V>
createCellRenderer(ValueRendererContext<I> context)
Creates theValueRenderer
for the cell.<R> javafx.scene.control.TableColumn<R,V>
createTableColumn(javafx.scene.control.TableView<R> table, javafx.util.Callback<java.lang.Integer,javafx.beans.value.ObservableValue<V>> callback)
Creates theTableColumn
.boolean
isEditable()
Indicates if the column is editable.
-
-
-
Method Detail
-
createTableColumn
<R> javafx.scene.control.TableColumn<R,V> createTableColumn(javafx.scene.control.TableView<R> table, javafx.util.Callback<java.lang.Integer,javafx.beans.value.ObservableValue<V>> callback)
Creates theTableColumn
.- Type Parameters:
R
- Row object type.- Parameters:
table
-TableView
to contain theTableColumn
.callback
-Callback
.- Returns:
TableColumn
.
-
isEditable
boolean isEditable()
Indicates if the column is editable.- Returns:
true
if column is editable.
-
createCellRenderer
CellRenderer<I,V> createCellRenderer(ValueRendererContext<I> context)
Creates theValueRenderer
for the cell.- Parameters:
context
-ValueRendererContext
.- Returns:
ValueRenderer
.
-
-