public class AbstractWizardComponent extends Object implements IWizardComponent, IDependencyObject
IWizardComponent while not defining any individual behavior.| Modifier and Type | Field and Description |
|---|---|
static int |
HORIZONTAL_LAYOUT
Deprecated.
A constant that indicates the horizontal layout.
|
static int |
VERTICAL_LAYOUT
Deprecated.
A constant that indicates the vertical layout.
|
| Constructor and Description |
|---|
AbstractWizardComponent()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearIfInconsistent(String changedObject,
IWizardContext context)
Deprecated.
Clears all values from the object and its subtree when the object
this object depends on was changed.
|
void |
doAfterSubmit(IWizardContext context)
Deprecated.
Performs any actions on the data if the data is valid.
|
void |
doBeforeDisplay(IWizardContext context)
Deprecated.
Performs synchronization between the data model and the pane.
|
com.sapportals.htmlb.Component |
getControlInFocus(IWizardContext ctx)
Deprecated.
Gets the control that currently has the focus.
|
String |
getDescription(IWizardContext ctx)
Deprecated.
Gets a component description.
|
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.
|
String |
getPath()
Deprecated.
Gets the path of the component.
|
protected Object |
getProperty(String key,
IBasicEditingContext context)
Deprecated.
Gets the properties for an object specified by a key.
|
String |
getTitle(IWizardContext ctx)
Deprecated.
Gets a component title.
|
void |
init(IWizardContext context)
Deprecated.
Implement this method to initialize a component.
|
boolean |
isComplete(IWizardContext context)
Deprecated.
Indicates whether there is input in the component (
true). |
boolean |
isInitialized(IWizardContext context)
Deprecated.
Indicates whether the component is initialized (
true). |
boolean |
isMandatory()
Deprecated.
Indicates whether a component is mandatory (
true). |
void |
processInput(IWizardContext context)
Deprecated.
Saves to the data model the values entered into wizard controls by the
administrator.
|
void |
setMandatory(boolean iMandatory)
Deprecated.
Sets a component to mandatory.
|
void |
setPath(String iPath)
Deprecated.
Sets a component path.
|
protected void |
setProperty(String key,
Object value,
IBasicEditingContext context)
Deprecated.
Sets the value for a property in the session specified by a key.
|
protected void |
setTempProperty(String key,
Object value,
IBasicEditingContext context)
Deprecated.
Sets the temporary property for a specified key in the session.
|
void |
setupComponent(IWizardContext ctx)
Deprecated.
Configures a component.
|
void |
wasChanged(IWizardContext context)
Deprecated.
Clears all objects dependent on this object or its parent
objects.
|
public static final int VERTICAL_LAYOUT
public static final int HORIZONTAL_LAYOUT
public void setupComponent(IWizardContext ctx)
setupComponent in interface IWizardComponentctx - the current wizard contextpublic String getTitle(IWizardContext ctx)
getTitle in interface IWizardComponentctx - the current wizard contextpublic String getDescription(IWizardContext ctx)
getDescription in interface IWizardComponentctx - 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 IWizardComponentiPath - a component pathpublic String getPath()
getPath in interface IWizardComponentprotected Object getProperty(String key, IBasicEditingContext context)
key - a keycontext - the current contextprotected void setProperty(String key, Object value, IBasicEditingContext context)
key - a keyvalue - a value to setcontext - the current contextprotected void setTempProperty(String key, Object value, IBasicEditingContext context)
key - a keyvalue - a value to setcontext - the current contextpublic boolean isInitialized(IWizardContext context)
true).
Always returns true. Override this method if the component
requires dynamic initialization.isInitialized in interface IWizardComponentcontext - the current wizard contextpublic void init(IWizardContext context)
init in interface IWizardComponentcontext - the current wizard contextpublic void doBeforeDisplay(IWizardContext context)
myDoBeforeDisplay method, and then calls
doBeforeDisplay on all the wizard components within
the pane.
doBeforeDisplay in interface IWizardComponentcontext - the current wizard contextpublic com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.getDisplay in interface IWizardComponentcontext - the current wizard contextpublic void processInput(IWizardContext context)
myProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentcontext - the current wizard contextpublic void doAfterSubmit(IWizardContext context)
doAfterSubmit in interface IWizardComponentcontext - the current wizard contextpublic void wasChanged(IWizardContext context)
wasChanged in interface IDependencyObjectcontext - the current wizard contextpublic void clearIfInconsistent(String changedObject, IWizardContext context)
clearIfInconsistent in interface IDependencyObjectchangedObject - a changed objectcontext - the current wizard contextpublic boolean isComplete(IWizardContext context)
true).
The default implementation returns true.context - the current wizard contexttrue if there is input,
false no inputpublic List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentcontext - the current wizard contextpublic boolean isMandatory()
true).isMandatory in interface IWizardComponenttrue if it is mandatory,
false if notpublic void setMandatory(boolean iMandatory)
setMandatory in interface IWizardComponentiMandatory - true sets the component to mandatory,
false if not mandatorypublic com.sapportals.htmlb.Component getControlInFocus(IWizardContext ctx)
getControlInFocus in interface IWizardComponentctx - 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