Class Formatter_Custom
- java.lang.Object
-
- java.text.Format
-
- org.knowm.xchart.internal.chartpart.Formatter_Custom
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class Formatter_Custom extends java.text.Format- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Function<java.lang.Double,java.lang.String>customFormattingFunction
-
Constructor Summary
Constructors Constructor Description Formatter_Custom(java.util.function.Function<java.lang.Double,java.lang.String> customFormattingFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBufferformat(java.lang.Object o, java.lang.StringBuffer stringBuffer, java.text.FieldPosition fieldPosition)java.lang.ObjectparseObject(java.lang.String s, java.text.ParsePosition parsePosition)
-
-
-
Method Detail
-
format
public java.lang.StringBuffer format(java.lang.Object o, java.lang.StringBuffer stringBuffer, java.text.FieldPosition fieldPosition)- Specified by:
formatin classjava.text.Format
-
parseObject
public java.lang.Object parseObject(java.lang.String s, java.text.ParsePosition parsePosition)- Specified by:
parseObjectin classjava.text.Format
-
-