com.sapportals.admin.wizardframework.components

Class AlignedInputComponentList

java.lang.Object
  extended bycom.sapportals.admin.wizardframework.components.AbstractWizardComponent
      extended bycom.sapportals.admin.wizardframework.components.AlignedInputComponentList
All Implemented Interfaces:
IDependencyObject, IWizardComponent

public class AlignedInputComponentList
extends AbstractWizardComponent


Field Summary
 
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(String key, AbstractInputComponent component)
           
 void addComponent(String key, AbstractInputComponent 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
 AbstractInputComponent getComponent(String key)
           
 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 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
 

Constructor Detail

AlignedInputComponentList

public AlignedInputComponentList()
Sorry, no documentation comment here


AlignedInputComponentList

public AlignedInputComponentList(int iPadding)
Sorry, no documentation comment here

Method Detail

addComponent

public void addComponent(String key,
                         AbstractInputComponent component)

addComponent

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

getComponent

public AbstractInputComponent getComponent(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

Specified by:
setupComponent in interface IWizardComponent
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

Specified by:
isInitialized in interface IWizardComponent
Overrides:
isInitialized in class AbstractWizardComponent

init

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

Specified by:
init in interface IWizardComponent
Overrides:
init in class AbstractWizardComponent

doBeforeDisplay

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

Specified by:
doBeforeDisplay in interface IWizardComponent
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.

Specified by:
processInput in interface IWizardComponent
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

Specified by:
doAfterSubmit in interface IWizardComponent
Overrides:
doAfterSubmit in class AbstractWizardComponent

getPath

public String getPath()
Description copied from class: AbstractWizardComponent
get the path of this component (internally used)

Specified by:
getPath in interface IWizardComponent
Overrides:
getPath in class AbstractWizardComponent

setPath

public void setPath(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.

Specified by:
setPath in interface IWizardComponent
Overrides:
setPath in class AbstractWizardComponent

getDisplay

public 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.

Specified by:
getDisplay in interface IWizardComponent
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.

Specified by:
wasChanged in interface IDependencyObject
Overrides:
wasChanged in class AbstractWizardComponent

clearIfInconsistent

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

Specified by:
clearIfInconsistent in interface IDependencyObject
Overrides:
clearIfInconsistent in class AbstractWizardComponent

getErrorMessages

public List getErrorMessages(IWizardContext context)
Description copied from class: AbstractWizardComponent
the default implemention returns null

Specified by:
getErrorMessages in interface IWizardComponent
Overrides:
getErrorMessages in class AbstractWizardComponent

getControlInFocus

public Component getControlInFocus(IWizardContext ctx)
Specified by:
getControlInFocus in interface IWizardComponent
Overrides:
getControlInFocus in class AbstractWizardComponent


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.