public class DefaultFXTableViewModel<E> extends Object implements FXTableViewModel<E>
Constructor and Description |
---|
DefaultFXTableViewModel(javafx.collections.ObservableList<E> source,
FXTableFormat<? super E> format) |
Modifier and Type | Method and Description |
---|---|
void |
attachTo(javafx.scene.control.TableView<E> tableView) |
void |
detachFrom(javafx.scene.control.TableView<E> tableView) |
FXTableFormat<? super E> |
getFormat() |
javafx.collections.ObservableList<E> |
getSource() |
protected <T> void |
processTableFormat(javafx.scene.control.TableColumn<E,T> column,
String columnName,
int columnIndex) |
protected <T> void |
processWritableTableFormat(javafx.scene.control.TableColumn<E,T> column,
String columnName,
int columnIndex) |
public DefaultFXTableViewModel(@Nonnull javafx.collections.ObservableList<E> source, @Nonnull FXTableFormat<? super E> format)
protected <T> void processWritableTableFormat(@Nonnull javafx.scene.control.TableColumn<E,T> column, String columnName, int columnIndex)
protected <T> void processTableFormat(@Nonnull javafx.scene.control.TableColumn<E,T> column, String columnName, int columnIndex)
@Nonnull public javafx.collections.ObservableList<E> getSource()
getSource
in interface FXTableViewModel<E>
@Nonnull public FXTableFormat<? super E> getFormat()
getFormat
in interface FXTableViewModel<E>
public void attachTo(@Nonnull javafx.scene.control.TableView<E> tableView)
attachTo
in interface FXTableViewModel<E>
public void detachFrom(@Nonnull javafx.scene.control.TableView<E> tableView)
detachFrom
in interface FXTableViewModel<E>