|
SAP NetWeaver '04 | |||||||||
| 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
This wizard component can contain other wizard components. It will execute enclosed components in the correct order. if component a was added to a container before component b the container shall call a.init(), b.init(), a.doBeforeDisplay(), b.doBeforeDisplay...
| Field Summary | |
static int |
HORIZONTAL_LAYOUT
|
static int |
VERTICAL_LAYOUT
|
| Constructor Summary | |
FlowContainer()
Sorry, no documentation comment here |
|
FlowContainer(int iLayout)
Sorry, no documentation comment here |
|
FlowContainer(int iLayout,
int iPadding)
Sorry, no documentation comment here |
|
| Method Summary | |
void |
addComponent(String key,
Component component)
|
void |
addComponent(String key,
IWizardComponent component)
|
void |
addComponent(String key,
IWizardComponent component,
boolean isMandatoryField)
|
void |
clearIfInconsistent(String changedObjectKey,
IWizardContext context)
the default implementtion clears all values from this component's branch in the session. |
protected void |
delegateDoBeforeDisplay(IWizardContext context)
|
protected void |
delegateProcessInput(IWizardContext ctx)
|
protected void |
delegateSetupComponent(IWizardContext context)
|
void |
doAfterSubmit(IWizardContext context)
the default implemention does nothing |
void |
doBeforeDisplay(IWizardContext context)
the default implemention does nothing before display |
IWizardComponent |
getComponent(String key)
get a (sub)component from this container |
Component |
getControlInFocus(IWizardContext ctx)
|
Component |
getDisplay(IWizardContext context)
the default implementation returns null - if your component has a display it should inherit AbstractDisplayComponent or AbstractInputComponent. |
List |
getErrorMessages(IWizardContext context)
the default implemention returns null |
String |
getPath()
get the path of this component (internally used) |
void |
init(IWizardContext context)
the default implemention does nothing on init |
boolean |
isInitialized(IWizardContext context)
always returns true - override this function if your component needs dynamic initialization |
protected void |
myDoBeforeDisplay(IWizardContext ctx)
|
protected void |
myProcessInput(IWizardContext ctx)
|
protected void |
mySetupComponent(IWizardContext context)
|
void |
processInput(IWizardContext ctx)
the default implemention does no input processing. |
void |
setLayout(int iLayout)
|
void |
setPath(String iPath)
set the path of this component. e.g. it's position in the wizard hierarchy. |
void |
setupComponent(IWizardContext context)
setup the component here. if this component is a container add all subcomponents here |
void |
wasChanged(IWizardContext context)
this method should be called whenever a component is changed. |
| 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)
public FlowContainer(int iLayout,
int iPadding)
| Method Detail |
public void addComponent(String key,
IWizardComponent component)
public void addComponent(String key,
IWizardComponent component,
boolean isMandatoryField)
public void addComponent(String key,
Component component)
public IWizardComponent getComponent(String key)
IWizardComponentContainer
getComponent in interface IWizardComponentContainerpublic void setupComponent(IWizardContext context)
IWizardComponent
setupComponent in interface IWizardComponentsetupComponent in class AbstractWizardComponentprotected void delegateSetupComponent(IWizardContext context)
protected void mySetupComponent(IWizardContext context)
public boolean isInitialized(IWizardContext context)
AbstractWizardComponent
isInitialized in interface IWizardComponentisInitialized in class AbstractWizardComponentpublic void init(IWizardContext context)
AbstractWizardComponent
init in interface IWizardComponentinit in class AbstractWizardComponentpublic void doBeforeDisplay(IWizardContext context)
AbstractWizardComponent
doBeforeDisplay in interface IWizardComponentdoBeforeDisplay in class AbstractWizardComponentprotected void delegateDoBeforeDisplay(IWizardContext context)
protected void myDoBeforeDisplay(IWizardContext ctx)
public void processInput(IWizardContext ctx)
AbstractWizardComponent
processInput in interface IWizardComponentprocessInput in class AbstractWizardComponentprotected void delegateProcessInput(IWizardContext ctx)
protected void myProcessInput(IWizardContext ctx)
public void doAfterSubmit(IWizardContext context)
AbstractWizardComponent
doAfterSubmit in interface IWizardComponentdoAfterSubmit in class AbstractWizardComponentpublic String getPath()
AbstractWizardComponent
getPath in interface IWizardComponentgetPath in class AbstractWizardComponentpublic void setPath(String iPath)
AbstractWizardComponent
setPath in interface IWizardComponentsetPath in class AbstractWizardComponentpublic void setLayout(int iLayout)
public Component getDisplay(IWizardContext context)
AbstractWizardComponent
getDisplay in interface IWizardComponentgetDisplay in class AbstractWizardComponentpublic void wasChanged(IWizardContext context)
AbstractWizardComponent
wasChanged in interface IDependencyObjectwasChanged in class AbstractWizardComponent
public void clearIfInconsistent(String changedObjectKey,
IWizardContext context)
AbstractWizardComponent
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class AbstractWizardComponentpublic List getErrorMessages(IWizardContext context)
AbstractWizardComponent
getErrorMessages in interface IWizardComponentgetErrorMessages in class AbstractWizardComponentpublic Component getControlInFocus(IWizardContext ctx)
getControlInFocus in interface IWizardComponentgetControlInFocus in class AbstractWizardComponent
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||