public class PropertyEditorComponent extends AbstractWizardComponent
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT| Constructor and Description |
|---|
PropertyEditorComponent(String objectId,
boolean readOnly,
String resetEventName)
A constructor that sets an object ID, indicates whether the property
editor is read-only, and sets a reset event name.
|
| Modifier and Type | Method and Description |
|---|---|
com.sapportals.htmlb.Component |
getDisplay(IWizardContext context)
Gets the HTMLB component to display.
|
String |
getObjectId()
Gets the ID of the object edited by the property editor.
|
static String |
getPEErrorMessage(IBasicEditingContext context)
Gets the error message for the property editor.
|
static com.sap.portal.admin.propertyeditor.api.PEState |
getPEState(IBasicEditingContext context)
Gets the state of the property editor that was saved in the context.
|
protected com.sap.portal.admin.propertyeditor.api.IPropertyEditor |
getPropertyEditor(IWizardContext context)
Gets the property editor object.
|
int |
getWidth(IWizardContext context)
Gets the width of the property editor.
|
boolean |
isReadOnly()
Indicates whether this property editor is read-only.
|
void |
processInput(IWizardContext context)
Saves to the data model the values entered into wizard controls by the
administrator.
|
void |
setObjectId(String objectId,
IWizardContext context)
Sets an ID for the object edited by the property editor.
|
void |
setReadOnly(boolean b)
Sets the property editor as read-only.
|
clearIfInconsistent, doAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getErrorMessages, getPath, getProperty, getTitle, init, isComplete, isInitialized, isMandatory, setMandatory, setPath, setProperty, setTempProperty, setupComponent, wasChangedpublic PropertyEditorComponent(String objectId, boolean readOnly, String resetEventName)
objectId - the object IDreadOnly - true to indicate that this
property editor is read-only,
false if notresetEventName - the name of the event that triggers a resetpublic com.sapportals.htmlb.Component getDisplay(IWizardContext context)
AbstractWizardComponentAbstractDisplayComponent or
AbstractInputComponent. The default implementation
returns null.getDisplay in interface IWizardComponentgetDisplay in class AbstractWizardComponentcontext - the current wizard contextpublic void setObjectId(String objectId, IWizardContext context)
objectId - the object IDcontext - the wizard contextpublic String getObjectId()
public static String getPEErrorMessage(IBasicEditingContext context)
context - the editing contextpublic static com.sap.portal.admin.propertyeditor.api.PEState getPEState(IBasicEditingContext context)
context - the editing contextpublic void setReadOnly(boolean b)
b - true if this property editor is read-only,
false if notpublic boolean isReadOnly()
true if this property editor is read-only,
false if notpublic int getWidth(IWizardContext context)
context - the current wizard contextpublic void processInput(IWizardContext context)
AbstractWizardComponentmyProcessInput method, and then calls
processInput on all the wizard components within the pane.
processInput in interface IWizardComponentprocessInput in class AbstractWizardComponentcontext - the current wizard contextprotected com.sap.portal.admin.propertyeditor.api.IPropertyEditor getPropertyEditor(IWizardContext context)
context - the current wizard context| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/admin/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice