|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.HtmlEdit
An editable TextArea
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
HtmlEdit(String name)
Creates a html editor control |
|
| Method Summary | |
String |
getAccessibilityDescription()
Get the semantical description of the component in it's applicationcontext used by screenreaders |
String |
getAccessibilityInputPaneDescription()
Get the semantical description of the editor's input pane used by screenreaders |
HtmlEditDesign |
getDesignConfiguration()
Get the assigned design configuration. |
boolean |
getDoAlign()
Is the "Alignment"-Function activated / deactivated - Left, Center, Right |
boolean |
getDoBackground()
Is the "Background"-Function activated / deactivated |
boolean |
getDoBold()
Is the "Bold"-Function activated / deactivated |
boolean |
getDoCutCopyPaste()
Is the "Cut, Copy, Paste"-Function activated / deactivated |
boolean |
getDoDeleteTableColumn()
Is the "Delete Table Column"-Function activated / deactivated |
boolean |
getDoDeleteTableRow()
Is the "Delete Table Row"-Function activated / deactivated |
boolean |
getDoEditorsize()
Is the "Editorsize"-Function activated / deactivated |
boolean |
getDoForeground()
Is the "Foreground"-Function activated / deactivated |
boolean |
getDoImage()
Is the "Insert Image/Link"-Function activated / deactivated |
boolean |
getDoInOutdent()
Is the "In/Outdent"-Function activated / deactivated |
boolean |
getDoInsertDateAndTime()
Is the Date & Time-Function activated / deactivated |
boolean |
getDoInsertExpander()
Is the Size Expander activated / deactivated |
boolean |
getDoInsertTable()
Is the "Insert Table"-Function activated / deactivated |
boolean |
getDoInsertTableColumn()
Is the "Insert Table Column"-Function activated / deactivated |
boolean |
getDoInsertTableRow()
Is the "Insert Table Row"-Function activated / deactivated |
boolean |
getDoItalic()
Is the "Italic"-Function activated / deactivated |
boolean |
getDoJoinTableCell()
Is the "Join Table Cell"-Function activated / deactivated |
boolean |
getDoJoinTableRow()
Is the "Join Table Row"-Function activated / deactivated |
boolean |
getDoLink()
Is the "Insert Link"-Function activated / deactivated |
boolean |
getDoLinkKM()
Is the "Insert Link" KM-Function activated / deactivated |
boolean |
getDoList()
Is the "List"-Function activated / deactivated - numbered and bullited List |
boolean |
getDoModifyTableColor()
Is the "Modify Table Color"-Function activated / deactivated |
boolean |
getDoModifyTableProperties()
Is the "Modify Table Properties"-Function activated / deactivated |
boolean |
getDoPreview()
Is the Preview-Function activated / deactivated |
boolean |
getDoPrint()
Is the Print-Function activated / deactivated |
boolean |
getDoStrikethrough()
Is the "Strikethrough"-Function activated / deactivated |
boolean |
getDoStyle()
Is the "Style"-Function activated / deactivated |
boolean |
getDoSuperSubScript()
Is the "SuperSubscript"-Function activated / deactivated |
boolean |
getDoTextsize()
Is the "Textsize"-Function activated / deactivated |
boolean |
getDoUnderline()
Is the "Underline"-Function activated / deactivated |
boolean |
getDoUsePortalStyle()
Is the Use Portal Style Function activated / deactivated |
String |
getHeight()
Gets the height of the HtmlEdit control |
int |
getHorizontalScrollPosition()
Get the horizontal scrolling position of the editor scrollContainer. |
String |
getImageHeight()
Gets the HEIGHT of an Image to be overwritten |
String |
getImageSrc()
Gets the SRC of an Image to be overwritten |
String |
getImageTooltip()
Gets the ALT Parameter (Tooltip)of Image to be overwritten |
String |
getImageWidth()
Gets the WIDTH of an Image to be overwritten |
boolean |
getInsertHorizontalLine()
Is the "Insert Horizontal Line"-Function activated / deactivated |
boolean |
getInsertSpecialCharacter()
Is the "Insert Special Character"-Function activated / deactivated |
String |
getLinkTarget()
Gets the Target of a Link to be inserted (or a Link to be overwritten) |
String |
getLinkText()
Gets the Text of Link to be inserted (or a Link to be overwritten) |
String |
getLinkURL()
Gets the Target of a Link to be inserted (or a Link to be overwritten) |
String |
getOldId()
Gets the oldId attribute of the HtmlEdit control |
String |
getOldText()
Gets the old content of the control (before starting the insert of a Link / Image) |
String |
getOnDeleteTableColumn()
Gets the Callback Method to be called if "DeleteTableColumn"-Function is activated |
String |
getOnDeleteTableRow()
Gets the Callback Method to be called if "DeleteTableRow"-Function is activated |
String |
getOnInsertImage()
Gets the the Callback Method to be called if "InsertImage"-Function is activated |
String |
getOnInsertLink()
Gets the Callback Method to be called if "InsertLink"-Function is activated |
String |
getOnInsertTable()
Gets the Callback Method to be called if "InsertTable"-Function is activated |
String |
getOnInsertTableColumn()
Gets the Callback Method to be called if "InsertTableColumn"-Function is activated |
String |
getOnInsertTableRow()
Gets the Callback Method to be called if "InsertTableRow"-Function is activated |
String |
getRedoBuffer()
Get the actual user's redo buffer. |
String |
getSelectedScreenSize()
Gets the previous screen size of the editor |
String |
getText()
Gets the text attribute of the HtmlEdit object |
String |
getUI()
Get unique component ID for a HtmlEdit |
String |
getUndoBuffer()
Get the actual user's undo buffer. |
int |
getVerticalScrollPosition()
Get the vertical scrolling position of the editor. |
String |
getWidth()
Gets the width of the HtmlEdit control |
protected void |
initFromPageContext(IPageContext pc,
String baseId)
DoInitialisation from PageContext |
boolean |
isEditable()
Get if the editor is in editable mode. |
boolean |
isExpandSize()
Get if the editor is horizontal expanded. |
void |
setAccessibilityDescription(String accessibilityDescription)
Sets the sematical description for the component in it's applicationcontext used by screenreaders |
void |
setAccessibilityInputPaneDescription(String accessibilityDescription)
Sets the sematical description for the editor's input pane used by screenreaders |
void |
setDesignConfiguration(HtmlEditDesign design)
Sets the html editor design to use |
void |
setDoAlign(boolean activate)
Activate / Deactivate "Alignment" Function - Left, Center, Right |
void |
setDoBackground(boolean activate)
Activate / Deactivate "Background" Function |
void |
setDoBold(boolean activate)
Activate / Deactivate "Bold" Function |
void |
setDoCutCopyPaste(boolean activate)
Activate / Deactivate "Cut, Copy, Paste" Function |
void |
setDoDeleteTableColumn(boolean activate)
Activate / Deactivate "Delete Table Column" Function |
void |
setDoDeleteTableRow(boolean activate)
Activate / Deactivate "Delete Table Row" Function |
void |
setDoEditorsize(boolean activate)
Activate / Deactivate "Editorsize" Function |
void |
setDoForeground(boolean activate)
Activate / Deactivate "Foreground" Function |
void |
setDoImage(boolean activate)
Activate / Deactivate "Insert Image" Function |
void |
setDoInOutdent(boolean activate)
Activate / Deactivate "In/Outdent" Function |
void |
setDoInsertDateAndTime(boolean activate)
Activate / Deactivate Date & Time Function |
void |
setDoInsertExpander(boolean activate)
Activate / Deactivate the size expander |
void |
setDoInsertTable(boolean activate)
Activate / Deactivate "Insert Table" Function |
void |
setDoInsertTableColumn(boolean activate)
Activate / Deactivate "Insert Table Column" Function |
void |
setDoInsertTableRow(boolean activate)
Activate / Deactivate "Insert Table Row" Function |
void |
setDoItalic(boolean activate)
Activate / Deactivate "Italic" Function |
void |
setDoJoinTableCell(boolean activate)
Activate / Deactivate "Join Table Cell" Function |
void |
setDoJoinTableRow(boolean activate)
Activate / Deactivate "Join Table Row" Function |
void |
setDoLink(boolean activate)
Activate / Deactivate "Insert Link WEB" Function |
void |
setDoLinkKM(boolean activate)
Activate / Deactivate "Insert Link KM" Function |
void |
setDoList(boolean activate)
Activate / Deactivate "List" Function - numbered and bullited List |
void |
setDoModifyTableColor(boolean activate)
Activate / Deactivate "Modify Table Color" Function |
void |
setDoModifyTableProperties(boolean activate)
Activate / Deactivate "Modify Table Properties" Function |
void |
setDoPreview(boolean activate)
Activate / Deactivate Preview Function |
void |
setDoPrint(boolean activate)
Activate / Deactivate Print Function |
void |
setDoStrikethrough(boolean activate)
Activate / Deactivate "Strikethrough" Function |
void |
setDoStyle(boolean activate)
Activate / Deactivate "Style" Function |
void |
setDoSuperSubScript(boolean activate)
Activate / Deactivate "Super/Sub - script" Function |
void |
setDoTextsize(boolean activate)
Activate / Deactivate "Textsize" Function |
void |
setDoUnderline(boolean activate)
Activate / Deactivate "Underline" Function |
void |
setDoUsePortalStyle(boolean activate)
Activate / Deactivate Use Portal Style Function |
void |
setEditable(boolean editable)
Set if the editor is in editable mode. |
void |
setExpandSize(boolean expanded)
Set the horizontal expanded state. |
void |
setHeight(String height)
Sets the height of the HtmlEdit control |
void |
setHorizontalScrollPosition(int horizontalPosition)
Set the horizontal scrolling position of the editor. |
void |
setImageHeight(String height)
Sets the HEIGHT of an Image to be inserted |
void |
setImageSrc(String image)
Sets the SRC of an Image to be inserted |
void |
setImageTooltip(String tooltip)
Sets ALT Parameter (Tooltip)of Image to be inserted |
void |
setImageWidth(String width)
Sets the WIDTH of an Image to be inserted |
void |
setInsertHorizontalLine(boolean activate)
Activate / Deactivate "Insert Horizontal Line" Function |
void |
setInsertSpecialCharacter(boolean activate)
Activate / Deactivate "Insert Special Character" Function |
void |
setLinkTarget(String target)
Sets the Target of a Link to be inserted |
void |
setLinkText(String link)
Sets the Text of a Link to be inserted |
void |
setLinkURL(String link)
Sets the HREF of a Link to be inserted |
void |
setOldId(String input)
Sets the oldId attribute of the HtmlEdit control |
void |
setOldText(String input)
Sets the previous content of the Control (before starting the insert of a Link / Image) |
void |
setOnDeleteTableColumn(String action)
Sets the Callback Method to be called if "DeleteTableColumn"-Function is activated |
void |
setOnDeleteTableRow(String action)
Sets the Callback Method to be called if "DeleteTableRow"-Function is activated |
void |
setOnInsertImage(String action)
Sets the the Callback Method to be called if "InsertImage"-Function is activated |
void |
setOnInsertLink(String action)
Sets the Callback Method to be called if "InsertLink"-Function is activated |
void |
setOnInsertTable(String action)
Sets the Callback Method to be called if "InsertTable"-Function is activated |
void |
setOnInsertTableColumn(String action)
Sets the Callback Method to be called if "InsertTableColumn"-Function is activated |
void |
setOnInsertTableRow(String action)
Sets the Callback Method to be called if "InsertTableRow"-Function is activated |
void |
setRedoBuffer(String buffer)
Set the redo of the actual user |
void |
setSelectedScreenSize(String size)
Sets the previous screen size of the editor |
void |
setText(String input)
Sets the content of Control |
void |
setUndoBuffer(String buffer)
Set the undo of the actual user |
void |
setVerticalScrollPosition(int verticalPosition)
Set the vertical scrolling position of the editor. |
void |
setWidth(String width)
Sets the width of the HtmlEdit control |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public HtmlEdit(String name)
name - Name of HtmlEdit| Method Detail |
public String getUI()
getUI in class Componentpublic void setText(String input)
input - content of controlpublic String getText()
public void setOldId(String input)
input - ID of the Control that was displayed previous
(only for internal use)public String getOldId()
public void setHeight(String height)
height - The new height valuepublic String getHeight()
public void setWidth(String width)
width - The new width valuepublic String getWidth()
public void setOldText(String input)
input - The old contentpublic String getOldText()
public void setSelectedScreenSize(String size)
public String getSelectedScreenSize()
public void setLinkTarget(String target)
target - the TARGET of a Linkpublic String getLinkTarget()
public void setLinkURL(String link)
link - HREF of a Linkpublic String getLinkURL()
public void setLinkText(String link)
link - HREF of a Linkpublic String getLinkText()
public void setImageSrc(String image)
image - SRC of the Imagepublic String getImageSrc()
public void setImageHeight(String height)
height - HEIGHT of an Imagepublic String getImageHeight()
public void setImageWidth(String width)
width - WIDTH of an Imagepublic String getImageWidth()
public void setImageTooltip(String tooltip)
tooltip - ALT Parameter (Tooltip) of the Imagepublic String getImageTooltip()
public void setDoPrint(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoPrint()
public void setDoPreview(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoPreview()
public void setDoInsertDateAndTime(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoInsertDateAndTime()
public void setDoCutCopyPaste(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoCutCopyPaste()
public void setDoList(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoList()
public void setDoAlign(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoAlign()
public void setDoInOutdent(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoInOutdent()
public void setDoLink(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoLink()
public void setDoInsertTable(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoInsertTable()
public void setDoInsertTableColumn(boolean activate)
activate - Activate / Deactivate Functionpublic void setDoInsertTableRow(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoInsertTableColumn()
public void setDoDeleteTableColumn(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoInsertTableRow()
public void setDoDeleteTableRow(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoJoinTableCell()
public void setDoJoinTableCell(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoJoinTableRow()
public void setDoJoinTableRow(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoModifyTableColor()
public void setDoModifyTableColor(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoModifyTableProperties()
public void setDoModifyTableProperties(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getInsertSpecialCharacter()
public void setInsertSpecialCharacter(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoDeleteTableColumn()
public boolean getDoDeleteTableRow()
public void setDoLinkKM(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoLinkKM()
public void setDoImage(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoImage()
public boolean getInsertHorizontalLine()
public void setInsertHorizontalLine(boolean activate)
activate - Activate / Deactivate Functionpublic void setDoBold(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoBold()
public void setDoItalic(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoItalic()
public void setDoUnderline(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoUnderline()
public void setDoStrikethrough(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoStrikethrough()
public void setDoSuperSubScript(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoSuperSubScript()
public void setDoStyle(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoStyle()
public void setDoTextsize(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoTextsize()
public void setDoEditorsize(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoEditorsize()
public void setDoForeground(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoForeground()
public void setDoBackground(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoBackground()
public void setOnInsertLink(String action)
action - name of methodpublic String getOnInsertLink()
public void setOnInsertTable(String action)
action - name of methodpublic void setOnInsertTableRow(String action)
action - name of methodpublic String getOnInsertTableRow()
public void setOnDeleteTableRow(String action)
action - name of methodpublic String getOnDeleteTableRow()
public void setOnInsertTableColumn(String action)
action - name of methodpublic String getOnInsertTableColumn()
public void setOnDeleteTableColumn(String action)
action - name of methodpublic String getOnDeleteTableColumn()
public String getOnInsertTable()
public void setOnInsertImage(String action)
action - name of Methodpublic String getOnInsertImage()
protected void initFromPageContext(IPageContext pc,
String baseId)
initFromPageContext in class Componentpc - PageContextbaseId - ID of Controlpublic String getAccessibilityDescription()
public void setAccessibilityDescription(String accessibilityDescription)
accessibilityDescription - description textpublic HtmlEditDesign getDesignConfiguration()
public void setDesignConfiguration(HtmlEditDesign design)
public int getVerticalScrollPosition()
public void setVerticalScrollPosition(int verticalPosition)
verticalPosition - the vertical scrolling position of the editorpublic int getHorizontalScrollPosition()
public void setHorizontalScrollPosition(int horizontalPosition)
horizontalPosition - the horizontal scrolling position of the editorpublic String getUndoBuffer()
public void setUndoBuffer(String buffer)
public String getRedoBuffer()
public void setRedoBuffer(String buffer)
public boolean isExpandSize()
public void setExpandSize(boolean expanded)
expanded - statepublic void setEditable(boolean editable)
editable - public boolean isEditable()
public String getAccessibilityInputPaneDescription()
public void setAccessibilityInputPaneDescription(String accessibilityDescription)
accessibilityDescription - description textpublic void setDoUsePortalStyle(boolean activate)
activate - Activate / Deactivate Functionpublic boolean getDoUsePortalStyle()
public void setDoInsertExpander(boolean activate)
activate - Activate / Deactivatepublic boolean getDoInsertExpander()
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||