public abstract class AbstractInputComponent extends AbstractWizardComponent
| Modifier and Type | Field and Description |
|---|---|
protected String |
captionWidth
Deprecated.
A constant that defines the caption width.
|
static int |
DEFAULT_PADDING
Deprecated.
A constant that indicates the default padding.
|
protected String |
defaultCaption
Deprecated.
A constant that defines the default caption.
|
protected String |
defaultTooltip
Deprecated.
A constant that defines the tooltip.
|
protected Object |
defaultValue
Deprecated.
A constant that defines a default value.
|
protected boolean |
filledIncompletely
Deprecated.
A constant that defines that a component was filled.
|
static String |
INPUT_COMPONENT
Deprecated.
A constant that indicates the input component.
|
protected com.sapportals.htmlb.Component |
inputComponent
Deprecated.
A constant that defines the input component.
|
protected com.sapportals.htmlb.Label |
label
Deprecated.
A constant that defines the label.
|
protected int |
layout
Deprecated.
A constant that defines the vertical layout.
|
protected int |
padding
Deprecated.
A constant that defines the padding.
|
static String |
VALUE
Deprecated.
A constant that indicates a value.
|
protected String |
valueTargetPath
Deprecated.
A constant that indicates the target path.
|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT| Constructor and Description |
|---|
AbstractInputComponent()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
Removes an input component.
|
void |
clearIfInconsistent(String changedObject,
IWizardContext ctx)
Deprecated.
Clears all values from the component and its subtree when the object
this object depends on was changed.
|
protected abstract com.sapportals.htmlb.Component |
createInputComponent(IBasicEditingContext ctx)
Deprecated.
Creates an input component.
|
String |
getCaption(IBasicEditingContext context)
Deprecated.
Gets the caption for a component.
|
com.sapportals.htmlb.Label |
getCaptionComponent(IWizardContext context)
Deprecated.
Gets the HTMLB label for an input component.
|
com.sapportals.htmlb.Component |
getDisplay(IWizardContext context)
Deprecated.
Gets the HTMLB component to display.
|
List |
getErrorMessages(IWizardContext context)
Deprecated.
Validates the data for the pane.
|
com.sapportals.htmlb.Component |
getInputComponentGeneric(IBasicEditingContext ctx)
Deprecated.
Gets the input component.
|
String |
getMissingFieldErrorMessage(IBasicEditingContext context)
Deprecated.
Gets the error message when a component is not filled.
|
String |
getTooltip(IWizardContext context)
Deprecated.
Gets the tooltip for a component.
|
Object |
getValueGeneric(IBasicEditingContext context)
Deprecated.
Gets the value of a component.
|
boolean |
isComplete(IWizardContext ctx)
Deprecated.
Indicates whether there is input in the component (
true). |
abstract void |
processInput(IWizardContext ctx)
Deprecated.
Saves to the data model the values entered into wizard controls by the
administrator.
|
void |
setCaption(String caption,
IWizardContext context)
Deprecated.
Sets a caption for a component.
|
void |
setCaptionWidth(String iCaptionWidth)
Deprecated.
Sets a caption width for a component.
|
void |
setCustomErrorMessage(String errorMessage)
Deprecated.
using this function causes inconsistencies in
the error handling of different wizards, it will
be removed for MS1
|
void |
setLayout(int iLayout)
Deprecated.
Sets a layout for a component.
|
void |
setPath(String iPath)
Deprecated.
Sets the path for a component.
|
void |
setTooltip(String tooltip,
IWizardContext ctx)
Deprecated.
Sets a tooltip for a component.
|
void |
setupComponent(IWizardContext ctx)
Deprecated.
Configures a component.
|
void |
setValueGeneric(Object newValue,
IWizardContext context)
Deprecated.
Sets the value for a component.
|
void |
setValueTargetPath(String iValueTargetPath)
Deprecated.
Sets the path that points to the value of the component.
|
doAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChangedpublic static final String VALUE
valueprotected String valueTargetPath
nullpublic static final String INPUT_COMPONENT
input_componentpublic static final int DEFAULT_PADDING
2protected String defaultCaption
protected String defaultTooltip
protected com.sapportals.htmlb.Component inputComponent
protected boolean filledIncompletely
falseprotected com.sapportals.htmlb.Label label
protected int layout
VERTICAL_LAYOUTprotected int padding
DEFAULT_PADDINGprotected String captionWidth
protected Object defaultValue
public void clear()
public void setupComponent(IWizardContext ctx)
setupComponent in interface IWizardComponentsetupComponent in class AbstractWizardComponentctx - the current wizard contextpublic Object getValueGeneric(IBasicEditingContext context)
context - the current editing contextpublic void setValueGeneric(Object newValue, IWizardContext context)
newValue - a new valuecontext - the current wizard contextpublic void setPath(String iPath)
IWizardSession.PATH_DELIMITER.
pane1.nameComponent.firstNameInputField.
If this component contains subcomponents, the path for the subcomponents
is also set.setPath in interface IWizardComponentsetPath in class AbstractWizardComponentiPath - a pathpublic void setValueTargetPath(String iValueTargetPath)
iValueTargetPath - a pathpublic String getCaption(IBasicEditingContext context)
context - the current editing contextpublic String getTooltip(IWizardContext context)
context - the current wizard contextpublic void setCaption(String caption, IWizardContext context)
caption - a captioncontext - the current wizard contextpublic void setTooltip(String tooltip, IWizardContext ctx)
tooltip - a tooltipctx - the current wizard contextpublic com.sapportals.htmlb.Label getCaptionComponent(IWizardContext context)
getDisplay to define a different component
layout.context - the current wizard contextpublic com.sapportals.htmlb.Component getInputComponentGeneric(IBasicEditingContext ctx)
ctx - the current editing contextpublic com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.getDisplay in interface IWizardComponentgetDisplay in class AbstractWizardComponentcontext - the current wizard contextpublic void setLayout(int iLayout)
iLayout - a layoutpublic void setCustomErrorMessage(String errorMessage)
errorMessage - an error messagepublic String getMissingFieldErrorMessage(IBasicEditingContext context)
context - the current editing contextpublic List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentgetErrorMessages in class AbstractWizardComponentcontext - the current wizard contextpublic void setCaptionWidth(String iCaptionWidth)
iCaptionWidth - a widthpublic void clearIfInconsistent(String changedObject, IWizardContext ctx)
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class AbstractWizardComponentchangedObject - a changed objectctx - the current wizard contextpublic boolean isComplete(IWizardContext ctx)
true).
The default implementation returns true.isComplete in class AbstractWizardComponentctx - the current wizard contexttrue if there is input,
false no inputprotected abstract com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext ctx)
ctx - the current editing contextpublic abstract void processInput(IWizardContext ctx)
myProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput 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]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice