protected abstract class Series_Labeler.AbstractStampFormat extends Object
Constructor and Description |
---|
AbstractStampFormat(String[] allowedFormatUnits,
String name,
boolean supportCustomSuffix,
boolean supportCustomFormat,
boolean supportDecimalPlaces) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAllowedFormatUnits()
Gets an array of allowed units for the format.
|
abstract String |
getLabelString(double labelValue)
Here we make the strings to print into the images.
|
String |
getName()
Gets the display name of the format.
|
String |
lastLabelString()
this method returns the string of the label for the last frame to
be stamped which is for the frame with value of the last variable.
|
String |
suffix()
Gets the suffix (if any) that should be appended to the label.
|
boolean |
supportsCustomFormat()
Indicates whether a custom label format can be used by the format.
|
boolean |
supportsCustomSuffix()
Indicates whether custom (user input) suffixes are allowed for this
format or not.
|
boolean |
supportsDecimalPlaces()
Indicates whether decimal places are part of the format.
|
public abstract String getLabelString(double labelValue)
labelValue
- The value to a frame of which
the label should be generatedpublic String lastLabelString()
public String suffix()
public String[] getAllowedFormatUnits()
public String getName()
public boolean supportsCustomSuffix()
public boolean supportsCustomFormat()
public boolean supportsDecimalPlaces()
Copyright © 2015–2021 Fiji. All rights reserved.