|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
com.sapportals.admin.wizardframework.components.WizardComponentContainer
public class WizardComponentContainer
The class that represents a wizard component container. A container can
contain other wizard components. It executes enclosed components in the
order in which the component was added to the container.
For example, if component a was added to a container before component b the
container calls a.init(), b.init(),
a.doBeforeDisplay(), b.doBeforeDisplay.
| Field Summary | |
|---|---|
protected Hashtable |
components
Deprecated. Returns a hashtable that is used as a container for the subcomponents. |
static int |
HORIZONTAL_LAYOUT
Deprecated. A constant that indicates the horizontal layout. |
static int |
VERTICAL_LAYOUT
Deprecated. A constant that indicates the vertical layout. |
| Constructor Summary | |
|---|---|
WizardComponentContainer()
Deprecated. A blank constructor. |
|
WizardComponentContainer(int iLayout)
Deprecated. A constructor that sets a layout. |
|
WizardComponentContainer(int iLayout,
int iPadding)
Deprecated. A constructor that sets a layout and padding. |
|
| Method Summary | |
|---|---|
void |
addComponent(String key,
com.sapportals.htmlb.Component component)
Deprecated. Adds a specified HTMLB component. |
void |
addComponent(String key,
IWizardComponent component)
Deprecated. Adds a specified component. |
void |
addComponent(String key,
IWizardComponent component,
boolean isMandatoryField)
Deprecated. Adds a specified wizard component and sets the component to mandatory ( true). |
void |
clearIfInconsistent(String changedObjectKey,
IWizardContext context)
Deprecated. Clears all values from the object and its subtree when the object this object depends on was changed. |
void |
doAfterSubmit(IWizardContext context)
Deprecated. Performs any actions on the data if the data is valid. |
void |
doBeforeDisplay(IWizardContext context)
Deprecated. Performs synchronization between the data model and the pane. |
IWizardComponent |
getComponent(String key)
Deprecated. Gets the specified component. |
com.sapportals.htmlb.Component |
getDisplay(IWizardContext context)
Deprecated. Gets the HTMLB component to display. |
List |
getErrorMessages(IWizardContext context)
Deprecated. Validates the data for the pane. |
String |
getPath()
Deprecated. Gets the path of this component. |
void |
init(IWizardContext context)
Deprecated. Implement this method to initialize a component. |
boolean |
isInitialized(IWizardContext context)
Deprecated. Indicates whether a component is initialized. |
void |
processInput(IWizardContext context)
Deprecated. Saves to the data model the values entered into wizard controls by the administrator. |
void |
setPath(String iPath)
Deprecated. Sets a component path. |
void |
wasChanged(IWizardContext context)
Deprecated. Clears all objects dependent on this object or its parent objects. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
getControlInFocus, getDescription, getProperty, getTitle, isComplete, isMandatory, setMandatory, setProperty, setTempProperty, setupComponent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Hashtable components
public static final int VERTICAL_LAYOUT
public static final int HORIZONTAL_LAYOUT
| Constructor Detail |
|---|
public WizardComponentContainer()
public WizardComponentContainer(int iLayout)
iLayout - a layout
public WizardComponentContainer(int iLayout,
int iPadding)
iLayout - a layoutiPadding - padding| Method Detail |
|---|
public void addComponent(String key,
IWizardComponent component)
key - a keycomponent - a component
public void addComponent(String key,
IWizardComponent component,
boolean isMandatoryField)
true).
key - a keycomponent - a componentisMandatoryField - true sets the component to
mandatory
public void addComponent(String key,
com.sapportals.htmlb.Component component)
key - a keycomponent - a componentpublic IWizardComponent getComponent(String key)
getComponent in interface IWizardComponentContainerkey - a key
public boolean isInitialized(IWizardContext context)
true. Override this method if the component requires
dynamic initialization.
isInitialized in interface IWizardComponentisInitialized in class AbstractWizardComponentcontext - the current wizard context
true
public void init(IWizardContext context)
init in interface IWizardComponentinit in class AbstractWizardComponentcontext - the current wizard contextpublic void doBeforeDisplay(IWizardContext context)
myDoBeforeDisplay method, and then calls
doBeforeDisplay on all the wizard components within
the pane.
doBeforeDisplay in interface IWizardComponentdoBeforeDisplay in class AbstractWizardComponentcontext - the current wizard contextpublic void processInput(IWizardContext context)
myProcessInput method, and then calls
processInput on all the wizard components within the
pane.
processInput in interface IWizardComponentprocessInput in class AbstractWizardComponentcontext - the current wizard contextpublic void doAfterSubmit(IWizardContext context)
doAfterSubmit in interface IWizardComponentdoAfterSubmit in class AbstractWizardComponentcontext - the current wizard contextpublic String getPath()
getPath in interface IWizardComponentgetPath in class AbstractWizardComponentpublic void setPath(String iPath)
IWizardSession.PATH_DELIMITER.
pane1.nameComponent.firstNameInputField.
If this component contains subcomponents, the path for the
subcomponents is also set.
setPath in interface IWizardComponentsetPath in class AbstractWizardComponentiPath - a component pathpublic com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.
getDisplay in interface IWizardComponentgetDisplay in class AbstractWizardComponentcontext - the current wizard context
public void wasChanged(IWizardContext context)
wasChanged in interface IDependencyObjectwasChanged in class AbstractWizardComponentcontext - the current wizard context
public void clearIfInconsistent(String changedObjectKey,
IWizardContext context)
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class AbstractWizardComponentchangedObjectKey - a changed objectcontext - the current wizard contextpublic List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentgetErrorMessages in class AbstractWizardComponentcontext - the current wizard context
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||