Class MyInputHelper
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.MyInputHelper
- All Implemented Interfaces:
HelperClass
public class MyInputHelper extends Object implements HelperClass
-
Constructor Summary
Constructors Constructor Description MyInputHelper()
-
Method Summary
-
Constructor Details
-
MyInputHelper
public MyInputHelper()
-
-
Method Details
-
getInput
- Parameters:
description
- In case the description is of type JComponent, this GUI element will be shown at the top of the dialog. If this parameter is of type String, aJLabel
object will show the provided text. If the description text starts with "[OK]", only the OK and not the Cancel button will be shown. If the description text starts with "[]", no button will be shown. If the description starts with "[Hello]", the single OK Button will be titled "Hello". If the description starts with [Yes;No], two buttons, titles 'Yes' and 'No' will be shown.title
- The shown dialog window will use this value as its window title.parameters
-- Returns:
- The return value depends on the selected button (OK/Cancel).
-
getMultipleInput
-