public class DefaultLogFormatter extends AbstractFormatter
schmittTriggerThresholdProperty, tickUnitSupplierProperty| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SMALL_LOG_AXIS |
labelCache, localSchmidtTriggerThreshold, majorTickMarksCopy, rangeMax, rangeMin, schmittTriggerThreshold, unitScaling| Constructor and Description |
|---|
DefaultLogFormatter()
Construct a DefaultFormatter for the given NumberAxis
|
DefaultLogFormatter(Axis axis)
Construct a DefaultFormatter for the given NumberAxis
|
| Modifier and Type | Method and Description |
|---|---|
Number |
fromString(String string)
Converts the string provided into an object defined by the specific converter.
|
protected double |
getLogRange() |
protected void |
rangeUpdated() |
String |
toString(Number object)
Converts the object provided into its string form.
|
getRange, getTickUnitSupplier, schmittTriggerThresholdProperty, setTickUnitSupplier, tickUnitSupplierProperty, updateFormatterpublic static final int DEFAULT_SMALL_LOG_AXIS
public DefaultLogFormatter()
public DefaultLogFormatter(Axis axis)
axis - The axis to format tick marks forpublic Number fromString(String string)
AxisLabelFormatterfromString in interface AxisLabelFormatterfromString in class StringConverter<Number>string - the string to be converted back into a numberprotected double getLogRange()
getLogRange in class AbstractFormatterprotected void rangeUpdated()
rangeUpdated in class AbstractFormatterpublic String toString(Number object)
AxisLabelFormattertoString in interface AxisLabelFormattertoString in class StringConverter<Number>object - the number to be convertedCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.