public final class TableUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TableUtils.DateTableCell<R,F extends Enum<F>>
Date TableCell Factory class.
|
static class |
TableUtils.FieldTableColumn<R,F extends Enum<F>,C>
TableColumn extension.
|
static class |
TableUtils.FieldTableView<R,F extends Enum<F>>
TableView extension.
|
static class |
TableUtils.IconFieldMap<C>
The Icon FieldMap.
|
Modifier and Type | Method and Description |
---|---|
static <R,F extends Enum<F>> |
dateCellFactory()
DateCellFactory Factory.
|
static <R,F extends Enum<F>,C extends Enum<C>> |
enumCellFactory(Class<C> pClass)
EnumCellFactory Factory.
|
static <R,F extends Enum<F>,C> |
iconCellFactory(TableUtils.IconFieldMap<C> pMap)
IconCellFactory Factory.
|
static <R,F extends Enum<F>> |
integerCellFactory()
IntegerCellFactory Factory.
|
static <R,F extends Enum<F>,C> |
itemCellFactory(javafx.geometry.Pos pAlignment)
ItemCellFactory Factory.
|
static <R,F extends Enum<F>> |
stringCellFactory(javafx.geometry.Pos pAlignment)
StringCellFactory Factory.
|
public static <R,F extends Enum<F>,C> javafx.util.Callback<javafx.scene.control.TableColumn<R,C>,javafx.scene.control.TableCell<R,C>> itemCellFactory(javafx.geometry.Pos pAlignment)
R
- the table data typeF
- the field typeC
- the cell data typepAlignment
- the alignmentpublic static <R,F extends Enum<F>> javafx.util.Callback<javafx.scene.control.TableColumn<R,Integer>,javafx.scene.control.TableCell<R,Integer>> integerCellFactory()
R
- the table data typeF
- the field typepublic static <R,F extends Enum<F>> javafx.util.Callback<javafx.scene.control.TableColumn<R,LocalDate>,javafx.scene.control.TableCell<R,LocalDate>> dateCellFactory()
R
- the table data typeF
- the field typepublic static <R,F extends Enum<F>,C extends Enum<C>> javafx.util.Callback<javafx.scene.control.TableColumn<R,C>,javafx.scene.control.TableCell<R,C>> enumCellFactory(Class<C> pClass)
R
- the row typeF
- the field typeC
- the cell typepClass
- the ENum classpublic static <R,F extends Enum<F>> javafx.util.Callback<javafx.scene.control.TableColumn<R,String>,javafx.scene.control.TableCell<R,String>> stringCellFactory(javafx.geometry.Pos pAlignment)
R
- the row typeF
- the field typepAlignment
- the alignmentpublic static <R,F extends Enum<F>,C> javafx.util.Callback<javafx.scene.control.TableColumn<R,C>,javafx.scene.control.TableCell<R,C>> iconCellFactory(TableUtils.IconFieldMap<C> pMap)
R
- the row typeF
- the field typeC
- the cell typepMap
- the state mapCopyright © 2015. All rights reserved.