jACOB 2.7 API Documentation.

de.tif.jacob.screen
Interface ISingleDataGuiElement

All Superinterfaces:
IGuiElement
All Known Subinterfaces:
ICheckBox, IComboBox, IDate, IDateTime, IDocument, IForeignField, IHtmlText, IImage, IInFormHtmlText, IInFormLongText, IListBox, ILongText, IMutableComboBox, IMutableListBox, IPassword, IText, ITime

public interface ISingleDataGuiElement
extends IGuiElement


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.tif.jacob.screen.IGuiElement
IGuiElement.GroupState
 
Field Summary
static java.lang.String RCS_ID
           
static java.lang.String RCS_REV
           
 
Fields inherited from interface de.tif.jacob.screen.IGuiElement
NEW, SEARCH, SELECTED, UNDEFINED, UPDATE
 
Method Summary
 void clear(IClientContext context)
           
 int getTabIndex()
           
 java.lang.String getValue()
           
 boolean isRequired()
          Returns if the Data element is required.
 void setRequired(boolean required)
          Set the required flag for this element.
 void setValue(java.lang.String value)
           
 
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

RCS_ID

static final java.lang.String RCS_ID
See Also:
Constant Field Values

RCS_REV

static final java.lang.String RCS_REV
See Also:
Constant Field Values
Method Detail

getTabIndex

int getTabIndex()

getValue

java.lang.String getValue()

setValue

void setValue(java.lang.String value)

isRequired

boolean isRequired()
Returns if the Data element is required. You can override the flag with setRequired(..).
If you define the element required in the application definition (*.jad) you can not reset the required flag with setRequired(false).
The required attribute in the *.jad file is related to the DB constraint and can't be ignored!

Returns:
true if required, otherwise false

setRequired

void setRequired(boolean required)
Set the required flag for this element.

You can define the required flag also in the application definition (*.jad).
You can't reset the required flag if you define it in the *.jad file as required. The definition in the *.jad is a database constraint and can't be ignored.

Parameters:
required -

clear

void clear(IClientContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

jACOB 2.7 API Documentation.