protected class Series_Labeler.DecimalLabelFormat extends Series_Labeler.AbstractStampFormat
Modifier | Constructor and Description |
---|---|
|
DecimalLabelFormat()
Constructs a new
Series_Labeler.DecimalLabelFormat . |
|
DecimalLabelFormat(String[] allowedFormatUnits,
String name)
Constructs a new
Series_Labeler.DecimalLabelFormat . |
protected |
DecimalLabelFormat(String[] allowedFormatUnits,
String name,
boolean supportCustomSuffix,
boolean supportCustomFormat) |
Modifier and Type | Method and Description |
---|---|
String |
getLabelString(double labelValue)
Makes the string containing the number for the label stamp, with
specified decimal places format is decimal number with specified no.
|
getAllowedFormatUnits, getName, lastLabelString, suffix, supportsCustomFormat, supportsCustomSuffix, supportsDecimalPlaces
public DecimalLabelFormat()
Series_Labeler.DecimalLabelFormat
. This default constructor
allows years, weeks, days, hours, minutes, seconds and milli-,
micro-, nano-, pico- pico-, femto and attoseconds as formats. The
display name is set to "Decimal".public DecimalLabelFormat(String[] allowedFormatUnits, String name)
Series_Labeler.DecimalLabelFormat
. The allowed units and a
name are requested as parameters. No custom label format input is
supported, but one can use a custom suffix with this class.allowedFormatUnits
- The allowed units for this format.name
- The display name of the format.public String getLabelString(double labelValue)
getLabelString
in class Series_Labeler.AbstractStampFormat
labelValue
- The value to a frame of which
the label should be generatedCopyright © 2015–2021 Fiji. All rights reserved.