com.sapportals.admin.wizardframework.components

Class MultilineInputComponent

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

public class MultilineInputComponent
extends AbstractInputComponent

implementation of a simple text input component.


Field Summary
 
Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent
captionWidth, DEFAULT_PADDING, defaultCaption, defaultTooltip, filledIncompletely, INPUT_COMPONENT, inputComponent, label, layout, padding, VALUE, valueTargetPath
 
Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT
 
Constructor Summary
MultilineInputComponent()
           
MultilineInputComponent(int iColNum, int iRowNum)
           
MultilineInputComponent(int iColNum, int iRowNum, String iDefaultCaption)
           
MultilineInputComponent(int iColNum, int iRowNum, String iDefaultCaption, String iDefaultValue)
           
MultilineInputComponent(int iColNum, int iRowNum, String iDefaultCaption, String iDefaultValue, int iLayout, int iPadding)
           
MultilineInputComponent(int iColNum, int iRowNum, String iDefaultCaption, String iDefaultValue, int iLayout, int iPadding, String iCaptionWidth)
           
MultilineInputComponent(String iDefaultCaption)
           
MultilineInputComponent(String iDefaultCaption, String iDefaultValue)
           
 
Method Summary
protected  Component createInputComponent(IBasicEditingContext context)
           
 void doAfterSubmit(IWizardContext context)
          the default implemention does nothing
 Component getControlInFocus(IWizardContext ctx)
           
 TextEdit getInputComponent(IBasicEditingContext context)
           
 String getValue(IBasicEditingContext context)
           
 void processInput(IWizardContext context)
          Store the value from the htmlb display in the session.
 void setValue(String newValue, IWizardContext context)
           
 void wasChanged(IWizardContext context)
          this method should be called whenever a component is changed.
 
Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent
clear, clearIfInconsistent, getCaption, getCaptionComponent, getDisplay, getErrorMessages, getInputComponentGeneric, getMissingFieldErrorMessage, getTooltip, getValueGeneric, isComplete, setCaption, setCaptionWidth, setCustomErrorMessage, setLayout, setPath, setTooltip, setupComponent, setValueGeneric, setValueTargetPath
 
Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent
doBeforeDisplay, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultilineInputComponent

public MultilineInputComponent(int iColNum,
                               int iRowNum)

MultilineInputComponent

public MultilineInputComponent(int iColNum,
                               int iRowNum,
                               String iDefaultCaption)

MultilineInputComponent

public MultilineInputComponent(int iColNum,
                               int iRowNum,
                               String iDefaultCaption,
                               String iDefaultValue)

MultilineInputComponent

public MultilineInputComponent(int iColNum,
                               int iRowNum,
                               String iDefaultCaption,
                               String iDefaultValue,
                               int iLayout,
                               int iPadding)

MultilineInputComponent

public MultilineInputComponent(int iColNum,
                               int iRowNum,
                               String iDefaultCaption,
                               String iDefaultValue,
                               int iLayout,
                               int iPadding,
                               String iCaptionWidth)

MultilineInputComponent

public MultilineInputComponent()

MultilineInputComponent

public MultilineInputComponent(String iDefaultCaption)

MultilineInputComponent

public MultilineInputComponent(String iDefaultCaption,
                               String iDefaultValue)
Method Detail

getValue

public String getValue(IBasicEditingContext context)

setValue

public void setValue(String newValue,
                     IWizardContext context)

getInputComponent

public TextEdit getInputComponent(IBasicEditingContext context)

createInputComponent

protected Component createInputComponent(IBasicEditingContext context)
Specified by:
createInputComponent in class AbstractInputComponent

processInput

public void processInput(IWizardContext context)
Store the value from the htmlb display in the session.

Specified by:
processInput in interface IWizardComponent
Specified by:
processInput in class AbstractInputComponent

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

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

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.