protected class Series_Labeler.DigitalLabelFormat extends Series_Labeler.AbstractStampFormat
Constructor and Description |
---|
DigitalLabelFormat()
Constructs a new
Series_Labeler.DigitalLabelFormat . |
DigitalLabelFormat(String[] allowedFormatUnits,
String name)
Constructs a new
Series_Labeler.DigitalLabelFormat . |
Modifier and Type | Method and Description |
---|---|
String |
getLabelString(double labelValue)
Makes the string containing the number for the label stamp, with
hh:mm:ss.decimalPlaces format which is nice,
and we do have that functionality in HybridDateFormat?
|
getAllowedFormatUnits, getName, lastLabelString, suffix, supportsCustomFormat, supportsCustomSuffix, supportsDecimalPlaces
public DigitalLabelFormat()
Series_Labeler.DigitalLabelFormat
. This default constructor
allows minutes, seconds and milliseconds only as possible formats.
The display name is set to "Digital".public DigitalLabelFormat(String[] allowedFormatUnits, String name)
Series_Labeler.DigitalLabelFormat
. 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.