com.sapportals.admin.wizardframework.components
Class AlignedInputComponentList

java.lang.Object
  |
  +--com.sapportals.admin.wizardframework.components.AbstractWizardComponent
        |
        +--com.sapportals.admin.wizardframework.components.AlignedInputComponentList
All Implemented Interfaces:
IDependencyObject, IWizardComponent

public class AlignedInputComponentList
extends AbstractWizardComponent


Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT
 
Constructor Summary
AlignedInputComponentList()
          Sorry, no documentation comment here
AlignedInputComponentList(int iPadding)
          Sorry, no documentation comment here
 
Method Summary
 void addComponent(java.lang.String key, AbstractInputComponent component)
           
 void addComponent(java.lang.String key, AbstractInputComponent 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
 AbstractInputComponent getComponent(java.lang.String key)
           
 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 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
 

Constructor Detail

AlignedInputComponentList

public AlignedInputComponentList()
Sorry, no documentation comment here

AlignedInputComponentList

public AlignedInputComponentList(int iPadding)
Sorry, no documentation comment here
Parameters:
int - iLayout
int - iPadding
Method Detail

addComponent

public void addComponent(java.lang.String key,
                         AbstractInputComponent component)

addComponent

public void addComponent(java.lang.String key,
                         AbstractInputComponent component,
                         boolean isMandatoryField)

getComponent

public AbstractInputComponent getComponent(java.lang.String key)

setupComponent

public void setupComponent(IWizardContext context)
Description copied from interface: IWizardComponent
setup the component here. if this component is a container add all subcomponents here
Overrides:
setupComponent in class AbstractWizardComponent

delegateSetupComponent

protected void delegateSetupComponent(IWizardContext context)

mySetupComponent

protected void mySetupComponent(IWizardContext context)

isInitialized

public boolean isInitialized(IWizardContext context)
Description copied from class: AbstractWizardComponent
always returns true - override this function if your component needs dynamic initialization
Overrides:
isInitialized in class AbstractWizardComponent
Following copied from interface: com.sapportals.admin.wizardframework.api.IWizardComponent
Returns:
- has this component already been initialized?

init

public void init(IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implemention does nothing on init
Overrides:
init in class AbstractWizardComponent

doBeforeDisplay

public void doBeforeDisplay(IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implemention does nothing before display
Overrides:
doBeforeDisplay in class AbstractWizardComponent

delegateDoBeforeDisplay

protected void delegateDoBeforeDisplay(IWizardContext context)

myDoBeforeDisplay

protected void myDoBeforeDisplay(IWizardContext ctx)

processInput

public void processInput(IWizardContext ctx)
Description copied from class: AbstractWizardComponent
the default implemention does no input processing.
Overrides:
processInput in class AbstractWizardComponent

delegateProcessInput

protected void delegateProcessInput(IWizardContext ctx)

myProcessInput

protected void myProcessInput(IWizardContext ctx)

doAfterSubmit

public void doAfterSubmit(IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implemention does nothing
Overrides:
doAfterSubmit in class AbstractWizardComponent

getPath

public java.lang.String getPath()
Description copied from class: AbstractWizardComponent
get the path of this component (internally used)
Overrides:
getPath in class AbstractWizardComponent

setPath

public void setPath(java.lang.String iPath)
Description copied from class: AbstractWizardComponent
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". If this component contains other components it will set their path in this function.
Overrides:
setPath in class AbstractWizardComponent

getDisplay

public com.sapportals.htmlb.Component getDisplay(IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implementation returns null - if your component has a display it should inherit AbstractDisplayComponent or AbstractInputComponent.
Overrides:
getDisplay in class AbstractWizardComponent

wasChanged

public void wasChanged(IWizardContext context)
Description copied from class: AbstractWizardComponent
this method should be called whenever a component is changed. It clears all components dependent on this component or its parent components.
Overrides:
wasChanged in class AbstractWizardComponent

clearIfInconsistent

public void clearIfInconsistent(java.lang.String changedObjectKey,
                                IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implementtion clears all values from this component's branch in the session.
Overrides:
clearIfInconsistent in class AbstractWizardComponent

getErrorMessages

public java.util.List getErrorMessages(IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implemention returns null
Overrides:
getErrorMessages in class AbstractWizardComponent
Following copied from interface: com.sapportals.admin.wizardframework.api.IWizardComponent
Returns:
- If this component was not propperly filled by the user return a list of error messages indicating the missing fields or inconsistencies, otherwise return null;

getControlInFocus

public com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
Overrides:
getControlInFocus in class AbstractWizardComponent