|
||||||||||
| 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.GridContainer
| Field Summary | |
protected java.lang.String |
GRID
|
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
GridContainer()
Sorry, no documentation comment here |
|
GridContainer(int iPadding)
Sorry, no documentation comment here |
|
GridContainer(int iPadding,
java.lang.String iWidth,
java.lang.String iHeight)
Creates a GridContainer with limited dimensions. |
|
| Method Summary | |
void |
addComponent(java.lang.String key,
com.sapportals.htmlb.Component component,
int line,
int column)
|
void |
addComponent(java.lang.String key,
IWizardComponent component,
int line,
int column,
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 |
com.sapportals.htmlb.GridLayoutCell |
getCell(int row,
int column,
IWizardContext ctx)
|
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 |
com.sapportals.htmlb.GridLayout |
getGrid(IWizardContext ctx)
|
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 |
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 |
setSize(java.lang.String iWidth,
java.lang.String iHeight)
|
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 |
protected final java.lang.String GRID
| Constructor Detail |
public GridContainer()
public GridContainer(int iPadding)
int - iPadding
public GridContainer(int iPadding,
java.lang.String iWidth,
java.lang.String iHeight)
int - iPadding| Method Detail |
public void setSize(java.lang.String iWidth,
java.lang.String iHeight)
public final void addComponent(java.lang.String key,
com.sapportals.htmlb.Component component,
int line,
int column)
public final void addComponent(java.lang.String key,
IWizardComponent component,
int line,
int column,
boolean isMandatoryField)
public final 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 final java.lang.String getPath()
AbstractWizardComponentgetPath in class AbstractWizardComponentpublic final void setPath(java.lang.String iPath)
AbstractWizardComponentsetPath in class AbstractWizardComponentpublic final com.sapportals.htmlb.GridLayout getGrid(IWizardContext ctx)
public final com.sapportals.htmlb.GridLayoutCell getCell(int row,
int column,
IWizardContext ctx)
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 | |||||||||