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 interfacePropertyPrompt.Constraintsstatic interfacePropertyPrompt.DialogParent -
Field Summary
Fields Modifier and Type Field Description protected PropertyPrompt.Constraintsconstraintsprotected StringpromptText -
Constructor Summary
Constructors Constructor Description PropertyPrompt(PropertyPrompt.Constraints constraints, String prompt) -
Method Summary
Modifier and Type Method Description StringgetNewValue(String oldValue)StringgetPrompt()
-
Field Details
-
promptText
-
constraints
-
-
Constructor Details
-
PropertyPrompt
-
-
Method Details
-
getNewValue
- Specified by:
getNewValuein interfacePropertyChanger
-
getPrompt
-