|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDomain
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface de.tif.jacob.screen.IGuiElement |
|---|
IGuiElement.GroupState |
| Field Summary | |
|---|---|
static java.lang.String |
RCS_ID
The internal revision control system id. |
static java.lang.String |
RCS_REV
The internal revision control system id in short form. |
| Fields inherited from interface de.tif.jacob.screen.IGuiElement |
|---|
NEW, SEARCH, SELECTED, UNDEFINED, UPDATE |
| Method Summary | |
|---|---|
void |
clear(IClientContext context)
Clears this domain, i.e. the domains data accessor and input fields will be reset to their default values. |
IForm |
getCurrentForm(IClientContext context)
Returns the current form of this domain, i.e. the visible form if this domain becomes the active domain. |
java.util.List |
getGuiRepresentations(java.lang.String tableAlias,
java.lang.String fieldName)
Returns the GUI elements which are related to the given table alias and field name. |
java.lang.String |
getInputFieldValue(java.lang.String formName,
java.lang.String fieldName)
Returns the GUI value of the hands over GUI element. |
void |
setCurrentForm(IClientContext context,
IForm form)
Sets the current visible form of this domain. |
void |
setInputFieldValue(java.lang.String formName,
java.lang.String fieldName,
java.lang.String value)
Sets the value of a GUI field in the group. |
| Methods inherited from interface de.tif.jacob.screen.IGuiElement |
|---|
findByName, getApplicationDefinition, getChildren, getDataStatus, getGroupTableAlias, getI18NLabel, getLabel, getName, getParent, getPathName, hasChild, isEnabled, isVisible, setBackgroundColor, setColor, setEnable, setLabel, setVisible |
| Field Detail |
|---|
static final java.lang.String RCS_ID
static final java.lang.String RCS_REV
| Method Detail |
|---|
void clear(IClientContext context)
throws java.lang.Exception
context - The current client context
java.lang.ExceptionIForm getCurrentForm(IClientContext context)
context - The current client context
void setCurrentForm(IClientContext context,
IForm form)
throws java.lang.Exception
Note: This domain becomes the active domain, if this is not already the case!
context - The current client contextform - The form to become the current visible form.
java.lang.Exception
void setInputFieldValue(java.lang.String formName,
java.lang.String fieldName,
java.lang.String value)
throws java.lang.Exception
formName - The name of the form (the parent) of the field element.fieldName - The GUI input field name. Not the database field name.value - The value of the input field.
java.lang.Exception
java.lang.String getInputFieldValue(java.lang.String formName,
java.lang.String fieldName)
throws java.lang.Exception
formName - The name of the form (the parent) of the field element.fieldName - the name of the input field
java.lang.Exception - throws an Exception if the field does not exist or is not an
input field.
java.util.List getGuiRepresentations(java.lang.String tableAlias,
java.lang.String fieldName)
tableAlias - The table alias for that you want the GUI input elementfieldName - The field name for that you want the GUI input element.
List of ISingleDataGuiElement which are
related to the database field.
|
jACOB 2.7 API Documentation. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||