|
||||||||||
| 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.WizardComponentContainer
| Field Summary | |
protected java.util.Hashtable |
components
|
static int |
HORIZONTAL_LAYOUT
|
static int |
VERTICAL_LAYOUT
|
| Constructor Summary | |
WizardComponentContainer()
sorry, no detailed documentation yet |
|
WizardComponentContainer(int iLayout)
sorry, no detailed documentation yet |
|
WizardComponentContainer(int iLayout,
int iPadding)
sorry, no detailed documentation yet |
|
| 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. |
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 |
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 |
void |
processInput(IWizardContext context)
the default implemention does no input processing. |
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 |
wasChanged(IWizardContext context)
this method should be called whenever a component is changed. |
| 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 java.util.Hashtable components
public static final int VERTICAL_LAYOUT
public static final int HORIZONTAL_LAYOUT
| Constructor Detail |
public WizardComponentContainer()
public WizardComponentContainer(int iLayout)
int - iLayout
public WizardComponentContainer(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 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 AbstractWizardComponentpublic void processInput(IWizardContext context)
AbstractWizardComponentprocessInput in class AbstractWizardComponentpublic 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 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.IWizardComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||