|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.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(java.lang.String key,
com.sapportals.htmlb.Component component)
|
void |
addComponent(java.lang.String key,
IWizardComponent component)
|
void |
addComponent(java.lang.String key,
IWizardComponent component,
boolean isMandatoryField)
|
void |
clearIfInconsistent(java.lang.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(java.lang.String key)
get a (sub)component from this container |
com.sapportals.htmlb.Component |
getControlInFocus(IWizardContext ctx)
|
com.sapportals.htmlb.Component |
getDisplay(IWizardContext context)
the default implementation returns null - if your component has a display it should inherit AbstractDisplayComponent or AbstractInputComponent. |
java.util.List |
getErrorMessages(IWizardContext context)
the default implemention returns null |
java.lang.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(java.lang.String iPath)
set the path of this component. e.g. it's position in the wizard hierarchy. path components are seperated by IWizardSession.PATH_DELIMITER. example: "pane1.nameComponent.firstNameInputField". |
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)
int - iLayout
public FlowContainer(int iLayout,
int iPadding)
int - iLayoutint - iPadding| Method Detail |
public void addComponent(java.lang.String key,
IWizardComponent component)
public void addComponent(java.lang.String key,
IWizardComponent component,
boolean isMandatoryField)
public void addComponent(java.lang.String key,
com.sapportals.htmlb.Component component)
public IWizardComponent getComponent(java.lang.String key)
IWizardComponentContainergetComponent in interface IWizardComponentContainerpublic void setupComponent(IWizardContext context)
IWizardComponentsetupComponent in class AbstractWizardComponentprotected void delegateSetupComponent(IWizardContext context)
protected void mySetupComponent(IWizardContext context)
public boolean isInitialized(IWizardContext context)
AbstractWizardComponentisInitialized in class AbstractWizardComponentcom.sapportals.admin.wizardframework.api.IWizardComponentpublic void init(IWizardContext context)
AbstractWizardComponentinit in class AbstractWizardComponentpublic void doBeforeDisplay(IWizardContext context)
AbstractWizardComponentdoBeforeDisplay in class AbstractWizardComponentprotected void delegateDoBeforeDisplay(IWizardContext context)
protected void myDoBeforeDisplay(IWizardContext ctx)
public void processInput(IWizardContext ctx)
AbstractWizardComponentprocessInput in class AbstractWizardComponentprotected void delegateProcessInput(IWizardContext ctx)
protected void myProcessInput(IWizardContext ctx)
public void doAfterSubmit(IWizardContext context)
AbstractWizardComponentdoAfterSubmit in class AbstractWizardComponentpublic java.lang.String getPath()
AbstractWizardComponentgetPath in class AbstractWizardComponentpublic void setPath(java.lang.String iPath)
AbstractWizardComponentsetPath in class AbstractWizardComponentpublic void setLayout(int iLayout)
public com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractWizardComponentgetDisplay in class AbstractWizardComponentpublic void wasChanged(IWizardContext context)
AbstractWizardComponentwasChanged in class AbstractWizardComponent
public void clearIfInconsistent(java.lang.String changedObjectKey,
IWizardContext context)
AbstractWizardComponentclearIfInconsistent in class AbstractWizardComponentpublic java.util.List getErrorMessages(IWizardContext context)
AbstractWizardComponentgetErrorMessages in class AbstractWizardComponentcom.sapportals.admin.wizardframework.api.IWizardComponentpublic com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
getControlInFocus in class AbstractWizardComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||