|
|||||||||||
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.FormSectionImpl
public class FormSectionImpl
Implementation of one section 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 | |
---|---|
FormSectionImpl()
|
|
FormSectionImpl(Object obj)
|
Method Summary | |
---|---|
void |
addFormItem(FormItemConfig item)
Add a FormItem to this FormSection. |
Object |
getClone()
Return self clone |
String |
getDescription()
Get the description of this FormSection, or null if no description |
FormItemConfig |
getFormItem(String name)
Get a FormItem defined by this FormSection, or the enclosing FormConfig. |
Collection<FormItemConfig> |
getFormItems()
Returns a Collection of all locally defined FormItemConfigs. |
Vector<String> |
getNames()
Return the names of all FormSections or FormItems in the FormSection. |
String |
getTitle()
Get the title of this FormSection, or null if no title |
void |
init()
Called after internal data structure is set. |
boolean |
initiallyExpanded()
Return true if this section is initially expanded |
void |
setDescription(String description)
Set the description of this FormSection The new description should be a key to be looked up in the translation file |
void |
setForm(FormConfig form)
Set the FormConfig this FormSection is part of. |
void |
setInitiallyExpanded(boolean value)
Set whether this section is initially expanded |
void |
setNames(Vector<String> names)
Set the names of all FormSections or FormItems in the FormSection |
void |
setTitle(String title)
Set the title of this FormSection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FormSectionImpl()
public FormSectionImpl(Object obj)
Method Detail |
---|
public void init()
BaseConfigurationImpl
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
public Vector<String> getNames()
FormSection
getNames
in interface FormSection
public void setNames(Vector<String> names)
FormSection
setNames
in interface FormSection
names
- The new list of namespublic String getTitle()
FormSection
getTitle
in interface FormSection
public void setTitle(String title)
FormSection
setTitle
in interface FormSection
title
- The new titlepublic String getDescription()
FormSection
getDescription
in interface FormSection
public void setDescription(String description)
FormSection
setDescription
in interface FormSection
description
- The new descriptionpublic boolean initiallyExpanded()
FormSection
initiallyExpanded
in interface FormSection
public void setInitiallyExpanded(boolean value)
FormSection
setInitiallyExpanded
in interface FormSection
value
- true if the section is initially expandedpublic FormItemConfig getFormItem(String name)
FormSection
getFormItem
in interface FormSection
name
- The name of the FormItempublic void addFormItem(FormItemConfig item)
FormSection
addFormItem
in interface FormSection
item
- The new FormItempublic Collection<FormItemConfig> getFormItems()
FormSection
getFormItems
in interface FormSection
public Object getClone() throws Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
Exception
public void setForm(FormConfig form)
FormSection
setForm
in interface FormSection
form
- The FormConfig
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |