Package net.sf.freecol.client.gui
Class ModifierFormat
- java.lang.Object
-
- net.sf.freecol.client.gui.ModifierFormat
-
public class ModifierFormat extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.text.DecimalFormat
modifierFormat
The decimal format to use for Modifiers.
-
Constructor Summary
Constructors Constructor Description ModifierFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(float value)
static java.lang.String
getFeatureAsString(Feature feature)
static java.lang.String
getModifierAsString(Modifier modifier)
static javax.swing.JLabel[]
getModifierLabels(Modifier modifier, FreeColSpecObjectType fcgot, Turn turn)
private static java.lang.String[]
getModifierStrings(float value, Modifier.ModifierType type)
private static java.lang.String[]
getModifierStrings(Modifier modifier)
private static java.lang.String
getSourceName(FreeColObject source)
static java.lang.String
getUnknownValue()
-
-
-
Method Detail
-
getUnknownValue
public static final java.lang.String getUnknownValue()
-
format
public static final java.lang.String format(float value)
-
getModifierStrings
private static final java.lang.String[] getModifierStrings(Modifier modifier)
-
getModifierStrings
private static final java.lang.String[] getModifierStrings(float value, Modifier.ModifierType type)
-
getSourceName
private static java.lang.String getSourceName(FreeColObject source)
-
getModifierLabels
public static javax.swing.JLabel[] getModifierLabels(Modifier modifier, FreeColSpecObjectType fcgot, Turn turn)
-
getFeatureAsString
public static java.lang.String getFeatureAsString(Feature feature)
-
getModifierAsString
public static java.lang.String getModifierAsString(Modifier modifier)
-
-