Class PlayerIdFormattedString
java.lang.Object
VASSAL.tools.FormattedString
VASSAL.tools.PlayerIdFormattedString
- All Implemented Interfaces:
Auditable, RecursionLimiter.Loopable
Deprecated.
use FormattedString constructor with defaultProperties
Utility subclass of
FormattedString which automatically includes
variables for Player name, side, and id-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated. -
Method Summary
Methods inherited from class FormattedString
clearProperties, debugInfo, debugInfo, equals, getComponentName, getComponentTypeName, getDefaultProperties, getFormat, getLocalizedText, getLocalizedText, getLocalizedText, getLocalizedText, getLocalizedText, getLocalizedText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextAsInt, getTextAsInt, getTextAsInt, hashCode, isDynamic, setDefaultProperties, setFormat, setPropertyModifier and TypeMethodDescriptionvoidstatic StringdebugInfo(FormattedString fs, String value, String description) Format a standard debug message for use in Decorator bad data reports.booleanReturn the name of the trait or Component an Auditable isReturn a description of the Type of trait or Component an Auditable isDeprecated.getLocalizedText(PropertySource ps, Auditable owner, String fieldKey) Evaulate a formatted String and return localized text Use the supplied property source to find property values Create an AuditTrail object if expression auditing enabledgetLocalizedText(PropertySource ps, Auditable owner, String fieldKey, boolean quietly) getLocalizedText(PropertySource ps, Auditable owner, AuditTrail audit) Evaulate a formatted String and return localized text Use the supplied property source to find property valuesgetLocalizedText(Auditable owner, String fieldKey) Evaulate a formatted String and return localized text Use the default property source to find property values Create an AuditTrail object if expression auditing enabledgetText()Deprecated.Deprecated.getText(PropertySource ps, boolean localized) getText(PropertySource ps, boolean localized, Auditable owner, AuditTrail audit) Evaluate the supplied Formmatted String, using the supplied property source to replace any property references.getText(PropertySource ps, boolean localized, Auditable owner, AuditTrail audit, boolean quietly) Core implementation of getText.getText(PropertySource ps, String def) getText(PropertySource ps, String def, Auditable owner, String fieldKey) Evaulate a formatted String and return unlocalized text Use the supplied property source to find property values If any property value is found to be null, use the supplied default value instead Create an AuditTrail object if expression auditing enabledgetText(PropertySource ps, String def, Auditable owner, AuditTrail audit) Evaulate a formatted String and return unlocalized text Use the supplied property source to find property values If any property value is found to be null, use the supplied default value insteadgetText(PropertySource ps, Auditable owner, String fieldKey) Evaulate a formatted String and return unlocalized text Use the supplied property source to find property values Create an AuditTrail object if expression auditing enabledgetText(PropertySource ps, Auditable owner, String fieldKey, boolean quietly) Evaluate a formatted String and return unlocalized text Use the supplied property source to find property values Create an AuditTrail object if expression auditing enabledgetText(PropertySource ps, Auditable owner, AuditTrail audit) Evaulate a formatted String and return unlocalized text Use the supplied property source to find property valuesEvaulate a formatted String and return unlocalized text Use the default property source to find property values Create an AuditTrail object if expression auditing enabledintgetTextAsInt(PropertySource ps, String description, AbstractConfigurable source) intgetTextAsInt(PropertySource ps, String description, EditablePiece source) Expand a FormattedString using the supplied propertySource and parse it as an integer.intgetTextAsInt(PropertySource ps, String description, EditablePiece source, Auditable owner, AuditTrail audit) inthashCode()static booleanReturn true if the supplied string contains $$ variables or is a Beanshell expressionvoidsetDefaultProperties(PropertySource defaultProperties) voidvoidsetProperty(String name, String value)
-
Constructor Details
-
PlayerIdFormattedString
public PlayerIdFormattedString()Deprecated. -
PlayerIdFormattedString
Deprecated.
-