|
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
com.sap.portal.admin.studio.PropertyEditorComponent
public class PropertyEditorComponent
The class that represents the property editor component. This component renders the property editor and handles its events.
| Field Summary |
|---|
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
|---|
clearIfInconsistent, doAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getErrorMessages, getPath, getProperty, getTitle, init, isComplete, isInitialized, isMandatory, setMandatory, setPath, setProperty, setTempProperty, setupComponent, wasChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 reset| Method Detail |
|---|
public 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 context
public void setObjectId(String objectId,
IWizardContext context)
objectId - the object IDcontext - the wizard contextpublic String getObjectId()
public static String getPEErrorMessage(IBasicEditingContext context)
context - the editing context
public static com.sap.portal.admin.propertyeditor.api.PEState getPEState(IBasicEditingContext context)
context - the editing context
public 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 context
public 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
|
|
SAP NetWeaver 7.30 SP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||