|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFormDialog
| Field Summary |
|---|
| Fields inherited from interface de.tif.jacob.screen.dialogs.IDialog |
|---|
RCS_ID, RCS_REV |
| Method Summary | |
|---|---|
void |
addCheckBox(java.lang.String name,
boolean checked,
CellConstraints constraint)
|
void |
addComboBox(IFormActionEmitter buttonCallback,
java.lang.String name,
java.lang.String[] values,
int selectIndex,
CellConstraints constraint)
Add a ComboBox to the dialog. |
void |
addComboBox(java.lang.String name,
java.lang.String[] values,
int selectIndex,
CellConstraints constraint)
Add a ComboBox to the dialog. |
void |
addFileUpload(java.lang.String name,
CellConstraints constraint)
Add a file upload field to the dialog. |
void |
addFormButton(IFormActionEmitter callback,
java.lang.String buttonLabel,
CellConstraints constraint)
Add a Form action button to the dialog. |
void |
addHeader(java.lang.String label,
CellConstraints constraint)
Add a header text to the dialog. |
void |
addLabel(java.lang.String label,
CellConstraints constraint)
Add a generic Label/Caption to the dialog |
void |
addListBox(java.lang.String name,
java.lang.String[] values,
int selectIndex,
CellConstraints constraint)
Add a list box component to the dialog. |
void |
addPasswordField(java.lang.String name,
java.lang.String value,
CellConstraints constraint)
Add a password field to the dialog. |
void |
addSubmitButton(java.lang.String buttonId,
java.lang.String buttonLabel)
The label of the cancel button. |
void |
addTextArea(java.lang.String name,
java.lang.String value,
boolean readonly,
boolean autowordwrap,
CellConstraints constraint)
Add a TextArea to the dialog. |
void |
addTextArea(java.lang.String name,
java.lang.String value,
boolean readonly,
CellConstraints constraint)
Add a TextArea to the dialog. |
void |
addTextArea(java.lang.String name,
java.lang.String value,
CellConstraints constraint)
Add a TextArea to the dialog. |
void |
addTextField(java.lang.String name,
java.lang.String value,
boolean readonly,
CellConstraints constraint)
Add a TextField to the dialog. |
void |
addTextField(java.lang.String name,
java.lang.String value,
CellConstraints constraint)
Add a TextField to the dialog. |
void |
addTextField(java.lang.String name,
java.lang.String value,
IAutosuggestProvider autosuggest,
CellConstraints constraint)
Add a TextField to the dialog. |
java.lang.String |
getCancelButton()
Returns the label of the cancel button of null if no cancel button defined. |
java.lang.String |
getTitle()
Returns the title of the dialog. |
void |
setCancelButton(java.lang.String cancelButton)
The the label of the cancel button. |
void |
setDebug(boolean debugFlag)
Enable/Disable the debug options of the dialog. |
| Methods inherited from interface de.tif.jacob.screen.dialogs.IDialog |
|---|
show, show |
| Method Detail |
|---|
void addHeader(java.lang.String label,
CellConstraints constraint)
void addLabel(java.lang.String label,
CellConstraints constraint)
void addCheckBox(java.lang.String name,
boolean checked,
CellConstraints constraint)
void addPasswordField(java.lang.String name,
java.lang.String value,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.constraint - The layout constraint of the element.
void addTextField(java.lang.String name,
java.lang.String value,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.constraint - The layout constraint of the element.
void addTextField(java.lang.String name,
java.lang.String value,
IAutosuggestProvider autosuggest,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.autosuggest - The provider for the textfield autosuggest.constraint - The layout constraint of the element.
void addTextField(java.lang.String name,
java.lang.String value,
boolean readonly,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.readonly - Toggle the readonly behaviour of the input field.constraint - The layout constraint of the element.
void addFileUpload(java.lang.String name,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogconstraint - The layout constraint of the element.
void addTextArea(java.lang.String name,
java.lang.String value,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.constraint - The layout constraint of the element.
void addTextArea(java.lang.String name,
java.lang.String value,
boolean readonly,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.readonly - Toggle the readonly behaviour of the input field.constraint - The layout constraint of the element.
void addTextArea(java.lang.String name,
java.lang.String value,
boolean readonly,
boolean autowordwrap,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogvalue - The start value of the field.readonly - Toggle the readonly behaviour of the input field.autowordwrap - Toggle the word wrap behaviour of the input field. Default is [false].constraint - The layout constraint of the element.
void addComboBox(java.lang.String name,
java.lang.String[] values,
int selectIndex,
CellConstraints constraint)
name - The name of the parameter which will be returned, if the user press [ok] in the dialogconstraint - The layout constraint of the element.
void addComboBox(IFormActionEmitter buttonCallback,
java.lang.String name,
java.lang.String[] values,
int selectIndex,
CellConstraints constraint)
buttonCallback - The callback which will be called if the user changed the selection in the opend dialog. The dialog will not be closed.name - The name of the field/parametervalues - The values to selectselectIndex - The pre selected indexconstraint - The position constraint of the element
void addListBox(java.lang.String name,
java.lang.String[] values,
int selectIndex,
CellConstraints constraint)
name - the name of the parameter which will be returned, if the user
press [ok] in the dialogvalues - the list box entriesselectIndex - the index of the initially selected entry or -1,
if no entry should be initially selected.constraint - the layout constraint of the element.void setDebug(boolean debugFlag)
FormLayout grid.
debugFlag - true to enable the debug feature.void setCancelButton(java.lang.String cancelButton)
cancelButton - The label of the cancel button or null to hide the button.java.lang.String getCancelButton()
void addSubmitButton(java.lang.String buttonId,
java.lang.String buttonLabel)
buttonLabel - The label of the ok button or null to hide the button.java.lang.String getTitle()
void addFormButton(IFormActionEmitter callback,
java.lang.String buttonLabel,
CellConstraints constraint)
callback - The callback object if the user has clicked the buttonbuttonLabel - The label of the buttonconstraint - The layout constraint of the element.
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||