|
|||||||||||
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 FormItemConfig
form
- The FormConfigpublic FormConfig getForm()
public List<String> getValues()
FormItemConfig
getValues
in interface FormItemConfig
public List<String> getLocalizedValues()
FormItemConfig
getLocalizedValues
in interface FormItemConfig
public void setLocalizedValues(Map map)
FormItemConfig
setLocalizedValues
in interface FormItemConfig
map
- maps from real values to localized Values.public void setValues(Vector values)
FormItemConfig
setValues
in interface FormItemConfig
values
- The new valuespublic String getSyntax()
FormItemConfig
getSyntax
in interface FormItemConfig
public void setSyntax(String str)
FormItemConfig
setSyntax
in interface FormItemConfig
str
- The new syntaxpublic String getLabel()
FormItemConfig
getLabel
in interface FormItemConfig
public void setLabel(String str)
FormItemConfig
setLabel
in interface FormItemConfig
str
- The new labelpublic String getToolTip()
FormItemConfig
getToolTip
in interface FormItemConfig
public void setToolTip(String str)
FormItemConfig
setToolTip
in interface FormItemConfig
str
- The new ToolTippublic String getDefaultValue()
FormItemConfig
getDefaultValue
in interface FormItemConfig
public void setDefaultValue(String str)
FormItemConfig
setDefaultValue
in interface FormItemConfig
str
- The new default valuepublic String getScript()
BaseConfigurationImpl
getScript
in interface BaseConfiguration
getScript
in interface FormItemConfig
getScript
in class BaseConfigurationImpl
public void setScript(String str)
BaseConfigurationImpl
setScript
in interface BaseConfiguration
setScript
in class BaseConfigurationImpl
str
- The new script valuepublic String getScriptLabel()
FormItemConfig
getScriptLabel
in interface FormItemConfig
public void setScriptLabel(String str)
public String getScriptToolTip()
FormItemConfig
getScriptToolTip
in interface FormItemConfig
public void setScriptToolTip(String str)
public String getScript2()
FormItemConfig
getScript2
in interface FormItemConfig
public void setScript2(String str)
public String getScriptLabel2()
FormItemConfig
getScriptLabel2
in interface FormItemConfig
public void setScriptLabel2(String str)
public String getScriptToolTip2()
FormItemConfig
getScriptToolTip2
in interface FormItemConfig
public void setScriptToolTip2(String str)
public boolean isExpression()
FormItemConfig
isExpression
in interface FormItemConfig
public boolean isReadOnly()
FormItemConfig
isReadOnly
in interface FormItemConfig
public boolean isIndexBased()
FormItemConfig
isIndexBased
in interface FormItemConfig
public void setIndexBased(boolean value)
FormItemConfig
setIndexBased
in interface FormItemConfig
value
- True if this FormItem should be indexbased.public boolean getDontProtect()
FormItemConfig
getDontProtect
in interface FormItemConfig
public String getComponentClass()
FormItemConfig
getComponentClass
in interface FormItemConfig
public String getReflect()
FormItemConfig
getReflect
in interface FormItemConfig
public int getMinValue()
FormItemConfig
getMinValue
in interface FormItemConfig
public int getMaxValue()
FormItemConfig
getMaxValue
in interface FormItemConfig
public Object get(String name)
FormItemConfig
get
in interface FormItemConfig
public int getSize()
FormItemConfig
getSize
in interface FormItemConfig
public boolean isHelp()
FormItemConfig
isHelp
in interface FormItemConfig
public boolean isRequired()
FormItemConfig
isRequired
in interface FormItemConfig
public void setRequired(boolean value)
FormItemConfig
setRequired
in interface FormItemConfig
value
- True if this FormItem is a required parameterpublic String getLeadText()
FormItemConfig
getLeadText
in interface FormItemConfig
public void setLeadText(String text)
FormItemConfig
setLeadText
in interface FormItemConfig
text
- The new lead-in textpublic Object getClone() throws Exception
BaseConfigurationImpl
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
public boolean isValidForMode(String mode)
FormItemConfig
isValidForMode
in interface FormItemConfig
mode
- The mode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |