T - public abstract class StringConverterWithFormat<T>
extends javafx.util.StringConverter<T>
SpreadsheetCellType in order to use
a specific format.SpreadsheetCell, we need a
converter which provide a runtime method toStringFormat(Object, String).toStringFormat(Object, String) and let the other converter handle the other methods.SpreadsheetCellType| Modifier and Type | Field and Description |
|---|---|
protected javafx.util.StringConverter<T> |
myConverter |
| Constructor and Description |
|---|
StringConverterWithFormat()
Default constructor.
|
StringConverterWithFormat(javafx.util.StringConverter<T> specificStringConverter)
This constructor allow to use another StringConverter.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toStringFormat(T value,
java.lang.String format)
Converts the object provided into its string form with the specified format.
|
protected javafx.util.StringConverter<T> myConverter
public StringConverterWithFormat()
public StringConverterWithFormat(javafx.util.StringConverter<T> specificStringConverter)
specificStringConverter - public java.lang.String toStringFormat(T value, java.lang.String format)
value - format -