Package VASSAL.build.module.properties
Class PropertyPrompt
java.lang.Object
VASSAL.build.module.properties.PropertyPrompt
- All Implemented Interfaces:
PropertyChanger
- Direct Known Subclasses:
EnumeratedPropertyPrompt
,NumericPropertyPrompt
public class PropertyPrompt extends Object implements PropertyChanger
Prompts user for a new value
- Author:
- rkinney
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PropertyPrompt.Constraints
static interface
PropertyPrompt.DialogParent
-
Field Summary
Fields Modifier and Type Field Description protected PropertyPrompt.Constraints
constraints
protected String
promptText
-
Constructor Summary
Constructors Constructor Description PropertyPrompt(PropertyPrompt.Constraints constraints, String prompt)
-
Method Summary
Modifier and Type Method Description String
getNewValue(String oldValue)
String
getPrompt()
-
Field Details
-
promptText
-
constraints
-
-
Constructor Details
-
PropertyPrompt
-
-
Method Details
-
getNewValue
- Specified by:
getNewValue
in interfacePropertyChanger
-
getPrompt
-