public class SimpleFormatter extends AbstractFormatter
schmittTriggerThresholdProperty, tickUnitSupplierPropertylabelCache, localSchmidtTriggerThreshold, majorTickMarksCopy, rangeMax, rangeMin, schmittTriggerThreshold, unitScaling| Constructor and Description |
|---|
SimpleFormatter()
Construct a DefaultFormatter for the given NumberAxis
|
SimpleFormatter(Axis axis)
Construct a DefaultFormatter for the given NumberAxis
|
SimpleFormatter(Axis axis,
String prefix,
String suffix)
Construct a DefaultFormatter for the given NumberAxis with a prefix and/or suffix.
|
| Modifier and Type | Method and Description |
|---|---|
Number |
fromString(String string)
Converts the string provided into a Number defined by the this converter.
|
protected void |
rangeUpdated() |
String |
toString(Number object)
Converts the object provided into its string form.
|
getLogRange, getRange, getTickUnitSupplier, schmittTriggerThresholdProperty, setTickUnitSupplier, tickUnitSupplierProperty, updateFormatterpublic SimpleFormatter()
public SimpleFormatter(Axis axis)
axis - The axis to format tick marks forpublic SimpleFormatter(Axis axis, String prefix, String suffix)
axis - The axis to format tick marks forprefix - The prefix to append to the start of formatted number, can be null if not neededsuffix - The suffix to append to the end of formatted number, can be null if not neededpublic Number fromString(String string)
fromString in interface AxisLabelFormatterfromString in class StringConverter<Number>string - the string to be converted back into a numberStringConverter.toString(T)protected void rangeUpdated()
rangeUpdated in class AbstractFormatterpublic String toString(Number object)
toString in interface AxisLabelFormattertoString in class StringConverter<Number>object - the number to be convertedStringConverter.toString(T)Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.