Class EnumeratedPropertyPrompt
java.lang.Object
VASSAL.build.module.properties.PropertyPrompt
VASSAL.build.module.properties.EnumeratedPropertyPrompt
- All Implemented Interfaces:
PropertyChanger
- Direct Known Subclasses:
RemoteEnumeratedPropertyPrompt
Prompts user to select from a list
- Author:
- rkinney
-
Nested Class Summary
Nested classes/interfaces inherited from class VASSAL.build.module.properties.PropertyPrompt
PropertyPrompt.Constraints, PropertyPrompt.DialogParent
-
Field Summary
Modifier and TypeFieldDescriptionprotected PropertyPrompt.DialogParent
protected String[]
protected Expression[]
Fields inherited from class VASSAL.build.module.properties.PropertyPrompt
constraints, promptText
-
Constructor Summary
ConstructorDescriptionEnumeratedPropertyPrompt
(PropertyPrompt.DialogParent dialogParent, String prompt, String[] validValues, PropertyPrompt.Constraints propertySource) -
Method Summary
Methods inherited from class VASSAL.build.module.properties.PropertyPrompt
getPrompt
-
Field Details
-
validValues
-
valueExpressions
-
dialogParent
-
-
Constructor Details
-
EnumeratedPropertyPrompt
public EnumeratedPropertyPrompt(PropertyPrompt.DialogParent dialogParent, String prompt, String[] validValues, PropertyPrompt.Constraints propertySource)
-
-
Method Details
-
getValueExpressions
-
getNewValue
- Specified by:
getNewValue
in interfacePropertyChanger
- Overrides:
getNewValue
in classPropertyPrompt
-
getValidValues
-