|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
public class AbstractWizardComponent
The base class that represents a wizard component. This is the default
component implementation all wizard components should inherit.
It provides default implementations for all the functions in
IWizardComponent while not defining any individual behavior.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AbstractWizardComponent()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERTICAL_LAYOUT
public static final int HORIZONTAL_LAYOUT
| Constructor Detail |
|---|
public AbstractWizardComponent()
| Method Detail |
|---|
public void setupComponent(IWizardContext ctx)
setupComponent in interface IWizardComponentctx - the current wizard contextpublic String getTitle(IWizardContext ctx)
getTitle in interface IWizardComponentctx - the current wizard context
public String getDescription(IWizardContext ctx)
getDescription in interface IWizardComponentctx - the current wizard context
public 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 IWizardComponent
protected Object getProperty(String key,
IBasicEditingContext context)
key - a keycontext - the current context
protected void setProperty(String key,
Object value,
IBasicEditingContext context)
key - a keyvalue - a value to setcontext - the current context
protected 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 context
true
public 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 context
public 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 context
public 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 context
true if there is input,
false no inputpublic List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentcontext - the current wizard context
public 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] tc/ep/admin/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||