|
SAP NetWeaver 7.30 SP01 | |||||||||
| 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.FlowContainer
public class FlowContainer
The class that represents a container flow. A container can contain
other wizard components. It executes enclosed components in the
order in which the components were added.
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 | |
|---|---|
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 | |
|---|---|
FlowContainer()
Deprecated. A blank constructor. |
|
FlowContainer(int iLayout)
Deprecated. A constructor that sets a layout. |
|
FlowContainer(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 an HTMLB component to a container specified by a key. |
void |
addComponent(String key,
IWizardComponent component)
Deprecated. Adds a wizard component to the container specified by a key. |
void |
addComponent(String key,
IWizardComponent component,
boolean isMandatoryField)
Deprecated. Adds a mandatory wizard component to a container specified by a key. |
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. |
protected void |
delegateDoBeforeDisplay(IWizardContext context)
Deprecated. Performs doBeforeDisplay(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent. |
protected void |
delegateProcessInput(IWizardContext ctx)
Deprecated. Performs #ProcessInput on each subcomponent. |
protected void |
delegateSetupComponent(IWizardContext context)
Deprecated. Performs setupComponent(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent. |
void |
doAfterSubmit(IWizardContext context)
Deprecated. Performs any actions on the data after user input is collected. |
void |
doBeforeDisplay(IWizardContext context)
Deprecated. Performs synchronization between the data model and the pane. |
IWizardComponent |
getComponent(String key)
Deprecated. Gets a component from a container specified by a key. |
com.sapportals.htmlb.Component |
getControlInFocus(IWizardContext ctx)
Deprecated. Gets the component that currently has the focus. |
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 for a component. |
void |
init(IWizardContext context)
Deprecated. Implement this method to initialize a component. |
boolean |
isInitialized(IWizardContext context)
Deprecated. Indicates whether the component is initialized. |
protected void |
myDoBeforeDisplay(IWizardContext ctx)
Deprecated. Sets the values of HTML controls in the pane based on the data model. |
protected void |
myProcessInput(IWizardContext ctx)
Deprecated. Saves to the data model the data from any HTMLB controls created in the pane. |
protected void |
mySetupComponent(IWizardContext context)
Deprecated. Implement this method to create your own setup for a component. |
void |
processInput(IWizardContext ctx)
Deprecated. Saves to the data model the values entered into wizard controls by the administrator. |
void |
setLayout(int iLayout)
Deprecated. Sets a layout for a component. |
void |
setPath(String iPath)
Deprecated. Sets a path for a component. |
void |
setupComponent(IWizardContext context)
Deprecated. Configures a component. |
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 |
|---|
getDescription, getProperty, getTitle, isComplete, isMandatory, setMandatory, setProperty, setTempProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERTICAL_LAYOUT
public static final int HORIZONTAL_LAYOUT
| Constructor Detail |
|---|
public FlowContainer()
public FlowContainer(int iLayout)
iLayout - a layout
public FlowContainer(int iLayout,
int iPadding)
iLayout - a layoutiPadding - padding| Method Detail |
|---|
public void addComponent(String key,
IWizardComponent component)
key - a keycomponent - a wizard component
public void addComponent(String key,
IWizardComponent component,
boolean isMandatoryField)
key - a keycomponent - a wizard componentisMandatoryField - true to set the component to
mandatory
public void addComponent(String key,
com.sapportals.htmlb.Component component)
key - a keycomponent - an HTMLB componentpublic IWizardComponent getComponent(String key)
getComponent in interface IWizardComponentContainerkey - a key
public void setupComponent(IWizardContext context)
setupComponent in interface IWizardComponentsetupComponent in class AbstractWizardComponentcontext - the current wizard contextprotected void delegateSetupComponent(IWizardContext context)
setupComponent(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent.
context - the current wizard contextprotected void mySetupComponent(IWizardContext context)
context - the current wizard contextpublic 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
truepublic 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 contextprotected void delegateDoBeforeDisplay(IWizardContext context)
doBeforeDisplay(com.sapportals.admin.wizardframework.api.IWizardContext) on each subcomponent.
context - the current wizard contextprotected void myDoBeforeDisplay(IWizardContext ctx)
ctx - the current wizard contextpublic void processInput(IWizardContext ctx)
myProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput in class AbstractWizardComponentctx - the current wizard contextprotected void delegateProcessInput(IWizardContext ctx)
#ProcessInput on each subcomponent.
ctx - the current wizard contextprotected void myProcessInput(IWizardContext ctx)
ctx - 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.
setPath in interface IWizardComponentsetPath in class AbstractWizardComponentiPath - a pathpublic void setLayout(int iLayout)
iLayout - a layoutpublic 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
public com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
getControlInFocus in interface IWizardComponentgetControlInFocus in class AbstractWizardComponentctx - the current wizard context
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||