Class DefaultLogFormatter

    • Field Detail

    • Constructor Detail

      • DefaultLogFormatter

        public DefaultLogFormatter()
        Construct a DefaultFormatter for the given NumberAxis
      • DefaultLogFormatter

        public DefaultLogFormatter​(Axis axis)
        Construct a DefaultFormatter for the given NumberAxis
        Parameters:
        axis - The axis to format tick marks for
    • Method Detail

      • fromString

        public java.lang.Number fromString​(java.lang.String string)
        Description copied from interface: AxisLabelFormatter
        Converts the string provided into an object defined by the specific converter. Format of the string and type of the resulting object is defined by the specific converter.
        Specified by:
        fromString in interface AxisLabelFormatter
        Specified by:
        fromString in class javafx.util.StringConverter<java.lang.Number>
        Parameters:
        string - the string to be converted back into a number
        Returns:
        an object representation of the string passed in.
      • toString

        public java.lang.String toString​(java.lang.Number object)
        Description copied from interface: AxisLabelFormatter
        Converts the object provided into its string form. Format of the returned string is defined by the specific converter.
        Specified by:
        toString in interface AxisLabelFormatter
        Specified by:
        toString in class javafx.util.StringConverter<java.lang.Number>
        Parameters:
        object - the number to be converted
        Returns:
        a string representation of the object passed in.