Package VASSAL.preferences
Class StringPreference
java.lang.Object
VASSAL.build.AbstractBuildable
VASSAL.build.AbstractConfigurable
VASSAL.preferences.BasicPreference
VASSAL.preferences.StringPreference
- All Implemented Interfaces:
AutoConfigurable,Buildable,Configurable,PropertyNameSource,ValidityChecker,Translatable
public class StringPreference extends BasicPreference
A String Module Preference.
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.preferences.BasicPreference
BasicPreference.NoteConfigNested classes/interfaces inherited from interface VASSAL.build.AutoConfigurable
AutoConfigurable.Util -
Field Summary
Fields Modifier and Type Field Description protected StringConfigurerconfigprotected StringdefaultValueFields inherited from class VASSAL.preferences.BasicPreference
DEFAULT, DESC, NAME, property, TAB, tabName, variableNameFields inherited from class VASSAL.build.AbstractConfigurable
changeSupport, localizedName, myI18nData, nameFields inherited from class VASSAL.build.AbstractBuildable
buildComponents, validatorFields inherited from interface VASSAL.build.Configurable
NAME_PROPERTY -
Constructor Summary
Constructors Constructor Description StringPreference() -
Method Summary
Modifier and Type Method Description static StringgetConfigureTypeName()Class<?>getDefaultClass()StringgetDefaultValue()ConfigurergetPreferenceConfigurer()voidsetDefaultValue(Object value)Methods inherited from class VASSAL.preferences.BasicPreference
addTo, getAllowableConfigureComponents, getAttributeDescriptions, getAttributeNames, getAttributeTypes, getAttributeValueString, getDescription, getHelpFile, getVariableName, removeFrom, setAttribute, updateGlobalPropertyMethods inherited from class VASSAL.build.AbstractConfigurable
add, addPropertyChangeListener, getAttributeVisibility, getConfigureComponents, getConfigureName, getConfigurer, getI18nData, getI18nPrefix, getLocalizedConfigureName, remove, removePropertyChangeListener, setAllAttributesUntranslatable, setAttributeTranslatable, setConfigureNameMethods inherited from class VASSAL.build.AbstractBuildable
build, getAllDescendantComponents, getAllDescendantComponentsOf, getBuildables, getBuildComponents, getBuildElement, getComponents, getComponentsOf, getPropertyNames, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VASSAL.build.Buildable
build, getBuildElement
-
Field Details
-
defaultValue
-
config
-
-
Constructor Details
-
StringPreference
public StringPreference()
-
-
Method Details
-
getConfigureTypeName
-
getDefaultClass
- Specified by:
getDefaultClassin classBasicPreference
-
getDefaultValue
- Specified by:
getDefaultValuein classBasicPreference
-
setDefaultValue
- Specified by:
setDefaultValuein classBasicPreference
-
getPreferenceConfigurer
- Specified by:
getPreferenceConfigurerin classBasicPreference
-