Class TranslatableStringEnum
java.lang.Object
VASSAL.configure.StringEnum
VASSAL.configure.TranslatableStringEnum
- Direct Known Subclasses:
ChessClock.PlayerSidesConfig,ChessClockControl.TimeStyleConfig,CounterDetailViewer.DisplayConfig,CounterDetailViewer.TerrainConfig,DrawPile.AssignedDeckPrompt,DrawPile.Prompt,DrawPile.Prompt2,Flare.FlareKeyConfig,GamePieceLayout.BorderConfig,Item.LocationConfig,LayerControl.CommandConfig,LOS_Thread.GlobalOptions,LOS_Thread.PersistenceOptions,LOS_Thread.RoundingOptions,MapShader.BoardPrompt,MapShader.PatternPrompt,MapShader.TypePrompt,MassKeyCommand.Prompt,MoveCameraButton.DestConfig,RegularGridNumbering.F,RegularGridNumbering.T,SetupStack.OwningBoardPrompt,ShapeItem.ShapeConfig,StartupGlobalKeyCommand.Prompt,StartupGlobalKeyCommand.SendConfig,SymbolItem.SetConfig,TextItem.TextSource,TurnTracker.LengthStyleConfig,ZoneHighlight.Coverage,ZoneHighlight.Style
Wrapper class for an enumerated type. If an AutoConfigurable object lists an attribute of type TranslatableStringEnum.class,
the AutoConfigurer class will build a TranslatingStringEnumConfigurer as that attribute's editor.
The AutoConfigurable object should return a sub-class of StringEnum with a no-arg constructor
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class VASSAL.configure.StringEnum
getValidValues
-
Constructor Details
-
TranslatableStringEnum
public TranslatableStringEnum()
-
-
Method Details
-
getI18nKeys
-
isDisplayNames
public boolean isDisplayNames()- Returns:
- true if names have already been translated; false means keys will be passed to Resources.getString()
-