|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.FormItemConfigImpl
public class FormItemConfigImpl
Implementation of one item in a FormConfigImpl
| Field Summary |
|---|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| 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 |
| Constructor Summary | |
|---|---|
FormItemConfigImpl()
|
|
FormItemConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
Object |
get(String name)
Generic get |
Object |
getClone()
|
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. |
FormConfig |
getForm()
|
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()
Gets the script attribute of this object. |
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 |
setScript(String str)
Sets the script attribute of this object. |
void |
setScript2(String str)
|
void |
setScriptLabel(String str)
|
void |
setScriptLabel2(String str)
|
void |
setScriptToolTip(String str)
|
void |
setScriptToolTip2(String str)
|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FormItemConfigImpl()
public FormItemConfigImpl(Object config)
| Method Detail |
|---|
public void setForm(FormConfig form)
FormItemConfig
setForm in interface FormItemConfigform - The FormConfigpublic FormConfig getForm()
public List<String> getValues()
FormItemConfig
getValues in interface FormItemConfigpublic List<String> getLocalizedValues()
FormItemConfig
getLocalizedValues in interface FormItemConfigpublic void setLocalizedValues(Map map)
FormItemConfig
setLocalizedValues in interface FormItemConfigmap - maps from real values to localized Values.public void setValues(Vector values)
FormItemConfig
setValues in interface FormItemConfigvalues - The new valuespublic String getSyntax()
FormItemConfig
getSyntax in interface FormItemConfigpublic void setSyntax(String str)
FormItemConfig
setSyntax in interface FormItemConfigstr - The new syntaxpublic String getLabel()
FormItemConfig
getLabel in interface FormItemConfigpublic void setLabel(String str)
FormItemConfig
setLabel in interface FormItemConfigstr - The new labelpublic String getToolTip()
FormItemConfig
getToolTip in interface FormItemConfigpublic void setToolTip(String str)
FormItemConfig
setToolTip in interface FormItemConfigstr - The new ToolTippublic String getDefaultValue()
FormItemConfig
getDefaultValue in interface FormItemConfigpublic void setDefaultValue(String str)
FormItemConfig
setDefaultValue in interface FormItemConfigstr - The new default valuepublic String getScript()
BaseConfigurationImpl
getScript in interface BaseConfigurationgetScript in interface FormItemConfiggetScript in class BaseConfigurationImplpublic void setScript(String str)
BaseConfigurationImpl
setScript in interface BaseConfigurationsetScript in class BaseConfigurationImplstr - The new script valuepublic String getScriptLabel()
FormItemConfig
getScriptLabel in interface FormItemConfigpublic void setScriptLabel(String str)
public String getScriptToolTip()
FormItemConfig
getScriptToolTip in interface FormItemConfigpublic void setScriptToolTip(String str)
public String getScript2()
FormItemConfig
getScript2 in interface FormItemConfigpublic void setScript2(String str)
public String getScriptLabel2()
FormItemConfig
getScriptLabel2 in interface FormItemConfigpublic void setScriptLabel2(String str)
public String getScriptToolTip2()
FormItemConfig
getScriptToolTip2 in interface FormItemConfigpublic void setScriptToolTip2(String str)
public boolean isExpression()
FormItemConfig
isExpression in interface FormItemConfigpublic boolean isReadOnly()
FormItemConfig
isReadOnly in interface FormItemConfigpublic boolean isIndexBased()
FormItemConfig
isIndexBased in interface FormItemConfigpublic void setIndexBased(boolean value)
FormItemConfig
setIndexBased in interface FormItemConfigvalue - True if this FormItem should be indexbased.public boolean getDontProtect()
FormItemConfig
getDontProtect in interface FormItemConfigpublic String getComponentClass()
FormItemConfig
getComponentClass in interface FormItemConfigpublic String getReflect()
FormItemConfig
getReflect in interface FormItemConfigpublic int getMinValue()
FormItemConfig
getMinValue in interface FormItemConfigpublic int getMaxValue()
FormItemConfig
getMaxValue in interface FormItemConfigpublic Object get(String name)
FormItemConfig
get in interface FormItemConfigpublic int getSize()
FormItemConfig
getSize in interface FormItemConfigpublic boolean isHelp()
FormItemConfig
isHelp in interface FormItemConfigpublic boolean isRequired()
FormItemConfig
isRequired in interface FormItemConfigpublic void setRequired(boolean value)
FormItemConfig
setRequired in interface FormItemConfigvalue - True if this FormItem is a required parameterpublic String getLeadText()
FormItemConfig
getLeadText in interface FormItemConfigpublic void setLeadText(String text)
FormItemConfig
setLeadText in interface FormItemConfigtext - The new lead-in text
public Object getClone()
throws Exception
BaseConfigurationImpl
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplExceptionpublic boolean isValidForMode(String mode)
FormItemConfig
isValidForMode in interface FormItemConfigmode - The mode
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||