Crossfire JXClient, Trunk
|
Static Public Member Functions | |
static String | formatFloat (final double value, final int digits) |
static String | formatLong (final long value) |
Private Member Functions | |
Formatter () | |
Utility class for formatting values into strings.
Definition at line 31 of file Formatter.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 36 of file Formatter.java.
|
static |
Formats a float value for display.
value | the float value |
digits | the number of fraction digits; must be between 1..3 inclusive |
Definition at line 77 of file Formatter.java.
Referenced by com.realtime.crossfire.jxclient.gui.label.GUILabelStats.getTooltip().
|
static |
Returns a
value formatted as a human-readable string.
value | the value |
Definition at line 45 of file Formatter.java.
Referenced by com.realtime.crossfire.jxclient.gui.gauge.StatGaugeUpdater.updateExperienceNextLevel().