|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4Fieldset_Intf
Interface for E4Fieldset elements.
E4Fieldset| Method Summary | |
|---|---|
E4ID |
E4ID()
The E4ID is a unique application identifier for the whole E4Fieldset element. |
void |
enable(boolean mode)
Enable/Disable this group |
E4InputField_Intf |
getField(E4InputFieldName_Intf fieldname)
Get the associated object for the specified field. |
E4Label_Intf |
getGeneralErrorE4Message()
Gets the general error message for the whole input-field. |
E4Label_Intf |
getLegend()
Returns the caption for the whole input group |
int |
getSortOrder()
|
java.lang.String |
getValue(E4InputFieldName_Intf fieldname)
Get the value for the specified fieldname |
boolean |
getValueBool(E4InputFieldName_Intf fieldname)
Get the value (as boolean) for the specified fieldname |
java.util.Date |
getValueDate(E4InputFieldName_Intf fieldname)
Get the value for the specified fieldname |
float |
getValueFloat(E4InputFieldName_Intf fieldname)
Get the value (as long) for the specified fieldname |
long |
getValueLong(E4InputFieldName_Intf fieldname)
Get the value (as long) for the specified fieldname |
boolean |
hasAnyError()
Returns true, if at least one of the field has an error message set |
boolean |
isActive()
Return the activation status |
boolean |
isEnabled()
Get the disable state |
boolean |
isFieldDefined(E4InputFieldName_Intf fieldname)
Check, if the field is defined |
void |
setActive(boolean status)
Set this input group as a whole active for input or not. |
void |
setErrorMessage(E4InputFieldName_Intf fieldname,
E4Label_Intf error)
Set an error message (error) for the specified field (fieldname) within this input group |
void |
setErrorMessage(E4InputFieldName_Intf fieldname,
java.lang.String error)
Set an error message (error) for the specified field (fieldname) within this input group |
void |
setGeneralErrorE4Message(E4Label_Intf error)
Sets a general error message for the whole input-field. |
void |
setHelpId(java.lang.String helpid)
Define the Help-Identification string (helpid) for the whole input group |
void |
setLegend(E4Label_Intf caption)
Set the caption for the whole input group |
void |
setReadOnly()
Sets all fields to read-only mode. |
void |
setReadOnly(boolean mode)
Defines all fields as display only |
void |
setReadOnly(E4InputFieldName_Intf fieldname,
boolean mode)
Defines the field as display only |
void |
setSortOrder(int sortOrder)
|
void |
setValue(E4CgiParams params)
Sets the value of an input field by looking out in the parameter's collection. |
void |
setValue(E4InputFieldName_Intf fieldname,
boolean value)
Sets the value of an input field |
void |
setValue(E4InputFieldName_Intf fieldname,
java.util.Date value)
Sets the value of an input field |
void |
setValue(E4InputFieldName_Intf fieldname,
float value)
Sets the value of an input field |
void |
setValue(E4InputFieldName_Intf fieldname,
long value)
Sets the value of an input field |
void |
setValue(E4InputFieldName_Intf fieldname,
java.lang.String value)
Sets the value of an input field |
void |
setValue(E4ServletImplementation_Intf context)
Read the CGI parameters (HTML values) and store them into the apropriate fields (defines their value) |
void |
storeEventHandler(E4EventHandlerInputField handler)
Store input handlers for sub fields (e.g. |
void |
toHtml_active(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
This draws a visible form. |
void |
toHtml_hidden(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
This draws an INvisible form (all fields go hidden). |
boolean |
validate(E4ServletImplementation_Intf servlet)
Validate all input fields within this input group. |
| Methods inherited from interface e4s.html.E4HtmlElement_Intf |
|---|
addScript, addScript, addScript, collectScripts, collectStylesForEditing, collectTranslationsForEditing, debugToString, findElement, findElement, getElements, getElementsVec, getId, getStringContent, isContentClass, removeAll, removeElementById, removeElements, set_e4sID, setId, toHtml, validate |
| Method Detail |
|---|
void setLegend(E4Label_Intf caption)
E4Label_Intf getLegend()
void enable(boolean mode)
boolean isEnabled()
java.lang.String getValue(E4InputFieldName_Intf fieldname)
java.util.Date getValueDate(E4InputFieldName_Intf fieldname)
throws E4FieldNotFoundException
E4FieldNotFoundException
long getValueLong(E4InputFieldName_Intf fieldname)
throws E4FieldNotFoundException
E4FieldNotFoundException
float getValueFloat(E4InputFieldName_Intf fieldname)
throws E4FieldNotFoundException
E4FieldNotFoundException
boolean getValueBool(E4InputFieldName_Intf fieldname)
throws E4FieldNotFoundException
E4FieldNotFoundException
void setValue(E4InputFieldName_Intf fieldname,
java.lang.String value)
void setValue(E4InputFieldName_Intf fieldname,
long value)
throws java.lang.Exception
java.lang.Exception
void setValue(E4InputFieldName_Intf fieldname,
float value)
throws java.lang.Exception
java.lang.Exception
void setValue(E4InputFieldName_Intf fieldname,
boolean value)
void setValue(E4InputFieldName_Intf fieldname,
java.util.Date value)
throws java.lang.Exception
java.lang.Exceptionvoid setValue(E4CgiParams params)
setValue in interface E4HtmlElement_Intfparams - a collection of parameters, each field is defined by the unique field nameE4InputField_Intf.setValue(e4s.html.E4CgiParams),
#validate(e4s.html.E4CgiParams)boolean isFieldDefined(E4InputFieldName_Intf fieldname)
fieldname - the name of the field
E4InputField_Intf getField(E4InputFieldName_Intf fieldname)
getField in interface E4HtmlElement_Intffieldname - the name of the field
void setErrorMessage(E4InputFieldName_Intf fieldname,
java.lang.String error)
void setErrorMessage(E4InputFieldName_Intf fieldname,
E4Label_Intf error)
void setGeneralErrorE4Message(E4Label_Intf error)
error - the error messagehasAnyError(),
getGeneralErrorE4Message()E4Label_Intf getGeneralErrorE4Message()
hasAnyError(),
setGeneralErrorE4Message(e4s.translate.E4Label_Intf)
void setReadOnly(E4InputFieldName_Intf fieldname,
boolean mode)
void setReadOnly(boolean mode)
setReadOnly in interface E4HtmlElement_Intfmode - true sets the display-only modeE4InputField_Intf.setReadOnly()void setReadOnly()
setReadOnly(boolean),
E4InputField_Intf.setReadOnly()boolean hasAnyError()
void setHelpId(java.lang.String helpid)
boolean validate(E4ServletImplementation_Intf servlet)
throws java.lang.Exception
java.lang.Exceptionvoid setValue(E4ServletImplementation_Intf context)
void toHtml_hidden(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
toHtml_hidden in interface E4HtmlElement_Intfservlet - the context
java.lang.Exceptione4s.html.E4HtmlElement_Intf#toHtml( E4ServletImplementation_Intf ),
#toHtml_active( E4ServletImplementation_Intf ),
e4s.html.input.extended.E4InputField_Intf#toHtml_hidden( E4ServletImplementation_Intf )
void toHtml_active(E4StringBufferHtml buf,
E4ServletImplementation_Intf servlet)
throws java.lang.Exception
servlet - the context
java.lang.Exceptione4s.html.E4HtmlElement_Intf#toHtml( E4ServletImplementation_Intf ),
#toHtml_hidden( E4ServletImplementation_Intf )void setActive(boolean status)
boolean isActive()
void setSortOrder(int sortOrder)
int getSortOrder()
void storeEventHandler(E4EventHandlerInputField handler)
E4InputField_Intf.setEventHandler(e4s.html.input.extended.E4EventHandlerInputField)
handler - the E4EventHandler to be storedE4InputField_Intf.setEventHandler(e4s.html.input.extended.E4EventHandlerInputField)E4ID E4ID()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||