|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormItemConfig
One item in a FormConfig
Field Summary |
---|
Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
Method Summary | |
---|---|
Object |
get(String name)
Generic get |
String |
getComponentClass()
Return the name of the Component class that should be used for this formitem. |
String |
getDefaultValue()
Get the default value for this FormItem. |
boolean |
getDontProtect()
Return true if this FormItem should not be protected. |
String |
getLabel()
Get the label for this FormItem |
String |
getLeadText()
Return the lead-in text, to be used in addition to the label |
List<String> |
getLocalizedValues()
Get the localized values for this FormItem. |
int |
getMaxValue()
Return the maximun value for this FormItem. |
int |
getMinValue()
Return the minimun value for this FormItem. |
String |
getReflect()
Return the name of the method to set/get this FormItem. |
String |
getScript()
Get script to be executed for a button in this FormItem |
String |
getScript2()
Get script to be executed for a 2nd button in this FormItem |
String |
getScriptLabel()
Get label for a button in this FormItem |
String |
getScriptLabel2()
Get label for a 2nd button in this FormItem |
String |
getScriptToolTip()
Get tooltip for a button in this FormItem |
String |
getScriptToolTip2()
Get tooltip for a 2nd button in this FormItem |
int |
getSize()
Return the size of this FormItem, as number of characters If nothing specified, return 0. |
String |
getSyntax()
Get the syntax of this FormItem |
String |
getToolTip()
Get the ToolTip for this FormItem |
List<String> |
getValues()
Get the possible values for this FormItem. |
boolean |
isExpression()
Return true if this FormItem is an expression |
boolean |
isHelp()
Return true if this is a help item |
boolean |
isIndexBased()
Is this FormItem indexBased? |
boolean |
isReadOnly()
Is this FormItem readOnly? |
boolean |
isRequired()
Return true if this FormItem is a required parameter |
boolean |
isValidForMode(String mode)
Returns whether this FormItem is valid for a particular mode. |
void |
setDefaultValue(String str)
Set the default value for this FormItem. |
void |
setForm(FormConfig form)
Set the FormConfig this FormItem is part of. |
void |
setIndexBased(boolean value)
Set whether this FormItem should be indexbased. |
void |
setLabel(String str)
Set the label for this FormItem |
void |
setLeadText(String text)
Set the lead-in text, to be used in addition to the label |
void |
setLocalizedValues(Map map)
Set the localized values for this FormItem. |
void |
setRequired(boolean value)
Set whether this FormItem is a required parameter |
void |
setSyntax(String str)
Set the syntax of this FormItem |
void |
setToolTip(String str)
Set the ToolTip for this FormItem. |
void |
setValues(Vector values)
Set the possible values for this FormItem. |
Method Detail |
---|
String getSyntax()
void setSyntax(String str)
str
- The new syntaxString getLabel()
void setLabel(String str)
str
- The new labelString getToolTip()
void setToolTip(String str)
str
- The new ToolTipString getDefaultValue()
void setDefaultValue(String str)
str
- The new default valueList<String> getValues()
void setValues(Vector values)
values
- The new valuesList<String> getLocalizedValues()
void setLocalizedValues(Map map)
map
- maps from real values to localized Values.boolean isIndexBased()
void setIndexBased(boolean value)
value
- True if this FormItem should be indexbased.String getScript()
getScript
in interface BaseConfiguration
String getScriptLabel()
String getScriptToolTip()
String getScript2()
String getScriptLabel2()
String getScriptToolTip2()
boolean isReadOnly()
boolean getDontProtect()
boolean isExpression()
String getComponentClass()
String getReflect()
int getMinValue()
int getMaxValue()
int getSize()
boolean isHelp()
boolean isRequired()
void setRequired(boolean value)
value
- True if this FormItem is a required parameterString getLeadText()
void setLeadText(String text)
text
- The new lead-in textObject get(String name)
void setForm(FormConfig form)
form
- The FormConfigboolean isValidForMode(String mode)
mode
- The mode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |