|
SAP NetWeaver 7.30 (SP02) | |||||||||
| 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
public abstract class AbstractInputComponent
The base class that is a wrapper for an input component that is not supported by the framework.
| Field Summary | |
|---|---|
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. |
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
|---|---|
AbstractInputComponent()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
doAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VALUE
value
protected String valueTargetPath
null
public static final String INPUT_COMPONENT
input_component
public static final int DEFAULT_PADDING
2
protected String defaultCaption
protected String defaultTooltip
protected com.sapportals.htmlb.Component inputComponent
protected boolean filledIncompletely
false
protected com.sapportals.htmlb.Label label
protected int layout
VERTICAL_LAYOUT
protected int padding
DEFAULT_PADDING
protected String captionWidth
protected Object defaultValue
| Constructor Detail |
|---|
public AbstractInputComponent()
| Method Detail |
|---|
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 context
public 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 context
public String getTooltip(IWizardContext context)
context - the current wizard context
public void setCaption(String caption,
IWizardContext context)
caption - a captioncontext - the current wizard context
public 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 context
public com.sapportals.htmlb.Component getInputComponentGeneric(IBasicEditingContext ctx)
ctx - the current editing context
public 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 context
public void setLayout(int iLayout)
iLayout - a layoutpublic void setCustomErrorMessage(String errorMessage)
errorMessage - an error messagepublic String getMissingFieldErrorMessage(IBasicEditingContext context)
context - the current editing context
public List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentgetErrorMessages in class AbstractWizardComponentcontext - the current wizard context
public void setCaptionWidth(String iCaptionWidth)
iCaptionWidth - a width
public 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 context
true if there is input,
false no inputprotected abstract com.sapportals.htmlb.Component createInputComponent(IBasicEditingContext ctx)
ctx - the current editing context
public 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]
|
api
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com]
|
-
|
EP-PIN-APF
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.30 (SP02) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||