|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--com.sssw.rt.atlas.AtPanel | +--com.sssw.rt.rtcontrol.RTScrollPanel | +--com.sssw.rt.rteditor.RTEditor | +--com.sssw.rt.form.AgcHTMLEditControl
The AgcHTMLEditControl (HTML Edit Control) is an HTML editor for creating and maintaining HTML content on a SilverStream form. It is not necessary to know HTML to use this control.
Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Field Summary | |
static Integer |
ALIGN_BOTTOM
Symbolic value for VALIGN=BOTTOM. |
static Integer |
ALIGN_CENTER
Symbolic value for ALIGN=CENTER. |
static Integer |
ALIGN_LEFT
Symbolic value for ALIGN=LEFT. |
static Integer |
ALIGN_MIDDLE
Symbolic value for VALIGN=MIDDLE. |
static Integer |
ALIGN_NONE
Symbolic value for no alignment. |
static Integer |
ALIGN_RIGHT
Symbolic value for ALIGN=RIGHT. |
static Integer |
ALIGN_TOP
Symbolic value for VALIGN=TOP. |
static String |
CELL_BGCOLOR
Property name for the background color of the table cell. |
static String |
CELL_BGIMAGE
Property name for the background image of the table cell. |
static String |
CELL_BGTRANSPARENT
Property name for the background transparency flag of the table cell. |
static String |
CELL_HEADERCELL
Property name for the header flag of the table cell. |
static String |
CELL_HORIZONTALALIGNMENT
Property name for the default paragraph alignment of the table cell. |
static String |
CELL_VERTICALALIGNMENT
Property name for the vertical alignment of paragraphs of the table cell. |
static String |
CELL_WRAPTEXT
Property name for the wrap text flag of the table cell. |
static String |
EDITOR_CONTEXT
Property name for the context base. |
static String |
HOTSPOT_HEIGHT
Property name for the height of the hotspot. |
static String |
HOTSPOT_LINKFRAME
Property name for the frame. |
static String |
HOTSPOT_LINKURL
Property name for the URL of the hotspot. |
static String |
HOTSPOT_WIDTH
Property name for the width of the hotspot. |
static String |
HOTSPOT_XPOS
Property name for the xpos of the hotspot. |
static String |
HOTSPOT_YPOS
Property name for the ypos of the hotspot. |
static String |
IMAGE_ALIGNMENT
Property name for the alignment of the image. |
static String |
IMAGE_BORDERSIZE
Property name for the size of the border of the image. |
static String |
IMAGE_HEIGHT
Property name for the height of the image. |
static String |
IMAGE_HORIZSPACE
Property name for the horizontal spacing of the image. |
static String |
IMAGE_LINKFRAME
Property name for the target frame of the default URL. |
static String |
IMAGE_LINKURL
Property name for the default URL of the image. |
static String |
IMAGE_SOURCE
Property name for the source of the image. |
static String |
IMAGE_SPECIFYSIZE
Property name for the specify size flag of the image. |
static String |
IMAGE_VERTSPACE
Property name for the vertical spacing of the image. |
static String |
IMAGE_WIDTH
Property name for the width of the image. |
static String |
LINE_ALIGNMENT
Property name for the line alignment. |
static String |
LINE_COLOR
Property name for the line color. |
static String |
LINE_HEIGHT
Property name for the line height. |
static String |
LINE_ISSOLID
Property name for the is-solid flag. |
static String |
LINE_WIDTH
Property name for line width. |
static String |
LINE_WIDTH_UNITS
Property name for the line width units. |
static String |
PAGE_ALINKCOLOR
Property name for the active link color. |
static String |
PAGE_BGCOLOR
Property name for the page background color. |
static String |
PAGE_BGIMAGE
Property name for the page background image. |
static String |
PAGE_BGSOUND
Property name for the page background sound. |
static String |
PAGE_BGSOUND_CONTINUOUS
Property name for the page background sound continuous count. |
static String |
PAGE_BGSOUND_LOOPCOUNT
Property name for the page background sound loop count. |
static String |
PAGE_LINKCOLOR
Property name for the link color. |
static String |
PAGE_SPECIFYBG
Property name for the page 'specify background' flag. |
static String |
PAGE_TEXTCOLOR
Property name for the text color. |
static String |
PAGE_TITLE
Property name for the page title. |
static String |
PAGE_VLINKCOLOR
Property name for the 'visited' link color. |
static String |
PARAGRAPH_ALIGNMENT
Property name for the paragraph alignment. |
static String |
PARAGRAPH_LISTSTYLE
Property name for the list style. |
static String |
PARAGRAPH_STYLENAME
Property name for the paragraph style. |
static String |
TABLE_ALIGNMENT
Property name for the alignment of the table. |
static String |
TABLE_BGCOLOR
Property name for the background color of the table. |
static String |
TABLE_BGIMAGE
Property name for the background image of the table. |
static String |
TABLE_BGTRANSPARENT
Property name for the background transparency flag of the table. |
static String |
TABLE_BORDERCOLOR
Property name for the border color of the table. |
static String |
TABLE_BORDERSIZE
Property name for the border size of the table. |
static String |
TABLE_CELLPADDING
Property name for the cell padding of the table. |
static String |
TABLE_CELLSPACING
Property name for the cell spacing of the table. |
static String |
TABLE_MINWIDTH
Property name for the minimum width of the table. |
static String |
TABLE_MINWIDTHUNITS
Property name for the unit in which the minimum width of the table is specified. |
static String |
TEXT_ANCHOR
Property name for the anchor associated with the text. |
static String |
TEXT_ANCHORTARGET
Property name for the anchor target. |
static String |
TEXT_BLINK
Property name for the blink flag of the text. |
static String |
TEXT_BOLD
Property name for the bold flag. |
static String |
TEXT_COLOR
Property name for the color of the text. |
static String |
TEXT_FONTNAME
Property name for the name of the font. |
static String |
TEXT_FONTSIZE
Property name for the size of the text. |
static String |
TEXT_FONTSTYLE
Property name for the style of the text. |
static String |
TEXT_ITALIC
Property name for the italic flag. |
static String |
TEXT_STRIKETHROUGH
Property name for the strikethrough flag of the text. |
static String |
TEXT_SUBSCRIPT
Property name for the subscript flag of the text. |
static String |
TEXT_SUPERSCRIPT
Property name for the superscript flag of the text. |
static String |
TEXT_UNDERLINE
Property name for the underline flag. |
static Integer |
TYPE_1
Symbolic value for integer number list style (1, 2, 3...). |
static Integer |
TYPE_a
Symbolic value for lower case number list style (a, b, c...). |
static Integer |
TYPE_A
Symbolic value for upper case number list style (A, B, C...). |
static Integer |
TYPE_CIRCLE
Symbolic value for circle bullet style. |
static Integer |
TYPE_DISC
Symbolic value for disc bullet style. |
static Integer |
TYPE_i
Symbolic value for lower case Roman numeral list style (i, ii, iii...). |
static Integer |
TYPE_I
Symbolic value for upper case Roman numeral list style (I, II, III...). |
static Integer |
TYPE_NONE
Symbolic value for default list style. |
static Integer |
TYPE_SQUARE
Symbolic value for square bullet style. |
static Integer |
UNIT_AUTO
Symbolic value for automatic fit. |
static Integer |
UNIT_PERCENT
Symbolic value for percent unit. |
static Integer |
UNIT_PIXEL
Symbolic value for pixel unit. |
Fields inherited from class com.sssw.rt.rteditor.RTEditor |
m_Page,
m_ParentEditor,
TYPE_APPLET,
TYPE_GENERAL,
TYPE_IMAGE,
TYPE_PAGE,
TYPE_SOUND |
Fields inherited from class com.sssw.rt.atlas.AtPanel |
BGIMAGE_DRAW_CENTERED,
BGIMAGE_DRAW_NORMAL,
BGIMAGE_DRAW_STRETCH,
BGIMAGE_DRAW_TILED |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Fields inherited from interface com.sssw.rt.form.AgiControl |
IMAGE_MODE_CENTERED,
IMAGE_MODE_NORMAL,
IMAGE_MODE_STRETCH,
IMAGE_MODE_TILED |
Constructor Summary | |
AgcHTMLEditControl()
|
Method Summary | |
void |
addAgiRTEditorListener(AgiRTEditorListener listener)
|
void |
alignCenter()
Aligns the current paragraph to the center of the page, or if the current paragraph is in a table, to the center of the current table cell. |
void |
alignLeft()
Aligns the current paragraph to the left margin of the HTML page or table cell. |
void |
alignNone()
Uses the default alignment for the HTML page or table cell. |
void |
alignRight()
Aligns the current paragraph to the right margin of the HTML page or table cell. |
boolean |
canRedo()
Returns a boolean value that determines if an operation can be redone. |
boolean |
canUndo()
Returns a boolean value that determines if operations can be undone. |
void |
clearUndo()
Clears the undo chain. |
void |
copySelectionToClipboard()
Copies the currently selected object (text or image) and places it on the system clipboard. |
void |
cutSelectionToClipboard()
Cuts the currently selected object and places it on the system clipboard. |
void |
decreaseFontSize()
Decreases the font size of the currently selected object, making it smaller in the design environment. |
void |
decreaseIndentation()
Decreases the indentation of the text at the current cursor position. |
void |
deleteObject()
Deletes the current selection or currently selected object. |
void |
deletePrevObject()
Deletes the current selection or the previous object. |
void |
deleteWord()
Deletes the currently selected word. |
boolean |
getASCIIEncoding()
|
Color |
getBackgroundColor()
Deprecated. replaced by Component.getBackground() . |
boolean |
getBooleanProperty(String prop)
Returns a boolean given a property name. |
Color |
getColorProperty(String prop)
Returns a Color object for the named property. |
String |
getContent()
Returns the content of the editor. |
String |
getContentAsPlainText()
Returns the content of the editor as plain text. |
String |
getHTML()
Returns the content of the editor as an HTML string. |
int |
getIntProperty(String prop)
Returns an integer given a property name. |
Object |
getProperty(String prop)
Returns the specified property. |
String |
getStringProperty(String prop)
Returns a String value given a property name. |
String |
getText()
Returns the contents of the editor as a plain text string, ignoring the formatting information. |
void |
gotoColumnNum(int n)
Moves the caret to the n-th column of the current line. |
void |
gotoLineBegin()
Moves the caret to the first position of the current line. |
void |
gotoLineEnd()
Positions the cursor at the end of the current line. |
void |
gotoLineNum(int n)
Positions the cursor at the specified line number on the current page. |
void |
gotoNextLine()
Positions the cursor at the beginning of the next line. |
void |
gotoNextNPos(int n)
Moves the caret forward by n positions. |
void |
gotoNextParagraphBegin()
Positions the cursor at the beginning of the next paragraph. |
void |
gotoNextPos()
Positions the cursor to the next position. |
void |
gotoNextScreen()
Positions the cursor at the beginning of the next screen. |
void |
gotoNextWordBegin()
Positions the cursor at the beginning of the next word. |
void |
gotoPageBegin()
Positions the cursor at the top of the current page. |
void |
gotoPageEnd()
Positions the cursor at the bottom of the current page. |
void |
gotoPrevLine()
Positions the cursor at the beginning of the previous line. |
void |
gotoPrevNPos(int n)
Moves the caret backward by n positions. |
void |
gotoPrevParagraphBegin()
Positions the cursor at the beginning of the previous paragraph. |
void |
gotoPrevPos()
Positions the cursor to its previous position. |
void |
gotoPrevScreen()
Positions the cursor at the beginning of the previous screen. |
void |
gotoPrevWordBegin()
Moves the caret to the first position of the previous word or object unit. |
void |
gotoScreenFirstPos()
Positions the cursor at the first position of the current screen. |
void |
gotoScreenLastPos()
Positions the cursor at the last position of the current screen. |
void |
increaseFontSize()
Increases the font size of the currently selected object, making it larger in the design environment. |
void |
increaseIndentation()
Increases the indentation of the text at the current cursor position. |
void |
insertChar(char c)
Inserts the specified character. |
void |
insertCustomTag(String html)
Inserts the specified HTML tag at the current cursor location. |
void |
insertImage(String image_spec)
Inserts an image with the specified image specification. |
void |
insertImageLink(String image_url)
Inserts an image link (can be absolute URL or relative URL). |
void |
insertLine()
Inserts a horizontal rule. |
void |
insertParagraphBreak()
Inserts a paragraph break above the current cursor location. |
void |
insertRawHTML(String html)
Inserts raw HTML text at the current cursor location. |
void |
insertSpace()
Inserts a single space at the current cursor location. |
void |
insertString(String string)
Inserts a specific text String at the current cursor location. |
void |
insertTab()
Inserts a tab at the current cursor location. |
com.sssw.rt.rteditor.AgiHTMLTable |
insertTable(int row_count,
int column_count)
Inserts an empty table at the current cursor location with the specified row and column count. |
void |
insertTableColumn()
Inserts a column in the table before the caret. |
void |
insertTableRow()
Inserts a row in the table before the caret. |
boolean |
isEmpty()
Returns true if the editor is empty. |
boolean |
isPropertyAvailable(String prop)
Returns true if the specified property is currently available. |
void |
mergeCells()
Merges the currently selected cells. |
void |
pasteClipboardSelection()
Pastes the Clipboard's contents to the current cursor position. |
void |
pasteClipboardSelectionAsHTML()
Pastes the clipboard string as HTML. |
void |
pasteClipboardSelectionAsText()
Pastes the clipboard string as plain text. |
void |
redo()
Redoes the last operation. |
void |
removeAgiRTEditorListener(AgiRTEditorListener listener)
|
void |
removeTableColumn()
Removes the column of the caret in the table. |
void |
removeTableRow()
Removes the current row (where the caret is) from the table. |
void |
selectToColumnNum(int n)
Extends the selection to the n-th column of the current line. |
void |
selectToLineBegin()
Selects the text between the current cursor position and the beginning of the current line. |
void |
selectToLineEnd()
Selects the text between the current cursor position and the end of the current line. |
void |
selectToLineNum(int n)
Selects the text between the current cursor position and the beginning of the specified line on the current page. |
void |
selectToNextLine()
Selects the text between the current cursor position and the beginning of the next line. |
void |
selectToNextNPos(int n)
Extends the selection forward by n positions. |
void |
selectToNextParagraphBegin()
Selects the text between the current cursor position and the beginning of the next paragraph. |
void |
selectToNextPos()
Selects the text between the current cursor position and the next cursor position. |
void |
selectToNextScreen()
Selects the text between the current cursor position and the beginning of the next screen. |
void |
selectToNextWordBegin()
Selects the text between the current cursor position and the beginning of the next word. |
void |
selectToPageBegin()
Selects the text between the current cursor position and the beginning of the current page. |
void |
selectToPageEnd()
Selects the text between the current cursor position and the end of the current page. |
void |
selectToPrevLine()
Selects the text between the current cursor position and the beginning of the previous line. |
void |
selectToPrevNPos(int n)
Extends the selection backward by n positions. |
void |
selectToPrevParagraphBegin()
Selects the text between the current cursor position and the beginning of the previous paragraph. |
void |
selectToPrevPos()
Selects the text between the current cursor position and the previous cursor position. |
void |
selectToPrevScreen()
Selects the text between the current cursor position and the beginning of the previous screen. |
void |
selectToPrevWordBegin()
Selects the text between the current cursor position and the beginning of the previous word. |
void |
selectToScreenFirstPos()
Selects the text between the current cursor position and the first position of the current screen. |
void |
selectToScreenLastPos()
Selects the text between the current cursor position and the last position of the current screen. |
void |
setASCIIEncoding(boolean encoding)
|
void |
setBackgroundColor(Color backgroundcolor)
Deprecated. replaced by Component.setBackground(Color) . |
void |
setBlockquote()
Sets the block quote HTML tag. |
void |
setBooleanProperty(String prop,
boolean value)
Sets the specified property to the boolean value supplied. |
void |
setBulletedList()
Sets the style of the current paragraph or selected paragraphs to bulleted list. |
void |
setColorProperty(String prop,
Color value)
Sets the named property to the given Color object. |
void |
setContextBase(URL context)
Establishes the page context by specifying the base URL used to resolve relative URLs for images, links, etc. |
void |
setHTML(String html)
Sets the text of the editor by an HTML string. |
void |
setIntProperty(String prop,
int value)
Sets the specified property to the integer value supplied. |
void |
setNumberedList()
Sets the style of the current paragraph or selected paragraphs to numbered list. |
void |
setProperty(String prop,
Object value)
Modifies the specified property. |
void |
setStringProperty(String prop,
String value)
Sets the property specified by the given name to a string value. |
void |
spanCell(int row_count,
int column_count)
Causes text to span a column and a row. |
void |
splitCell()
Splits a single table cell into two cells. |
void |
toggleBold()
Applies or unapplies the HTML strong character style to the currently selected text. |
void |
toggleHighlight()
Toggles between displaying only the hotspots defined on an image, and displaying the image and the hotspots. |
void |
toggleItalic()
Applies or unapplies the HTML emphasis character style to the currently selected text. |
void |
toggleUnderline()
Applies or unapplies the HTML underline character style to the currently selected text. |
void |
undo()
Undoes the last operation. |
Methods inherited from class com.sssw.rt.rteditor.RTEditor |
actionPerformed,
addAgiPrivateListener,
addHTMLExtender,
addNotify,
canInsert,
clearErrorCode,
commandKeyPressed,
disableToolBar,
displayError,
displayError,
displayError,
displayMessage,
displayStatus,
displayWarning,
displayWarning,
displayWarning,
doCommand,
doDragTargetCleanup,
doFinalCleanup,
doInsertImage,
doInsertLink,
doMouseDrag,
dragEnter,
dragExit,
dragOver,
drop,
dropActionChanged,
enableAtCommands,
enableToolBar,
findNext,
findPrevious,
firePrivateEvent,
firePrivateEvent,
fireRTEvent,
focusGained,
focusLost,
getBaseWebbaseURL,
getChangedPropertyBags,
getClassLoader,
getContainingUnit,
getContent,
getContentHeight,
getContentWidth,
getContextBase,
getControlInfo,
getCurrentAnchor,
getCurrentBlockHeight,
getCurrentBlockWidth,
getCurrentRowIndex,
getCursorColumnNumber,
getCursorLineNumber,
getCustomTagInfo,
getCustomTagProperty,
getCustomUnit,
getCustomUnitPropertyBag,
getDefaultStyleLabels,
getDesignMode,
getEmbeddedContent,
getEnvironment,
getErrorCode,
getFontList,
getFontStyle,
getFrameInfo,
getImage,
getImageInfo,
getImageMapAreaInfo,
getLabelFromTemplate,
getLastException,
getLastLayoutRegion,
getLastTable,
getLocaleKey,
getLocaleKeyMask,
getOwnerFrame,
getPage,
getPageInfo,
getParagraphStyle,
getPropertyBagFor,
getPropertyBagOwner,
getPropertyEditorHelper,
getRawHTML,
getReloadPropertyBags,
getRowIndex,
getScriptEditorArgUnit,
getSelectedPropertyBags,
getSelectionType,
getSubFrameInfo,
getSubPageInfo,
getTableCellInfo,
getTableInfo,
getTableType,
getTemplateFromLabel,
getUnitType,
getURLFromSpec,
getViewOriginX,
getViewOriginY,
gotoUnit,
hasFrameInfo,
hasModified,
hasPropertyBagChanged,
hideBorder,
hideSubComponents,
isCommandKeyEvent,
isContentValid,
isControlInfoAvailable,
isCustomTagInfoAvailable,
isCustomUnitAvailable,
isEventInvokerAvailable,
isFindInfoAvailable,
isImageInfoAvailable,
isImageMapAreaInfoAvailable,
isRawHTMLAvailable,
isSelectingMultipleLayoutObjects,
isSelectingSingleLayoutObject,
isSubFrameInfoAvailable,
isTableCellInfoAvailable,
isTableInfoAvailable,
isUsedName,
isValidName,
keepSameTabPane,
keyPressed,
keyReleased,
keyTyped,
launchEditRawHTMLDialog,
launchFindDialog,
launchHeaderTagsEditor,
launchImagePickerDialog,
launchImageURLDialog,
launchInspectDialog,
launchJavaScriptEditor,
launchLinkPickerDialog,
launchLinkURLDialog,
launchObjectPickerDialog,
launchRawHTMLDialog,
launchStyleSheetEditor,
launchSubPageURLDialog,
launchTextValueDialog,
lookupKeyBinding,
mouseClicked,
mouseDragged,
mouseEntered,
mouseExited,
mouseMoved,
mousePressed,
mouseReleased,
newControlInfo,
newFontStyleInfo,
newImageInfo,
newPageInfo,
newParagraphStyleInfo,
newTableCellInfo,
newTableInfo,
notifyNameChange,
onHScroll,
onPageEvent,
onPaintView,
onResizeView,
onVScroll,
postPrivateEvent,
preprocessKeyEvent,
refreshHeaderTagsEditor,
refreshJavaScriptEditor,
refreshStyleSheetEditor,
removeAgiPrivateListener,
removeHTMLExtender,
removeKeyBinding,
removeNotify,
replace,
replaceAll,
requestFocus,
requestSave,
restoreSubComponents,
setBaseWebbaseURL,
setCustomTagProperty,
setDesignMode,
setEnvironment,
setFrameInfo,
setKeyBinding,
setMasterUndoChain,
setMessageDisplay,
setPropertyBagOwner,
setReadOnly,
showBorder,
updateProperties,
waitForCommand,
windowActivated,
windowClosed,
windowClosing,
windowDeactivated,
windowDeiconified,
windowIconified,
windowOpened |
Methods inherited from class com.sssw.rt.rtcontrol.RTScrollPanel |
componentHidden,
componentMoved,
componentResized,
componentShown,
getPreferredSize,
getView,
getViewHeight,
getViewWidth,
hideScrollBars,
showScrollBars,
updateHScrollBar,
updateVScrollBar |
Methods inherited from class com.sssw.rt.atlas.AtPanel |
addImpl,
clientPaint,
clientPaint,
deliverMouseEvent,
deliverMouseMoveEvent,
doAtCommand,
drawTiledImage,
getBackgroundImage,
getBackgroundImageMode,
getHelper,
getTransparent,
hide,
hideToolTip,
imageUpdate,
isFocusTraversable,
isOptimizedDrawingEnabled,
ownedImage,
paintBorder,
paintComponent,
paintImmediately,
paintImmediately,
paintNow,
processEvent,
reshape,
setBackgroundImage,
setBackgroundImageMode,
setTransparent,
show,
showToolTip |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
printComponents,
processContainerEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Methods implemented from interface com.sssw.rt.form.AgiControl |
getComponent,
getHelpInfo,
setHelpInfo |
Methods implemented from interface com.sssw.rt.event.AgiManualPropertyChange |
fireManualPropertyChange |
Field Detail |
public static final String EDITOR_CONTEXT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_TITLE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_SPECIFYBG
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_BGCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_BGIMAGE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_TEXTCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_LINKCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_VLINKCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_ALINKCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_BGSOUND
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_BGSOUND_LOOPCOUNT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PAGE_BGSOUND_CONTINUOUS
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_ALIGNMENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
Possible property values are AgcHTMLEditControl.ALIGN_LEFT
,
AgcHTMLEditControl.ALIGN_CENTER
,
and AgcHTMLEditControl.ALIGN_NONE
.
public static final String TABLE_CELLPADDING
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_CELLSPACING
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_MINWIDTH
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_MINWIDTHUNITS
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
Possible property values are AgcHTMLEditControl.UNIT_AUTO
,
AgcHTMLEditControl.UNIT_PIXEL
,
and AgcHTMLEditControl.UNIT_PERCENT
.
public static final String TABLE_BGTRANSPARENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_BGCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_BGIMAGE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_BORDERSIZE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TABLE_BORDERCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String CELL_HORIZONTALALIGNMENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
Possible property values are AgcHTMLEditControl.ALIGN_NONE
,
AgcHTMLEditControl.ALIGN_LEFT
,
AgcHTMLEditControl.ALIGN_CENTER
,
and AgcHTMLEditControl.ALIGN_RIGHT
.
public static final String CELL_VERTICALALIGNMENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
Possible property values are AgcHTMLEditControl.ALIGN_NONE
,
AgcHTMLEditControl.ALIGN_TOP
,
AgcHTMLEditControl.ALIGN_MIDDLE
,
and AgcHTMLEditControl.ALIGN_BOTTOM
.
public static final String CELL_HEADERCELL
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String CELL_WRAPTEXT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String CELL_BGTRANSPARENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String CELL_BGCOLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String CELL_BGIMAGE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PARAGRAPH_STYLENAME
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String PARAGRAPH_ALIGNMENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
Possible property values are AgcHTMLEditControl.ALIGN_NONE
,
AgcHTMLEditControl.ALIGN_LEFT
,
AgcHTMLEditControl.ALIGN_CENTER
,
and AgcHTMLEditControl.ALIGN_RIGHT
.
public static final String PARAGRAPH_LISTSTYLE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_FONTNAME
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_FONTSIZE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_FONTSTYLE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_COLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_STRIKETHROUGH
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_BOLD
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_ITALIC
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_UNDERLINE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_BLINK
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_SUPERSCRIPT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_SUBSCRIPT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_ANCHOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String TEXT_ANCHORTARGET
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_SOURCE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_LINKURL
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_LINKFRAME
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_ALIGNMENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
Possible subtypes are AgcHTMLEditControl.ALIGN_LEFT
,
AgcHTMLEditControl.ALIGN_CENTER
,
and AgcHTMLEditControl.ALIGN_RIGHT
.
public static final String IMAGE_BORDERSIZE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_HORIZSPACE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_VERTSPACE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_SPECIFYSIZE
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_HEIGHT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String IMAGE_WIDTH
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String HOTSPOT_LINKURL
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String HOTSPOT_LINKFRAME
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String HOTSPOT_XPOS
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String HOTSPOT_YPOS
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String HOTSPOT_WIDTH
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String HOTSPOT_HEIGHT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String LINE_WIDTH
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String LINE_WIDTH_UNITS
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String LINE_HEIGHT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String LINE_ALIGNMENT
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String LINE_COLOR
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final String LINE_ISSOLID
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public static final Integer ALIGN_NONE
AgcHTMLEditControl.PARAGRAPH_ALIGNMENT
,
AgcHTMLEditControl.CELL_VERTICALALIGNMENT
,
AgcHTMLEditControl.CELL_HORIZONTALALIGNMENT
,
AgcHTMLEditControl.TABLE_ALIGNMENT
public static final Integer ALIGN_LEFT
AgcHTMLEditControl.PARAGRAPH_ALIGNMENT
,
AgcHTMLEditControl.CELL_HORIZONTALALIGNMENT
,
AgcHTMLEditControl.TABLE_ALIGNMENT
,
AgcHTMLEditControl.IMAGE_ALIGNMENT
public static final Integer ALIGN_RIGHT
AgcHTMLEditControl.PARAGRAPH_ALIGNMENT
,
AgcHTMLEditControl.CELL_HORIZONTALALIGNMENT
,
AgcHTMLEditControl.IMAGE_ALIGNMENT
public static final Integer ALIGN_CENTER
AgcHTMLEditControl.PARAGRAPH_ALIGNMENT
,
AgcHTMLEditControl.CELL_HORIZONTALALIGNMENT
,
AgcHTMLEditControl.IMAGE_ALIGNMENT
public static final Integer ALIGN_TOP
AgcHTMLEditControl.CELL_VERTICALALIGNMENT
public static final Integer ALIGN_MIDDLE
AgcHTMLEditControl.CELL_VERTICALALIGNMENT
public static final Integer ALIGN_BOTTOM
AgcHTMLEditControl.CELL_VERTICALALIGNMENT
public static final Integer UNIT_AUTO
AgcHTMLEditControl.TABLE_MINWIDTHUNITS
public static final Integer UNIT_PIXEL
AgcHTMLEditControl.TABLE_MINWIDTHUNITS
public static final Integer UNIT_PERCENT
AgcHTMLEditControl.TABLE_MINWIDTHUNITS
public static final Integer TYPE_NONE
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_A
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_a
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_I
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_i
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_1
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_DISC
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_CIRCLE
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
public static final Integer TYPE_SQUARE
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
Constructor Detail |
public AgcHTMLEditControl()
Method Detail |
public void gotoPrevPos()
Moves the caret to the position previous to the current position. This is the default action of the left-arrow key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoPrevPos();
AgcHTMLEditControl.gotoNextPos()
public void gotoNextPos()
Moves the caret to the position next to the current position. This is the default action of the right-arrow key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoNextPos;
AgcHTMLEditControl.gotoPrevPos()
public void gotoPrevWordBegin()
This is the default action of the ctrl-left arrow key.
public void gotoNextWordBegin()
Moves the caret to the first position of the next word or object unit. This is the default action of the ctrl-right arrow key.
The following code fragment illustrates how to position the cursor to the beginning of the next word.
ControlName1.gotoNextWordBegin();
public void gotoPrevLine()
Moves the caret up one line. This is the default action of the up-arrow key.
The following code fragment illustrates how to use the gotoPrevLine() method.
ControlName1.gotoPrevLine();
AgcHTMLEditControl.gotoNextLine()
public void gotoNextLine()
Moves the caret down one line. This is the default action of the down-arrow key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoNextLine();
AgcHTMLEditControl.gotoPrevLine()
public void gotoPrevParagraphBegin()
Moves the caret to the first position of the previous paragraph. This is the default action of the ctrl-up arrow key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoPrevParagraphBegin();
AgcHTMLEditControl.gotoNextParagraphBegin()
public void gotoNextParagraphBegin()
Moves the caret to the first position of the next paragraph. This is the default action of the ctrl-down arrow key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoNextParagraphBegin();
AgcHTMLEditControl.gotoPrevParagraphBegin()
public void gotoLineBegin()
Positions the cursor at the beginning of the current line. This is the default action of the HOME key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoLineBegin();
AgcHTMLEditControl.gotoLineEnd()
public void gotoLineEnd()
Moves the caret to the last position of the current line. This is the default action of the END key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoLineEnd();
AgcHTMLEditControl.gotoLineBegin()
public void gotoPageBegin()
Moves the caret to the beginning of the page. This is the default action of the ctrl-HOME key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoPageBegin();
AgcHTMLEditControl.gotoPageEnd()
public void gotoPageEnd()
Moves the caret to the end of the page. This is the default action of the ctrl-END key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoPageEnd();
AgcHTMLEditControl.gotoPageBegin()
public void gotoPrevScreen()
Moves the caret up one screenful of lines. This is the default action of the PGUP key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoPrevScreen()
AgcHTMLEditControl.gotoNextScreen()
,
AgcHTMLEditControl.gotoScreenFirstPos()
,
AgcHTMLEditControl.gotoScreenLastPos()
public void gotoNextScreen()
Moves the caret down one screenful of lines. This is the default action of the PGDN key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoNextScreen()
AgcHTMLEditControl.gotoPrevScreen()
,
AgcHTMLEditControl.gotoScreenFirstPos()
,
AgcHTMLEditControl.gotoScreenLastPos()
public void gotoScreenFirstPos()
Moves the caret to the first position of the current screen. This is the default action of the CTRL-PGUP key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoScreenFirstPos();
AgcHTMLEditControl.gotoPrevScreen()
,
AgcHTMLEditControl.gotoNextPos()
,
AgcHTMLEditControl.gotoScreenLastPos()
public void gotoScreenLastPos()
Moves the caret to the last position of the current screen. This is the default action of the CTRL-PGDN key.
The following code fragment illustrates how to position the cursor.
ControlName1.gotoScreenLastPos();
AgcHTMLEditControl.gotoPrevScreen()
,
AgcHTMLEditControl.gotoNextScreen()
,
AgcHTMLEditControl.gotoScreenFirstPos()
public void gotoLineNum(int n)
n
- specifies the line number.The following code fragment illustrates how to position the cursor.
ControlName1.gotoLineNum(4);
public void gotoColumnNum(int n)
n
- public void gotoPrevNPos(int n)
n
- public void gotoNextNPos(int n)
n
- public void selectToPrevPos()
Extends the selection to the position previous to the current position. This is the default action of the shift-left-arrow key.
The following code fragment illustrates how to use the selectToPrevPos() method.
ControlName1.selectToPrevPos();
public void selectToNextPos()
Extends the selection to the position next to the current position. This is the default action of the shift-right-arrow key.
The following code fragment illustrates how to use the selectToNextPos() method.
ControlName1.selectToNextPos();
public void selectToPrevWordBegin()
Extends the selection to the first position of the previous word or object unit. This is the default action of the shift-ctrl-left arrow key.
The following code fragment illustrates how to use the selectToPrevWordBegin() method.
ControlName1.selectToPrevWordBegin();
AgcHTMLEditControl.selectToNextWordBegin()
public void selectToNextWordBegin()
Extends the selection to the first position of the next word or object unit. This is the default action of the shift-ctrl-right arrow key.
The following code fragment illustrates how to use the selectToNextWordBegin() method.
ControlName1.selectToNextWordBegin();
AgcHTMLEditControl.selectToPrevWordBegin()
public void selectToPrevLine()
Extends the selection up one line. This is the default action of the shift-up-arrow key.
The following code fragment illustrates how to selectToPrevLine() method.
ControlName1.selectToPrevLine();
AgcHTMLEditControl.selectToNextLine()
public void selectToNextLine()
Extends the selection down one line. This is the default action of the shift-down-arrow key.
The following code fragment illustrates how to selectToNextLine() method.
ControlName1.selectToNextLine();
AgcHTMLEditControl.selectToPrevLine()
public void selectToPrevParagraphBegin()
Extends the selection to the first position of the previous paragraph. This is the default action of the shift-ctrl-up arrow key.
The following code fragment illustrates how to use the selectToPrevParagraphBegin() method.
ControlName1.selectToPrevParagraphBegin();
public void selectToNextParagraphBegin()
Extends the selection to the first position of the next paragraph. This is the default action of the shift-ctrl-down arrow key.
The following code fragment illustrates how to use the selectToNextParagraphBegin() method.
ControlName1.selectToNextParagraphBegin();
public void selectToLineBegin()
Extends the selection to the first position of the current line. This is the default action of the shift-HOME key.
The following code fragment illustrates how to use the selectToLineBegin() method.
ControlName1.selectToLineBegin();
public void selectToLineEnd()
Extends the selection to the last position of the current line. This is the default action of the shift-END key.
The following code fragment illustrates how to use the selectToLineEnd() method.
ControlName1.selectToLineEnd();
public void selectToPageBegin()
Extends the selection to the beginning of the page. This is the default action of the shift-ctrl-HOME key.
The following code fragment illustrates how to use the selectToPageBegin() method.
ControlName1.selectToPageBegin();
public void selectToPageEnd()
Extends the selection to the end of the page. This is the default action of the shift-ctrl-END key.
The following code fragment illustrates how to use the selectToPageEnd() method.
ControlName1.selectToPageEnd();
public void selectToPrevScreen()
Extends the selection up one screenful of lines. This is the default action of the shift-PGUP key.
The following code fragment illustrates how to use the selectToPrevScreen() method.
ControlName1.selectToPrevScreen();
public void selectToNextScreen()
Extends the selection down one screenful of lines. This is the default action of the shift-PGDN key.
The following code fragment illustrates how to use the selectToNextScreen() method.
ControlName1.selectToNextScreen();
public void selectToScreenFirstPos()
Extends the selection to the first position of the current screen. This is the default action of the shift-CTRL-PGUP key.
The following code fragment illustrates how to use the selectToScreenFirst() method.
ControlName1.selectToScreenFirstPos();
public void selectToScreenLastPos()
Extends the selection to the last position of the current screen. This is the default action of the shift-CTRL-PGDN key.
The following code fragment illustrates how to use the selectToScreenLast() method.
ControlName1.selectToScreenLastPos();
public void selectToLineNum(int n)
n
- specifies the line number.Extends the selection to the n-th line of the page.
The following code fragment illustrates how to use the selectToLineNum() method.
ControlName1.selectToLineNum(3);
public void selectToColumnNum(int n)
n
- public void selectToPrevNPos(int n)
n
- public void selectToNextNPos(int n)
n
- public void cutSelectionToClipboard()
The following code fragment illustrates how to use the cutSelectionToClipboard() method.
ControlName1.cutSelectionToClipboard();
public void copySelectionToClipboard()
The following code fragment illustrates how to use the copySelectionToClipboard() method.
ControlName1.copySelectionToClipboard();
public void pasteClipboardSelection()
The following code fragment illustrates how to use the pasteClipboardSelection() method.
ControlName1.pasteClipboardSelection();
public void pasteClipboardSelectionAsText()
public void pasteClipboardSelectionAsHTML()
public void insertChar(char c)
c
- public void insertCustomTag(String html)
html
- specifies the custom tag's name.Inserts a custom tag which consists of the specified html.
The following code fragment illustrates how to use the insertCustomTag() method.
ControlName1.insertCustomTag('<<em>!--N</em>>');
public void insertImage(String image_spec)
image_spec
- An image specification is in one of three forms:
public void insertImageLink(String image_url)
image_url
- public void insertLine()
The following code fragment illustrates how to use the insertLine() method.
ControlName1.insertLine();
public void insertParagraphBreak()
The following code fragment illustrates how to use the insertParagraphBreak() method.
ControlName1.insertParagraphBreak();
public void insertRawHTML(String html)
html
- specifies the HTML to insert.Inserts a raw HTML unit. The unit encapsulates the specified HTML code.
Note that "\" represents a double quote but won't terminate the String.
ControlName1.insertRawHTML("<A HREF="www.silverstream.com">SilverStream</A>")
public void insertSpace()
The following code fragment illustrates how to use the insertSpace() method.
ControlName1.insertSpace();
public void insertString(String string)
string
- specifies the String to insert.The following code fragment illustrates how to use the insertString() method.
ControlName1.insertString("the new order");
public void insertTab()
The following code fragment illustrates how to use the insertTab() method.
ControlName1.insertTab();
public com.sssw.rt.rteditor.AgiHTMLTable insertTable(int row_count, int column_count)
row_count
- specifies the number of rows in the table.column_count
- specifies the number of columns in the table.The following code fragment illustrates how to create a table that has 3 rows and 4 columns.
ControlName1.insertTable(3,4);
public void deleteObject()
If there is currently no selection, this method deletes the object the cursor is currently pointing at. This method is the default action of the Del key.
The following code fragment illustrates how to use the deleteObject() method.
ControlName1.deleteObject();
public void deleteWord()
The following code fragment illustrates how to use the deleteWord() method.
ControlName1.deleteWord()
public void deletePrevObject()
If there is currently no selection, this method deletes the object previous to the caret position.
The following code fragment illustrates how to use the deletePrevObject() method.
ControlName1.deletePrevObject();
public String getHTML()
String HTML; HTML = ControlName1.getHTML();
AgcHTMLEditControl.setHTML(String)
public String getText()
The following code fragment illustrates how to call getText().
String s; s = ControlName1.getText();
public String getContent()
public String getContentAsPlainText()
public void setHTML(String html)
html
- specifies the HTML to assign.AgcHTMLEditControl.getHTML()
public boolean isPropertyAvailable(String prop)
prop
- the name of the property (one of the constant fields defined in this class).boolean available; available = ControlName1.isPropertyAvailable(AgcHTMLEditControl.IMAGE_SOURCE);
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setProperty(String,Object)
public Object getProperty(String prop)
prop
- the name of the property (one of the constant fields defined in this class).The return value is undefined if the property is not currently available.
AgcHTMLEditControl.setProperty(String,Object)
,
AgcHTMLEditControl.getColorProperty(String)
,
AgcHTMLEditControl.getStringProperty(String)
,
AgcHTMLEditControl.getBooleanProperty(String)
,
AgcHTMLEditControl.getIntProperty(String)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public void setProperty(String prop, Object value)
prop
- the name of the property (one of the constant fields defined in this class).value
- Ignored if the property is not currently available.
AgcHTMLEditControl.getProperty(String)
,
AgcHTMLEditControl.setColorProperty(String,Color)
,
AgcHTMLEditControl.setStringProperty(String,String)
,
AgcHTMLEditControl.setBooleanProperty(String,boolean)
,
AgcHTMLEditControl.setIntProperty(String,int)
,
AgcHTMLEditControl.isPropertyAvailable(String)
public String getStringProperty(String prop)
prop
- specifies the name of the property to obtain.
The following is a list of properties returnable with this method:
AgcHTMLEditControl.EDITOR_CONTEXT
,
AgcHTMLEditControl.PAGE_TITLE
,
AgcHTMLEditControl.PAGE_BGIMAGE
,
AgcHTMLEditControl.PAGE_BGSOUND
,
AgcHTMLEditControl.TABLE_BGIMAGE
,
AgcHTMLEditControl.CELL_BGIMAGE
,
AgcHTMLEditControl.PARAGRAPH_STYLENAME
,
AgcHTMLEditControl.TEXT_FONTNAME
,
AgcHTMLEditControl.TEXT_FONTSTYLE
,
AgcHTMLEditControl.TEXT_ANCHOR
,
AgcHTMLEditControl.TEXT_ANCHORTARGET
,
AgcHTMLEditControl.IMAGE_SOURCE
,
AgcHTMLEditControl.IMAGE_LINKURL
,
AgcHTMLEditControl.IMAGE_LINKFRAME
,
AgcHTMLEditControl.HOTSPOT_LINKURL
,
AgcHTMLEditControl.HOTSPOT_LINKFRAME
The method returns "" if it cannot obtain a value for the specified property name.
String imageSource; image Source = AgcHTMLEditControl.getStringProperty(AgcHTMLEditControl.IMAGE_SOURCE);
AgcHTMLEditControl.setStringProperty(String,String)
public Color getColorProperty(String prop)
prop
- specifies the property name.
The following is a list of properties returnable with this method:
AgcHTMLEditControl.PAGE_BGCOLOR
,
AgcHTMLEditControl.PAGE_TEXTCOLOR
,
AgcHTMLEditControl.PAGE_LINKCOLOR
,
AgcHTMLEditControl.PAGE_VLINKCOLOR
,
AgcHTMLEditControl.PAGE_ALINKCOLOR
,
AgcHTMLEditControl.TABLE_BGCOLOR
,
AgcHTMLEditControl.TABLE_BORDERCOLOR
,
AgcHTMLEditControl.CELL_BGCOLOR
,
AgcHTMLEditControl.TEXT_COLOR
,
AgcHTMLEditControl.LINE_COLOR
Use the setColorProperty() method to assign a Color object. If there is no Color object, the control returns Color.black.
The following code fragment illustrates how to obtain the text Color.
Color textColor; textColor = ControlName1.getColorProperty(AgcHTMLEditControl.TEXT_COLOR);
AgcHTMLEditControl.setColorProperty(String,Color)
public int getIntProperty(String prop)
prop
- specifies the property name.
The following is a list of properties returned by this method:
AgcHTMLEditControl.PAGE_BGSOUND_LOOPCOUNT
,
AgcHTMLEditControl.TABLE_ALIGNMENT
,
AgcHTMLEditControl.TABLE_CELLPADDING
,
AgcHTMLEditControl.TABLE_CELLSPACING
,
AgcHTMLEditControl.TABLE_MINWIDTH
,
AgcHTMLEditControl.TABLE_MINWIDTHUNITS
,
AgcHTMLEditControl.TABLE_BORDERSIZE
,
AgcHTMLEditControl.CELL_HORIZONTALALIGNMENT
,
AgcHTMLEditControl.CELL_VERTICALALIGNMENT
,
AgcHTMLEditControl.PARAGRAPH_ALIGNMENT
,
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
,
AgcHTMLEditControl.TEXT_FONTSIZE
,
AgcHTMLEditControl.IMAGE_ALIGNMENT
,
AgcHTMLEditControl.IMAGE_BORDERSIZE
,
AgcHTMLEditControl.IMAGE_HORIZSPACE
,
AgcHTMLEditControl.IMAGE_VERTSPACE
,
AgcHTMLEditControl.IMAGE_HEIGHT
,
AgcHTMLEditControl.IMAGE_WIDTH
,
AgcHTMLEditControl.HOTSPOT_XPOS
,
AgcHTMLEditControl.HOTSPOT_YPOS
,
AgcHTMLEditControl.HOTSPOT_WIDTH
,
AgcHTMLEditControl.HOTSPOT_HEIGHT
,
AgcHTMLEditControl.LINE_WIDTH
,
AgcHTMLEditControl.LINE_WIDTH_UNITS
,
AgcHTMLEditControl.LINE_HEIGHT
,
AgcHTMLEditControl.LINE_ALIGNMENT
The method returns zero if it cannot obtain the value.
int fontSize; fontSize = ControlName1.getIntProperty(AgcHTMLEditControl.TEXT_FONTSIZE);
AgcHTMLEditControl.setIntProperty(String,int)
public boolean getBooleanProperty(String prop)
prop
- specifies the name of the property to obtain.
The following is a list of returnable properties for this method:
AgcHTMLEditControl.PAGE_SPECIFYBG
,
AgcHTMLEditControl.PAGE_BGSOUND_CONTINUOUS
,
AgcHTMLEditControl.TABLE_BGTRANSPARENT
,
AgcHTMLEditControl.CELL_HEADERCELL
,
AgcHTMLEditControl.CELL_WRAPTEXT
,
AgcHTMLEditControl.CELL_BGTRANSPARENT
,
AgcHTMLEditControl.TEXT_STRIKETHROUGH
,
AgcHTMLEditControl.TEXT_BOLD
,
AgcHTMLEditControl.TEXT_ITALIC
,
AgcHTMLEditControl.TEXT_UNDERLINE
,
AgcHTMLEditControl.TEXT_BLINK
,
AgcHTMLEditControl.TEXT_SUPERSCRIPT
,
AgcHTMLEditControl.TEXT_SUBSCRIPT
,
AgcHTMLEditControl.IMAGE_SPECIFYSIZE
,
AgcHTMLEditControl.LINE_ISSOLID
The method returns false if it cannot obtain a value for the named property.
boolean textIsStrikeThrough; textIsStrikeThrough = ControlName1.getBooleanProperty(AgcHTMLEditControl.TEXT_STRIKETHROUGH);
AgcHTMLEditControl.setBooleanProperty(String,boolean)
public void setStringProperty(String prop, String value)
prop
- String that specifies the name of the property to set.
The following is a list of properties you can set with this method:
AgcHTMLEditControl.EDITOR_CONTEXT
,
AgcHTMLEditControl.PAGE_TITLE
,
AgcHTMLEditControl.PAGE_BGIMAGE
,
AgcHTMLEditControl.PAGE_BGSOUND
,
AgcHTMLEditControl.TABLE_BGIMAGE
,
AgcHTMLEditControl.CELL_BGIMAGE
,
AgcHTMLEditControl.PARAGRAPH_STYLENAME
,
AgcHTMLEditControl.TEXT_FONTNAME
,
AgcHTMLEditControl.TEXT_FONTSTYLE
,
AgcHTMLEditControl.TEXT_ANCHOR
,
AgcHTMLEditControl.TEXT_ANCHORTARGET
,
AgcHTMLEditControl.IMAGE_SOURCE
,
AgcHTMLEditControl.IMAGE_LINKURL
,
AgcHTMLEditControl.IMAGE_LINKFRAME
,
AgcHTMLEditControl.HOTSPOT_LINKURL
,
AgcHTMLEditControl.HOTSPOT_LINKFRAME
value
- String that specifies new property value.String imageSource = "myImage.jpeg"; AgcHTMLEditControl.setStringProperty(AgcHTMLEditControl.IMAGE_SOURCE, imageSource);
AgcHTMLEditControl.getStringProperty(String)
public void setColorProperty(String prop, Color value)
prop
- String that specifies the property name.
The following is a list of properties you can set using this method:
AgcHTMLEditControl.PAGE_BGCOLOR
,
AgcHTMLEditControl.PAGE_TEXTCOLOR
,
AgcHTMLEditControl.PAGE_LINKCOLOR
,
AgcHTMLEditControl.PAGE_VLINKCOLOR
,
AgcHTMLEditControl.PAGE_ALINKCOLOR
,
AgcHTMLEditControl.TABLE_BGCOLOR
,
AgcHTMLEditControl.TABLE_BORDERCOLOR
,
AgcHTMLEditControl.CELL_BGCOLOR
,
AgcHTMLEditControl.TEXT_COLOR
,
AgcHTMLEditControl.LINE_COLOR
value
- a Color object.Use the setColorProperty() method to assign a Color object to a given property.
The following code fragment illustrates how to get a Color from one object and use it to set the Color for a second.
ControlName2.setColorProperty(AgcHTMLEditControl.TEXT_COLOR, ControlName1.getColorProperty(AgcHTMLEditControl.TEXT_COLOR) );
AgcHTMLEditControl.getColorProperty(String)
public void setIntProperty(String prop, int value)
prop
- String that specifies the property name.
The following is a list of properties settable using this method:
AgcHTMLEditControl.PAGE_BGSOUND_LOOPCOUNT
,
AgcHTMLEditControl.TABLE_ALIGNMENT
,
AgcHTMLEditControl.TABLE_CELLPADDING
,
AgcHTMLEditControl.TABLE_CELLSPACING
,
AgcHTMLEditControl.TABLE_MINWIDTH
,
AgcHTMLEditControl.TABLE_MINWIDTHUNITS
,
AgcHTMLEditControl.TABLE_BORDERSIZE
,
AgcHTMLEditControl.CELL_HORIZONTALALIGNMENT
,
AgcHTMLEditControl.CELL_VERTICALALIGNMENT
,
AgcHTMLEditControl.PARAGRAPH_ALIGNMENT
,
AgcHTMLEditControl.PARAGRAPH_LISTSTYLE
,
AgcHTMLEditControl.TEXT_FONTSIZE
,
AgcHTMLEditControl.IMAGE_ALIGNMENT
,
AgcHTMLEditControl.IMAGE_BORDERSIZE
,
AgcHTMLEditControl.IMAGE_HORIZSPACE
,
AgcHTMLEditControl.IMAGE_VERTSPACE
,
AgcHTMLEditControl.IMAGE_HEIGHT
,
AgcHTMLEditControl.IMAGE_WIDTH
,
AgcHTMLEditControl.HOTSPOT_XPOS
,
AgcHTMLEditControl.HOTSPOT_YPOS
,
AgcHTMLEditControl.HOTSPOT_WIDTH
,
AgcHTMLEditControl.HOTSPOT_HEIGHT
,
AgcHTMLEditControl.LINE_WIDTH
,
AgcHTMLEditControl.LINE_WIDTH_UNITS
,
AgcHTMLEditControl.LINE_HEIGHT
,
AgcHTMLEditControl.LINE_ALIGNMENT
value
- int value for the specified property.int fontSize = 12; ControlName1.setIntProperty(AgcHTMLEditControl.TEXT_FONTSIZE, fontSize);
AgcHTMLEditControl.getIntProperty(String)
public void setBooleanProperty(String prop, boolean value)
prop
- String that specifies the name of the property to set.
The following is a list of properties you can set using this method:
AgcHTMLEditControl.PAGE_SPECIFYBG
,
AgcHTMLEditControl.PAGE_BGSOUND_CONTINUOUS
,
AgcHTMLEditControl.TABLE_BGTRANSPARENT
,
AgcHTMLEditControl.CELL_HEADERCELL
,
AgcHTMLEditControl.CELL_WRAPTEXT
,
AgcHTMLEditControl.CELL_BGTRANSPARENT
,
AgcHTMLEditControl.TEXT_STRIKETHROUGH
,
AgcHTMLEditControl.TEXT_BOLD
,
AgcHTMLEditControl.TEXT_ITALIC
,
AgcHTMLEditControl.TEXT_UNDERLINE
,
AgcHTMLEditControl.TEXT_BLINK
,
AgcHTMLEditControl.TEXT_SUPERSCRIPT
,
AgcHTMLEditControl.TEXT_SUBSCRIPT
,
AgcHTMLEditControl.IMAGE_SPECIFYSIZE
,
AgcHTMLEditControl.LINE_ISSOLID
value
- Boolean value for the property.boolean textIsStrikeThrough = FALSE; ControlName1.setBooleanProperty(AgcHTMLEditControl.TEXT_STRIKETHROUGH, textIsStrikeThrough);
AgcHTMLEditControl.getBooleanProperty(String)
public boolean getASCIIEncoding()
public void setASCIIEncoding(boolean encoding)
encoding
- public boolean canUndo()
When canUndo() is true, the operation can be reversed.
The following code fragment illustrates how to use the canUndo() method.
boolean canUndo; canUndo = ControlName1.canUndo();
AgcHTMLEditControl.clearUndo()
,
AgcHTMLEditControl.redo()
,
AgcHTMLEditControl.canRedo()
,
AgcHTMLEditControl.undo()
,
AgcHTMLEditControl.canUndo()
public boolean canRedo()
When canRedo() is true, the operation can be redone.
The following code fragment illustrates how to use the canRedo() method.
boolean canRedo; canRedo = ControlName1.canRedo();
AgcHTMLEditControl.clearUndo()
,
AgcHTMLEditControl.redo()
,
AgcHTMLEditControl.canRedo()
,
AgcHTMLEditControl.undo()
,
AgcHTMLEditControl.canUndo()
public void clearUndo()
The following code fragment illustrates how to use the clearUndo() method.
ControlName1.clearUndo();
AgcHTMLEditControl.redo()
,
AgcHTMLEditControl.canRedo()
,
AgcHTMLEditControl.undo()
,
AgcHTMLEditControl.canUndo()
public void undo()
The following code fragment illustrates how to use the undo() method.
ControlName1.undo();
AgcHTMLEditControl.clearUndo()
,
AgcHTMLEditControl.redo()
,
AgcHTMLEditControl.canRedo()
,
AgcHTMLEditControl.canUndo()
public void redo()
The following code fragment illustrates how to use the redo() method.
ControlName1.redo();
AgcHTMLEditControl.clearUndo()
,
AgcHTMLEditControl.canRedo()
,
AgcHTMLEditControl.undo()
,
AgcHTMLEditControl.canUndo()
public void toggleBold()
Toggles the bold property of the current selection or text style. Some Web browsers might ignore the strong character style or might use a different way of displaying it, like using a larger point size.
The following code fragment illustrates how to use the toggleBold() method.
ControlName1.toggleBold();
AgcHTMLEditControl.toggleItalic()
,
AgcHTMLEditControl.toggleUnderline()
,
AgcHTMLEditControl.toggleHighlight()
public void toggleItalic()
Toggles the italic property of the current selection or text style. Some Web browsers might ignore the emphasis character style, or display it as something other than italic, like underlined.
AgcHTMLEditControl.toggleBold()
,
AgcHTMLEditControl.toggleUnderline()
,
AgcHTMLEditControl.toggleHighlight()
public void toggleUnderline()
Toggles the underline property of the current selection or text style. Some Web browsers might ignore the underline character attribute, or display it as something other than underline, like italic.
The following code fragment illustrates how to use the toggleUnderline() method.
ControlName1.toggleUnderline();
AgcHTMLEditControl.toggleBold()
,
AgcHTMLEditControl.toggleItalic()
,
AgcHTMLEditControl.toggleHighlight()
public void toggleHighlight()
This method is useful when the features of a specific image or set of images make it difficult to see the outlines of its hotspots.
The following code fragment illustrates how to use the toggleHighlight() method.
ControlName1.toggleHighlight();
AgcHTMLEditControl.toggleBold()
,
AgcHTMLEditControl.toggleItalic()
,
AgcHTMLEditControl.toggleUnderline()
public void increaseFontSize()
Increases the font size of the current selection or text style. Note that the font size that users view at runtime can vary based on their browser setting.
The following code fragment illustrates how to use the increaseFontSize() method.
ControlName1.increaseFontSize();
AgcHTMLEditControl.decreaseFontSize()
,
AgcHTMLEditControl.increaseIndentation()
,
AgcHTMLEditControl.decreaseIndentation()
public void decreaseFontSize()
Note that the font size that users view at runtime can vary based on their browser setting.
The following code fragment illustrates how to use the decreaseFontSize() method.
ControlName1.decreaseFontSize();
AgcHTMLEditControl.increaseFontSize()
,
AgcHTMLEditControl.increaseIndentation()
,
AgcHTMLEditControl.decreaseIndentation()
public void alignLeft()
The following code fragment illustrates how to use the alignLeft() method.
ControlName1.alignLeft();
AgcHTMLEditControl.alignRight()
,
AgcHTMLEditControl.alignCenter()
,
AgcHTMLEditControl.alignNone()
public void alignCenter()
The following code fragment illustrates how to use the alignCenter() method.
ControlName1.alignCenter();
AgcHTMLEditControl.alignLeft()
,
AgcHTMLEditControl.alignRight()
,
AgcHTMLEditControl.alignNone()
public void alignRight()
The following code fragment illustrates how to use the alignRight() method.
ControlName1.alignRight();
AgcHTMLEditControl.alignLeft()
,
AgcHTMLEditControl.alignCenter()
,
AgcHTMLEditControl.alignNone()
public void alignNone()
The following code fragment illustrates how to use the alignNone() method.
ControlName1.alignNone();
AgcHTMLEditControl.alignLeft()
,
AgcHTMLEditControl.alignRight()
,
AgcHTMLEditControl.alignCenter()
public void setBulletedList()
The following code fragment illustrates how to use the setBulletedList().
ControlName1.setBulletedList();
public void setNumberedList()
The following code fragment illustrates how to use the setNumberedList() method.
ControlName1.setNumberedList();
public void setBlockquote()
The following code fragment illustrates how to use the setBlockquote() method.
ControlName1.setBlockquote();
public void increaseIndentation()
Increases the indentation of the current paragraph or selected paragraphs.
The following code fragment illustrates how to use the increaseIndentation() method.
ControlName1.increaseIndentation();
AgcHTMLEditControl.increaseFontSize()
,
AgcHTMLEditControl.decreaseFontSize()
,
AgcHTMLEditControl.increaseIndentation()
,
AgcHTMLEditControl.decreaseIndentation()
public void decreaseIndentation()
The following code fragment illustrates how to use the decreaseIndentation() method.
ControlName1.decreaseIndentation();
AgcHTMLEditControl.increaseFontSize()
,
AgcHTMLEditControl.decreaseFontSize()
,
AgcHTMLEditControl.increaseIndentation()
,
AgcHTMLEditControl.decreaseIndentation()
public void insertTableRow()
The following code fragment illustrates how to use the insertTableRow() method.
ControlName1.insertTableRow();
public void insertTableColumn()
The following code fragment illustrates how to use the insertTableColumn() method.
ControlName1.insertTableColumn();
public void removeTableRow()
The following code fragment illustrates how to use the removeTableRow() method.
ControlName1.removeTableRow();
public void removeTableColumn()
The following code fragment illustrates how to use the removeTableColumn() method.
ControlName1.removeTableColumn();
public void spanCell(int row_count, int column_count)
row_count
- specifies the number of rows to span.column_count
- specifies the number of columns to span.Spans the current cell to the specified row count and column count, if possible.
The following code fragment illustrates how to use the spanCell() method.
ControlName1.spanCell(3,4);
public void mergeCells()
The following code fragment illustrates how to use the mergeCells() method.
ControlName1.mergeCells();
public void splitCell()
Splits the current spanning cell to non-spanning cells.
The following code fragment illustrates how to use the splitCell() method.
ControlName1.splitCell();
public boolean isEmpty()
public void setContextBase(URL context)
context
- When an HTMLEditControl is put on a form, the page context is set automatically to the database of the form, but the data being displayed in the control could conceivably be relative to some other location. The URL specified when calling this method is used to resolve such references.
public Color getBackgroundColor()
Component.getBackground()
.
public void setBackgroundColor(Color backgroundcolor)
Component.setBackground(Color)
.
backgroundcolor
- public void addAgiRTEditorListener(AgiRTEditorListener listener)
listener
- public void removeAgiRTEditorListener(AgiRTEditorListener listener)
listener
-
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |