moapi.gui
Interface DisplayStringFormatter

All Known Implementing Classes:
StdFormatters.IntegerSliderFormat, StdFormatters.SuffixFormat

public interface DisplayStringFormatter

Used to manipulate a display string for a Mod Option. Moved from MODisplayStrng to gui.DisplayStringFormatter in v0.8

Since:
0.8

Method Summary
 java.lang.String manipulate(ModOption option, java.lang.String value)
          Manipulates the display string according
 

Method Detail

manipulate

java.lang.String manipulate(ModOption option,
                            java.lang.String value)
Manipulates the display string according

Parameters:
option - The option we are manipulating
value - Current value of button
Returns:
Display string, such as with a suffix, prefix, etc