public class ResourceHtmlEditControl extends WcmResourceControl implements com.sapportals.wdf.event.WdfEventReceiver
WcmResourceControl.ResourceNotFoundException| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_PLUGIN_CM_EDITING |
START_PAGE_BROWSE, START_PAGE_DETAILS, uriBLANK_LINK_TARGET, CELL_PADDING_STANDARD, CELL_SPACING_STANDARD, CONTROL_HEADER_STANDARD, DETAILS_CONFIG_FILE, NONE, RES_BUTTON_ADD, RES_BUTTON_APPLY, RES_BUTTON_BACK, RES_BUTTON_CANCEL, RES_BUTTON_CLOSE, RES_BUTTON_LOAD, RES_BUTTON_MORE, RES_BUTTON_OK, RES_BUTTON_REMOVE, RES_BUTTON_SAVE, RES_BUTTON_SELECT, RES_BUTTON_UPDATE, resourceContext, SUMMARY| Constructor and Description |
|---|
ResourceHtmlEditControl() |
ResourceHtmlEditControl(String controlID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDoAlign() |
boolean |
getDoBackground() |
boolean |
getDoBold() |
boolean |
getDoCutCopyPaste() |
boolean |
getDoForeground() |
boolean |
getDoImage() |
boolean |
getDoInOutdent() |
boolean |
getDoItalic() |
boolean |
getDoLink() |
boolean |
getDoList() |
boolean |
getDoPreview() |
boolean |
getDoPrint() |
boolean |
getDoStrikethrough() |
boolean |
getDoStyle() |
boolean |
getDoSuperSubScript() |
boolean |
getDoTextsize() |
boolean |
getDoUnderline() |
String |
getEditHeight() |
String |
getEditId() |
String |
getEditWidth() |
boolean |
getExpandSize() |
int |
getHorizontalScrollPosition() |
String |
getHtmlEditDesign() |
String |
getImageSelect() |
String |
getImageTooltip() |
String |
getInitialText() |
String |
getOldId() |
String |
getOldText() |
boolean |
getReadonly() |
int |
getSelectionMode() |
boolean |
getShowButtons() |
String |
getStartUri() |
String |
getTarget() |
String |
getTargetDisplayName() |
String |
getTargetName() |
String |
getText() |
int |
getVerticalScrollPosition() |
boolean |
isSaveMode() |
boolean |
isUsePortalStyle() |
boolean |
isUseRelativeLinks() |
com.sapportals.wdf.event.WdfEvent |
onCancel(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onClickEvent(com.sapportals.htmlb.event.Event event) |
com.sapportals.wdf.event.WdfEvent |
onSave(com.sapportals.htmlb.event.Event event) |
String |
readEditText() |
protected void |
readInputData() |
void |
receive(com.sapportals.wdf.event.WdfEvent cflEvent)
Reacts on CflResourceEvents and resets the present resource of the
control.
|
com.sapportals.htmlb.Component |
render() |
void |
setDoAlign(boolean activate) |
void |
setDoBackground(boolean activate) |
void |
setDoBold(boolean activate) |
void |
setDoCutCopyPaste(boolean activate) |
void |
setDoForeground(boolean activate) |
void |
setDoImage(boolean activate) |
void |
setDoInOutdent(boolean activate) |
void |
setDoItalic(boolean activate) |
void |
setDoLink(boolean activate) |
void |
setDoList(boolean activate) |
void |
setDoPreview(boolean activate) |
void |
setDoPrint(boolean activate) |
void |
setDoStrikethrough(boolean activate) |
void |
setDoStyle(boolean activate) |
void |
setDoSuperSubScript(boolean activate) |
void |
setDoTextsize(boolean activate) |
void |
setDoUnderline(boolean activate) |
void |
setEditHeight(String input) |
void |
setEditId(String input) |
void |
setEditWidth(String input) |
void |
setExpandSize(boolean isExpandSize) |
void |
setHorizontalScrollPosition(int horizontalScrollPosition) |
void |
setHtmlEditDesign(String editDesign) |
void |
setImageSelect(String input) |
void |
setImageTooltip(String input) |
void |
setInitialText(String input) |
void |
setOldId(String input) |
void |
setOldText(String input) |
void |
setReadonly(boolean input) |
void |
setSaveMode(boolean useSaveMode) |
void |
setSelectionMode(int mode) |
void |
setShowButtons(boolean input) |
void |
setStartUri(String input) |
void |
setTarget(String input) |
void |
setTargetDisplayName(String input) |
void |
setTargetName(String input) |
void |
setText(String input) |
void |
setUsePortalStyle(boolean usePortalStyle) |
void |
setUseRelativeLinks(boolean useRelativeLinks) |
void |
setVerticalScrollPosition(int verticalScrollPosition) |
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUrigetBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisiblecreate, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInputpublic static final String CFG_PLUGIN_CM_EDITING
public ResourceHtmlEditControl()
public ResourceHtmlEditControl(String controlID)
public void setStartUri(String input)
public String getStartUri()
public void setSelectionMode(int mode)
public int getSelectionMode()
public void setImageSelect(String input)
public String getImageSelect()
public void setImageTooltip(String input)
public String getImageTooltip()
public void setTargetName(String input)
public String getTargetName()
public void setTarget(String input)
public String getTarget()
public void setTargetDisplayName(String input)
public String getTargetDisplayName()
public void setText(String input)
public String getText()
public void setOldText(String input)
public String getOldText()
public void setOldId(String input)
public String getOldId()
public void setEditId(String input)
public String getEditId()
public void setInitialText(String input)
public String getInitialText()
public void setReadonly(boolean input)
public boolean getReadonly()
public void setShowButtons(boolean input)
public boolean getShowButtons()
public void setDoPrint(boolean activate)
public boolean getDoPrint()
public void setDoPreview(boolean activate)
public boolean getDoPreview()
public void setDoCutCopyPaste(boolean activate)
public boolean getDoCutCopyPaste()
public void setDoList(boolean activate)
public boolean getDoList()
public void setDoAlign(boolean activate)
public boolean getDoAlign()
public void setDoInOutdent(boolean activate)
public boolean getDoInOutdent()
public void setDoLink(boolean activate)
public boolean getDoLink()
public void setDoImage(boolean activate)
public boolean getDoImage()
public void setDoBold(boolean activate)
public boolean getDoBold()
public void setDoItalic(boolean activate)
public boolean getDoItalic()
public void setDoUnderline(boolean activate)
public boolean getDoUnderline()
public void setDoStrikethrough(boolean activate)
public boolean getDoStrikethrough()
public void setDoSuperSubScript(boolean activate)
public boolean getDoSuperSubScript()
public void setDoStyle(boolean activate)
public boolean getDoStyle()
public void setDoTextsize(boolean activate)
public boolean getDoTextsize()
public void setDoForeground(boolean activate)
public boolean getDoForeground()
public void setDoBackground(boolean activate)
public boolean getDoBackground()
public void setEditHeight(String input)
public String getEditHeight()
public void setEditWidth(String input)
public String getEditWidth()
public void setHorizontalScrollPosition(int horizontalScrollPosition)
public int getHorizontalScrollPosition()
public void setVerticalScrollPosition(int verticalScrollPosition)
public int getVerticalScrollPosition()
public void setExpandSize(boolean isExpandSize)
public boolean getExpandSize()
public void setSaveMode(boolean useSaveMode)
public boolean isSaveMode()
public void setHtmlEditDesign(String editDesign)
public void setUsePortalStyle(boolean usePortalStyle)
public boolean isUsePortalStyle()
public String getHtmlEditDesign()
public void setUseRelativeLinks(boolean useRelativeLinks)
public boolean isUseRelativeLinks()
public com.sapportals.htmlb.Component render()
throws com.sapportals.wdf.WdfException
render in class com.sapportals.wdf.stack.Controlcom.sapportals.wdf.WdfExceptionpublic com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
throws ResourceException
ResourceExceptionpublic com.sapportals.wdf.event.WdfEvent onClickEvent(com.sapportals.htmlb.event.Event event)
throws WcmException
WcmExceptionpublic void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
throws com.sapportals.wdf.WdfException
WcmResourceControlreceive in interface com.sapportals.wdf.event.WdfEventReceiverreceive in class WcmResourceControlcflEvent - the eventcom.sapportals.wdf.WdfException - if an error occurspublic String readEditText()
protected void readInputData()
readInputData in class WcmBaseControl| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com]
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice