com.sapportals.wcm.control.edit

Class ResourceHtmlEditControl

java.lang.Object
  extended by com.sapportals.wdf.stack.Control
      extended by com.sapportals.wcm.control.base.WcmBaseControl
          extended by com.sapportals.wcm.control.base.WcmResourceControl
              extended by com.sapportals.wcm.control.edit.ResourceHtmlEditControl
All Implemented Interfaces:
com.sapportals.wdf.event.WdfEventReceiver

public class ResourceHtmlEditControl
extends WcmResourceControl
implements com.sapportals.wdf.event.WdfEventReceiver

Copyright 2004 SAP AG


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sapportals.wcm.control.base.WcmResourceControl
WcmResourceControl.ResourceNotFoundException
 
Field Summary
static String CFG_PLUGIN_CM_EDITING
           
 
Fields inherited from class com.sapportals.wcm.control.base.WcmResourceControl
START_PAGE_BROWSE, START_PAGE_DETAILS, uri
 
Fields inherited from class com.sapportals.wcm.control.base.WcmBaseControl
BLANK_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
 
Fields inherited from class com.sapportals.wdf.stack.Control
id
 
Constructor Summary
ResourceHtmlEditControl()
           
ResourceHtmlEditControl(String controlID)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.sapportals.wcm.control.base.WcmResourceControl
checkArchivingStauts, getAOStates, getDetailsPageUri, getResource, getResourceLink, getResourceList, getSafeResource, getUri, setResource, setUri
 
Methods inherited from class com.sapportals.wcm.control.base.WcmBaseControl
getBaseBundleString, getBaseBundleString, getBaseBundleString, getBaseBundleString, getBundleString, getBundleString, getBundleString, getBundleString, getBusinessCardLink, getImage, getParameterConfiguration, getResourceContext, getServicePageUri, handleException, isSection508Rendering, isTestMode, isVisible, setControlContext, setResourceContext, setTestMode, setVisible
 
Methods inherited from class com.sapportals.wdf.stack.Control
create, create, createNestedControls, createUnequivocallyComponentId, dispatchHtmlbEvent, dispatchWdfEvent, getControlContext, getDynPage, getID, getParent, getPersistenceComponentManager, getRootControl, getStackId, initialize, initializeImpl, isInitialized, register, renderPersistentProperties, resetNestedControls, restorePersistentProperties, restoreProperties, setID, setInitialized, setParent, setStackId, triggerInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CFG_PLUGIN_CM_EDITING

public static final String CFG_PLUGIN_CM_EDITING
See Also:
Constant Field Values
Constructor Detail

ResourceHtmlEditControl

public ResourceHtmlEditControl()

ResourceHtmlEditControl

public ResourceHtmlEditControl(String controlID)
Method Detail

setStartUri

public void setStartUri(String input)

getStartUri

public String getStartUri()

setSelectionMode

public void setSelectionMode(int mode)

getSelectionMode

public int getSelectionMode()

setImageSelect

public void setImageSelect(String input)

getImageSelect

public String getImageSelect()

setImageTooltip

public void setImageTooltip(String input)

getImageTooltip

public String getImageTooltip()

setTargetName

public void setTargetName(String input)

getTargetName

public String getTargetName()

setTarget

public void setTarget(String input)

getTarget

public String getTarget()

setTargetDisplayName

public void setTargetDisplayName(String input)

getTargetDisplayName

public String getTargetDisplayName()

setText

public void setText(String input)

getText

public String getText()

setOldText

public void setOldText(String input)

getOldText

public String getOldText()

setOldId

public void setOldId(String input)

getOldId

public String getOldId()

setEditId

public void setEditId(String input)

getEditId

public String getEditId()

setInitialText

public void setInitialText(String input)

getInitialText

public String getInitialText()

setReadonly

public void setReadonly(boolean input)

getReadonly

public boolean getReadonly()

setShowButtons

public void setShowButtons(boolean input)

getShowButtons

public boolean getShowButtons()

setDoPrint

public void setDoPrint(boolean activate)

getDoPrint

public boolean getDoPrint()

setDoPreview

public void setDoPreview(boolean activate)

getDoPreview

public boolean getDoPreview()

setDoCutCopyPaste

public void setDoCutCopyPaste(boolean activate)

getDoCutCopyPaste

public boolean getDoCutCopyPaste()

setDoList

public void setDoList(boolean activate)

getDoList

public boolean getDoList()

setDoAlign

public void setDoAlign(boolean activate)

getDoAlign

public boolean getDoAlign()

setDoInOutdent

public void setDoInOutdent(boolean activate)

getDoInOutdent

public boolean getDoInOutdent()

setDoLink

public void setDoLink(boolean activate)

getDoLink

public boolean getDoLink()

setDoImage

public void setDoImage(boolean activate)

getDoImage

public boolean getDoImage()

setDoBold

public void setDoBold(boolean activate)

getDoBold

public boolean getDoBold()

setDoItalic

public void setDoItalic(boolean activate)

getDoItalic

public boolean getDoItalic()

setDoUnderline

public void setDoUnderline(boolean activate)

getDoUnderline

public boolean getDoUnderline()

setDoStrikethrough

public void setDoStrikethrough(boolean activate)

getDoStrikethrough

public boolean getDoStrikethrough()

setDoSuperSubScript

public void setDoSuperSubScript(boolean activate)

getDoSuperSubScript

public boolean getDoSuperSubScript()

setDoStyle

public void setDoStyle(boolean activate)

getDoStyle

public boolean getDoStyle()

setDoTextsize

public void setDoTextsize(boolean activate)

getDoTextsize

public boolean getDoTextsize()

setDoForeground

public void setDoForeground(boolean activate)

getDoForeground

public boolean getDoForeground()

setDoBackground

public void setDoBackground(boolean activate)

getDoBackground

public boolean getDoBackground()

setEditHeight

public void setEditHeight(String input)

getEditHeight

public String getEditHeight()

setEditWidth

public void setEditWidth(String input)

getEditWidth

public String getEditWidth()

setHorizontalScrollPosition

public void setHorizontalScrollPosition(int horizontalScrollPosition)

getHorizontalScrollPosition

public int getHorizontalScrollPosition()

setVerticalScrollPosition

public void setVerticalScrollPosition(int verticalScrollPosition)

getVerticalScrollPosition

public int getVerticalScrollPosition()

setExpandSize

public void setExpandSize(boolean isExpandSize)

getExpandSize

public boolean getExpandSize()

setSaveMode

public void setSaveMode(boolean useSaveMode)

isSaveMode

public boolean isSaveMode()

setHtmlEditDesign

public void setHtmlEditDesign(String editDesign)

setUsePortalStyle

public void setUsePortalStyle(boolean usePortalStyle)

isUsePortalStyle

public boolean isUsePortalStyle()

getHtmlEditDesign

public String getHtmlEditDesign()

setUseRelativeLinks

public void setUseRelativeLinks(boolean useRelativeLinks)

isUseRelativeLinks

public boolean isUseRelativeLinks()

render

public com.sapportals.htmlb.Component render()
                                      throws com.sapportals.wdf.WdfException
Specified by:
render in class com.sapportals.wdf.stack.Control
Throws:
com.sapportals.wdf.WdfException

onSave

public com.sapportals.wdf.event.WdfEvent onSave(com.sapportals.htmlb.event.Event event)
                                         throws WcmException
Throws:
WcmException

onCancel

public com.sapportals.wdf.event.WdfEvent onCancel(com.sapportals.htmlb.event.Event event)
                                           throws ResourceException
Throws:
ResourceException

onClickEvent

public com.sapportals.wdf.event.WdfEvent onClickEvent(com.sapportals.htmlb.event.Event event)
                                               throws WcmException
Throws:
WcmException

receive

public void receive(com.sapportals.wdf.event.WdfEvent cflEvent)
             throws com.sapportals.wdf.WdfException
Description copied from class: WcmResourceControl
reacts on CflResourceEvents and resets the present resource of the control. If controls want to implement a special treatment of these events they can implement this method themselves.

Specified by:
receive in interface com.sapportals.wdf.event.WdfEventReceiver
Overrides:
receive in class WcmResourceControl
Throws:
com.sapportals.wdf.WdfException

readEditText

public String readEditText()

readInputData

protected void readInputData()
Overrides:
readInputData in class WcmBaseControl
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice