|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormConfig
A Form that can be displayed by the Configuration Editor
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 | |
---|---|
void |
addFormItem(FormItemConfig item)
Add a FormItem definition to this FormConfig |
void |
addSection(FormSection section)
Add a FormSection definition to this FormConfig |
String |
getFormEventHandler()
/** Get the script that handles events in this FormConfig. |
FormItemConfig |
getFormItem(String name)
Get a FormItem defined by this FormConfig. |
List<String> |
getFormItemNames()
Returns a list of the names of all the FormItems in this FormConfig. |
String |
getFormScript()
Get the script that will be executed every time a button is pressed. |
int |
getHeight(int h)
Get the preferred height of this Form. |
Iterator<String> |
getLocalFormItemNames()
Returns an Iterator over names of FormItems defined in this FormConfig. |
FormSection |
getSection(String name)
Get the FormSection with the given name. |
List<String> |
getSectionNames()
Get a list of the names of all Sections used by this FormConfig, if defined. |
List<String> |
getTabNames()
Get names of tabs. |
String |
getTabTitle(String name)
Get Title for one tab. |
String |
getTabToolTip(String name)
Get Tooltip for one tab. |
String |
getTitle()
Get the title of this FormConfig. |
String |
getTranslationFile()
Get the name of the translation file. |
String |
getTranslationLocale()
Returns Locale identifier (ISO lang code) to use when translating resources. |
String |
getUIClass()
Get the name of a UI class that will be used to display the form. |
boolean |
getUseHyperLabel()
Return true if this FormConfig uses hyperlabels |
boolean |
getUseTabs()
Return true if this form uses tabs. |
int |
getWidth(int w)
Get the preferred width of this Form. |
FormItemConfig |
newFormItem(String name)
Create a new FormItem with the given name |
void |
removeFormItem(String name)
Remove the FormItem with the given name |
void |
renameFormItem(String oldName,
String newName)
Rename a FormItem. |
void |
setTranslationFile(String name)
Set the name of the translation file. |
void |
setTranslationLocale(String locale)
Sets the preferred Locale to use when translating strings. |
String |
translate(String str)
Translate a String. |
Method Detail |
---|
List<String> getFormItemNames()
Iterator<String> getLocalFormItemNames()
FormItemConfig getFormItem(String name)
name
- The name of the FormItemFormItemConfig newFormItem(String name)
name
- The name of the FormItemvoid removeFormItem(String name)
name
- The name of the FormItemvoid renameFormItem(String oldName, String newName)
oldName
- The old name of the FormItemnewName
- The new name of the FormItemvoid addFormItem(FormItemConfig item)
List<String> getSectionNames()
FormSection getSection(String name)
name
- The name of the FormSectionvoid addSection(FormSection section)
String getFormEventHandler()
String getFormScript()
String getTitle()
String getUIClass()
int getWidth(int w)
w
- Use this width if no width definedint getHeight(int h)
h
- Use this height if no height defined.boolean getUseHyperLabel()
boolean getUseTabs()
List<String> getTabNames()
String getTabTitle(String name)
name
- Name of the tabString getTabToolTip(String name)
name
- Name of the tabString getTranslationFile()
void setTranslationFile(String name)
String translate(String str)
str
- The string to be translated
void setTranslationLocale(String locale)
String getTranslationLocale()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |