|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
com.sapportals.admin.wizardframework.components.AbstractInputComponent
com.sapportals.admin.wizardframework.components.TextInputComponent
public class TextInputComponent
A class that represents a 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 | |
|---|---|
TextInputComponent()
Deprecated. A blank constructor. |
|
TextInputComponent(String iDefaultCaption)
Deprecated. A constructor that sets a default caption. |
|
TextInputComponent(String iDefaultCaption,
String iDefaultValue)
Deprecated. A constructor that sets a default caption and a default value. |
|
TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout)
Deprecated. A constructor that sets a default caption, a default value and a layout. |
|
TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding)
Deprecated. A constructor that sets a default caption, a default value, a layout and padding. |
|
TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding,
String iCaptionWidth)
Deprecated. A constructor that sets a default caption, a default value, a layout and padding, and a caption width. |
|
TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding,
String iCaptionWidth,
String iFieldWidth)
Deprecated. A constructor that sets a default caption, a default value, a layout and padding, a caption width and a field width. |
|
TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding,
String iCaptionWidth,
String iFieldWidth,
String iTargetPath)
Deprecated. A constructor that sets a default caption, a default value, a layout and padding, a caption width, a field width and a target path. |
|
| Method Summary | |
|---|---|
void |
clearIfInconsistent(String changedObject,
IWizardContext ctx)
Deprecated. Clears all values from the object and its subtree when the object this object depends on was changed. |
protected com.sapportals.htmlb.Component |
createInputComponent(IBasicEditingContext context)
Deprecated. Creates a text input component. |
void |
doAfterSubmit(IWizardContext context)
Deprecated. Performs any actions on the data if the data is valid. |
com.sapportals.htmlb.Component |
getControlInFocus(IWizardContext ctx)
Deprecated. Gets the control that currently has the focus. |
com.sapportals.htmlb.InputField |
getInputComponent(IBasicEditingContext context)
Deprecated. Gets the input component. |
String |
getValue(IBasicEditingContext context)
Deprecated. Gets the current value of a component. |
void |
init(IWizardContext ctx)
Deprecated. Implement this method to initialize a component. |
boolean |
isInitialized(IWizardContext ctx)
Deprecated. Indicates whether the component is initialized. |
void |
processInput(IWizardContext context)
Deprecated. Saves to the data model the values entered into wizard controls by the administrator. |
void |
setValue(String newValue,
IWizardContext context)
Deprecated. Sets the component value to the specified value. |
void |
wasChanged(IWizardContext context)
Deprecated. Clears all objects dependent on this object or its parent objects. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractInputComponent |
|---|
clear, 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, isMandatory, setMandatory, setProperty, setTempProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextInputComponent()
public TextInputComponent(String iDefaultCaption)
iDefaultCaption - a default caption
public TextInputComponent(String iDefaultCaption,
String iDefaultValue)
iDefaultCaption - a default captioniDefaultValue - a default value
public TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout)
iDefaultCaption - a default captioniDefaultValue - a default valueiLayout - a layout
public TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding)
iDefaultCaption - a default captioniDefaultValue - a default valueiLayout - a layoutiPadding - padding
public TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding,
String iCaptionWidth)
iDefaultCaption - a default captioniDefaultValue - a default valueiLayout - a layoutiPadding - paddingiCaptionWidth - a caption width
public TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding,
String iCaptionWidth,
String iFieldWidth)
iDefaultCaption - a default captioniDefaultValue - a default valueiLayout - a layoutiPadding - paddingiCaptionWidth - a caption widthiFieldWidth - a field width
public TextInputComponent(String iDefaultCaption,
String iDefaultValue,
int iLayout,
int iPadding,
String iCaptionWidth,
String iFieldWidth,
String iTargetPath)
iDefaultCaption - a default captioniDefaultValue - a default valueiLayout - a layoutiPadding - paddingiCaptionWidth - a caption widthiFieldWidth - a field widthiTargetPath - a target path| Method Detail |
|---|
public boolean isInitialized(IWizardContext ctx)
true. Override this method if the component requires
dynamic initialization.
isInitialized in interface IWizardComponentisInitialized in class AbstractWizardComponentctx - the current wizard context
true
public void init(IWizardContext ctx)
init in interface IWizardComponentinit in class AbstractWizardComponentctx - the current wizard contextpublic String getValue(IBasicEditingContext context)
context - the current editing context
public void setValue(String newValue,
IWizardContext context)
newValue - a value for the componentcontext - the current wizard contextpublic com.sapportals.htmlb.InputField getInputComponent(IBasicEditingContext context)
getDisplay function.
getDisplay
to define a different component layout.
context - the current editing context
protected com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext context)
createInputComponent in class AbstractInputComponentcontext - the current editing context
public void processInput(IWizardContext context)
myProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput in class AbstractInputComponentcontext - the current wizard contextpublic void doAfterSubmit(IWizardContext context)
doAfterSubmit in interface IWizardComponentdoAfterSubmit in class AbstractWizardComponentcontext - the current wizard contextpublic void wasChanged(IWizardContext context)
wasChanged in interface IDependencyObjectwasChanged in class AbstractWizardComponentcontext - the current wizard context
public void clearIfInconsistent(String changedObject,
IWizardContext ctx)
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class AbstractInputComponentchangedObject - a changed objectctx - the current wizard contextpublic com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
getControlInFocus in interface IWizardComponentgetControlInFocus in class AbstractWizardComponentctx - the current wizard context
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
|
SAP NetWeaver 7.30 Enterprise Portal (SP03) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||