kfmes.jateon.swt.dialog
Class InputDialog

java.lang.Object
  extended by org.eclipse.swt.widgets.Dialog
      extended by kfmes.jateon.swt.dialog.InputDialog

public class InputDialog
extends org.eclipse.swt.widgets.Dialog


Constructor Summary
InputDialog(org.eclipse.swt.widgets.Shell parent)
          InputDialog constructor
InputDialog(org.eclipse.swt.widgets.Shell parent, int style)
          InputDialog constructor
InputDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String titile, java.lang.String message)
           
InputDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String titile, java.lang.String message, int style)
           
 
Method Summary
 java.lang.String getInput()
          Gets the input
 java.lang.String getMessage()
          Gets the message
 java.lang.String open()
          Opens the dialog and returns the input
 void setInput(java.lang.String input)
          Sets the input
 void setMessage(java.lang.String message)
          Sets the message
 
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent)
InputDialog constructor

Parameters:
parent - the parent

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent,
                   int style)
InputDialog constructor

Parameters:
parent - the parent
style - the style

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent,
                   java.lang.String titile,
                   java.lang.String message)

InputDialog

public InputDialog(org.eclipse.swt.widgets.Shell parent,
                   java.lang.String titile,
                   java.lang.String message,
                   int style)
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message

Returns:
String

setMessage

public void setMessage(java.lang.String message)
Sets the message

Parameters:
message - the new message

getInput

public java.lang.String getInput()
Gets the input

Returns:
String

setInput

public void setInput(java.lang.String input)
Sets the input

Parameters:
input - the new input

open

public java.lang.String open()
Opens the dialog and returns the input

Returns:
String