SWTPromptServices 3.0.0
SWTPromptServices
Services available for prompting user for values using SWT for graphical user interface.
String.promptDouble() : Double
Prompts for a Double value with the given message.
Parameter
- message: The message displayed to the user
Example
- ‘Enter your weight: ‘.promptDouble()
- prompts the user
String.promptFloat() : Float
Prompts for a Float value with the given message.
Parameter
- message: The message displayed to the user
Example
- ‘Enter your weight: ‘.promptFloat()
- prompts the user
String.promptInteger() : Integer
Prompts for a Integer value with the given message.
Parameter
- message: The message displayed to the user
Example
- ‘Enter your age: ‘.promptInteger()
- prompts the user
String.promptLong() : Long
Prompts for a Long value with the given message.
Parameter
- message: The message displayed to the user
Example
- ‘Enter your age: ‘.promptLong()
- prompts the user
String.promptString() : String
Prompts for a String value with the given message.
Parameter
- message: The message displayed to the user
Example
- ‘Enter your name: ‘.promptString()
- prompts the user