|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.prorefactor.refactor.messages.DataEntryDialog
public class DataEntryDialog
DataEntryDialog class uses org.eclipse.swt
libraries to implement a dialog that accepts basic personal information that
is added to a Table
widget or edits a TableItem
entry
to represent the entered data.
Constructor Summary | |
---|---|
DataEntryDialog(Shell parent)
|
Method Summary | |
---|---|
java.lang.String[] |
getLabels()
|
java.lang.String |
getTitle()
|
java.lang.String[] |
getValues()
Returns the contents of the Text widgets in the dialog in a
String array. |
java.lang.String[] |
open()
Opens the dialog in the given state. |
void |
setLabels(java.lang.String[] labels)
|
void |
setTitle(java.lang.String title)
|
void |
setValues(java.lang.String[] itemInfo)
Sets the values of the Text widgets of the dialog to
the values supplied in the parameter array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataEntryDialog(Shell parent)
Method Detail |
---|
public java.lang.String[] getLabels()
public java.lang.String getTitle()
public java.lang.String[] getValues()
Text
widgets in the dialog in a
String
array.
public java.lang.String[] open()
Text
widget contents
and dialog behaviour accordingly.
dialogState
- int
The state the dialog should be opened in.public void setLabels(java.lang.String[] labels)
public void setTitle(java.lang.String title)
public void setValues(java.lang.String[] itemInfo)
Text
widgets of the dialog to
the values supplied in the parameter array.
itemInfo
- String[]
The values to which the dialog contents will be set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |