S - The type of the TableView generic typeT - The type of the item contained within the Cellpublic class DecimalFormatTableCellFactory<S,T>
extends java.lang.Object
implements javafx.util.Callback<javafx.scene.control.TableColumn<S,T>,javafx.scene.control.TableCell<S,T>>
| Constructor and Description |
|---|
DecimalFormatTableCellFactory() |
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.control.TableCell<S,T> |
call(javafx.scene.control.TableColumn<S,T> p) |
javafx.scene.text.TextAlignment |
getAlignment()
Gets the alignment of text in the cell
|
java.lang.String |
getPattern()
Gets the pattern to use to format decimal numbers to text
|
void |
setAlignment(javafx.scene.text.TextAlignment alignment)
Sets the alignment of text in the cell
|
void |
setPattern(java.lang.String format)
Sets the pattern to use to format decimal numbers to text
|
public javafx.scene.text.TextAlignment getAlignment()
public void setAlignment(javafx.scene.text.TextAlignment alignment)
alignment - the alignment of text in the cellpublic java.lang.String getPattern()
public void setPattern(java.lang.String format)
format - the pattern to use to format decimal numbers to textCopyright © 2018 Frederic Thevenet. All rights reserved.