com.ephox.editlive.common
Class TextEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.ephox.editlive.common.TextEvent
All Implemented Interfaces:
Serializable

public class TextEvent
extends EventObject

Object passed by EditLive! to raise events and actions.

On occasion it may be necessary to raise a custom event to notify EditLive! of an event.

See Also:
Serialized Form

Nested Class Summary
 class TextEvent.CustomAction
          The set of event codes used as the extra int in custom action events.
 
Field Summary
static int ABOUT_ACTION
          Displays the about dialog.
static int ACCEPT_ALL_CHANGES_ACTION
          Accept all changes in the document.
static int ACCEPT_CHANGE_ACTION
          Accept the first change in the current selection.
static int ADD_ATTRIBUTE_ACTION
          Adds an attribute.
static int ADD_UNDO
          Adds an undo event to the undo manager.
static int ALIGN_CENTER_ACTION
          Centers the current paragraph.
static int ALIGN_LEFT_ACTION
          Aligns the current paragraph left.
static int ALIGN_RIGHT_ACTION
          Aligns the current paragraph right.
static int ALIGN_UPDATE_CENTER
          Notification that the caret is within a section with center alignment set.
static int ALIGN_UPDATE_LEFT
          Notification that the caret is within a section with left alignment set.
static int ALIGN_UPDATE_NONE
          Notification that the caret is within a section with no alignment set.
static int ALIGN_UPDATE_RIGHT
          Notification that the caret is within a section with right alignment set.
static int BACKGROUND_SPELL_CHECKING
          Enables background spell checking
static int BOLD_ACTION
          Bolds the currently selected text.
static int BOLD_UPDATE_OFF
          Notification that bold is off at the current cursor position.
static int BOLD_UPDATE_ON
          Notification that bold is on at the current cursor position.
static int BOOKMARK_ACTION
          Inserts a bookmark or edits one if the selected text already contains one.
static int BROWSER_MODE
          Causes the editor to switch back to browser mode.
static int CAN_REDO
          The event fired when a redo is available.
static int CAN_UNDO
          The event fired when an undo is available.
static int CELL_PROPERTIES_ACTION
          Displays the cell properties dialog.
static int CLEAN_UP
          Prepares the editor for garbage collection by releasing most variable references.
static int CLEAR_STYLES_COMBO
          Clears the styles combo drop down.
static int COLUMN_PROPERTIES_ACTION
          Show the column properties dialog box.
static int CONVERT_ELEMENT_ACTION
          Converts the current element into a user specified element.
static int COPY_ACTION
          Copies the currently selected text.
static int CREATE_SECTION_ACTION
          Creates a Section from the selected text (if there is any)
static int CURRENT_ELEMENT_UPDATE
          Updates the path to the current XML element.
static int CUSTOM_ACTION
          A custom action that has been raised.
static int CUSTOM_INLINE_ACTION
          Apples a custom inline tag to the currently selected text.
static int CUSTOM_INLINE_UPDATE_OFF
          Notification that a Custom Inline tag is off at the current cursor position.
static int CUSTOM_INLINE_UPDATE_ON
          Notification that a Custom Inline tag is on at the current cursor position.
static int CUT_ACTION
          Cuts the currently selected text.
static int DAV_OPEN_ACTION
          Brings up a webdav browser to allow the user to select a file to open from the remote repository.
static int DAV_SAVE_ACTION
          Saves the current file file to the Oracle files repository it was opened from.
static int DAV_SAVEAS_ACTION
          Brings up a webdav browser to allow the user to select a file to save to an Oracle files repository.
static int DEFAULT_CURSOR_ACTION
          Sets the cursor to the default.
static int DELETE_CELL_ACTION
          Deletes a table cell.
static int DELETE_COLUMN_ACTION
          Deletes a table column.
static int DELETE_ROW_ACTION
          Deletes a table row.
static int DESELECT_NODES_ACTION
          Deselects any currently selected XML nodes.
static int DESIGN_VIEW_ACTION
          Change editor pane to Design view.
static int DIRTY_CHANGED
          Used to notify bean listeners that the dirty state of the editor has changed.
static int DISABLE_CHANGE_RENDERING_ACTION
          Disable track changes on the document.
static int DISABLE_TRACK_CHANGES_ACTION
          Disable track changes on the document.
static int DISABLE_UNDO
          Temporarily disables undo events being added when manipulating the document directly.
static int DISPLAY_ACCESSIBILITY_REPORT_ACTION
          Display the accessibility report dialog.
static int DOUBLE_CLICK_ACTION
          Fired when the user double clicks in the HTMLPane.
static int EDIT_CUSTOM_TAG_ACTION
          Edits the selected custom tag.
static int EDIT_MATHML_ACTION
          Edits the MathML equation at the caret position.
static int EDITOR_INITIALIZED
          The notification that the editor has been initialized but the content is not necessarily loaded.
static int ENABLE_CHANGE_RENDERING_ACTION
          Enable track changes rendering on the document.
static int ENABLE_TRACK_CHANGES_ACTION
          Enable track changes on the document.
static int ENABLE_UNDO
          Reenables undo events.
static int FIND_ACTION
          Displays the find dialog.
static int FLUSH_ENTITY_CACHE_ACTION
          Flushes the entity cache and reloads the XML.
static int FONT_COLOR_UPDATE
          Updates the currently selected font color.
static int FONT_NAME_UPDATE
          Notification that the font name (face) at the cursor has changed.
static int FONT_SIZE_ACTION
          Sets the font size for the selected text.
static int FONT_SIZE_UPDATE
          Notification that the font size of the text at the cursor has changed.
static int FONT_STYLE_ACTION
          Sets the style for the current paragraph.
static int FONT_STYLE_UPDATE
          Notification that the font style at the cursor has changed.
static int FONT_TYPE_ACTION
          Sets the font face for the selected text.
static int FORM_CHANGED_UPDATE
          Notification that a form control has changed in some way.
static int FORM_FIELD_PROPERTIES_ACTION
          Notification that the caret is not within a form field.
static int FORM_PROPERTIES_ACTION
          Notification that the caret is not within a form field.
static int FORMAT_PAINTER_ACTION
          Activates the format painter function.
static int FORMAT_PAINTER_OFF
          Turns off the format painter button indicating that no format is ready to be painted anymore.
static int FORMAT_PAINTER_ON
          Turns on the format painter button indicating that a format is ready to be painted.
static int GET_XML_NODE_VALUE
          Retrieves the ID and value of the current XML node.
static int GRIDLINES_ACTION
          Toggle on/off the display of table girdlines.
static int HAVE_CHANGES_UPDATE
          Notification that operations now exist in the document.
static int HIGHLIGHT_COLOR_UPDATE
          Updates the currently selected font color.
static int HR_PROPERTIES_ACTION
          Display the HR properties dialog.
static int HYPERLINK_ACTION
          Inserts a hyperlink or edits one if the selected text already contains one.
static int IMAGE_PROPERTIES_ACTION
          Displays the image properties dialog.
static int IMPORT_WORD_DOCUMENT
          Import a word document from the filesystem
static int IN_BOOKMARK_UPDATE
          Indicates that the caret has been placed inside a hyperlink.
static int IN_CHANGE_UPDATE
          Notification that the current caret position is within an unaccepted change to the document.
static int IN_DIV_UPDATE
          Indicates that the caret has been placed inside a div or that only a div is selected.
static int IN_EDITABLE_CONTENT_UPDATE
          Indicates that the caret is positioned within editable content.
static int IN_FORM
          Notification that the caret is within a form.
static int IN_FORM_FIELD
          Notification that the caret is within a form field.
static int IN_HYPERLINK_UPDATE
          Indicates that the caret has been placed inside a hyperlink.
static int IN_TABLE
          Notification that the caret is within a table.
static int IN_XHTML_UPDATE
          Notification that the caret is within an XHTML block of the XML document.
static int INDENT_ACTION
          Indents the current selection.
static int INSERT_BUTTON_FIELD_ACTION
          Inserts a new BUTTON INPUT element
static int INSERT_CELL_ACTION
          Inserts a table cell.
static int INSERT_CHECKBOX_FIELD_ACTION
          Inserts a new CHECKBOX INPUT element
static int INSERT_COLUMN_ACTION
          Inserts a table column.
static int INSERT_COMMENT
          Inserts an HTML comment.
static int INSERT_DATE_TIME_ACTION
          Opens the Insert Date and Time dialog.
static int INSERT_ELEMENT_ACTION
          Inserts a new element at the current caret location.
static int INSERT_ELEMENT_AFTER_ACTION
          Inserts an element after the current node.
static int INSERT_ELEMENT_BEFORE_ACTION
          Insert an element before the current node.
static int INSERT_FILE_FIELD_ACTION
          Inserts a new FILE INPUT element
static int INSERT_FORM_ACTION
          Inserts a new FORM element if the caret is not currently positioned within an existing FORM
static int INSERT_HIDDEN_FIELD_ACTION
          Inserts a new HIDDEN INPUT element
static int INSERT_HR_ACTION
          Inserts a horizontal rule.
static int INSERT_IMAGE_ACTION
          Inserts an image.
static int INSERT_IMAGE_FIELD_ACTION
          Inserts a new IMAGE INPUT element
static int INSERT_LOCAL_IMAGE_ACTION
          Inserts a local image.
static int INSERT_MATHML_ACTION
          Inserts a MathML equation at the current caret position.
static int INSERT_OBJECT_ACTION
          Show the insert object dialog to allow the user to insert an object tag.
static int INSERT_PASSWORD_FIELD_ACTION
          Inserts a new PASSWORD INPUT element
static int INSERT_RADIO_FIELD_ACTION
          Inserts a new RADIO INPUT element
static int INSERT_RESET_FIELD_ACTION
          Inserts a new RESET INPUT element
static int INSERT_ROW_ACTION
          Inserts a table row.
static int INSERT_ROW_COLUMN_ACTION
          Displays the insert row/column dialog.
static int INSERT_SELECT_FIELD_ACTION
          Inserts a new SELECT INPUT element
static int INSERT_SUBMIT_FIELD_ACTION
          Inserts a new SUBMIT INPUT element
static int INSERT_SYMBOL_ACTION
          Inserts a symbol at the caret position.
static int INSERT_TABLE_ACTION
          Inserts a table.
static int INSERT_TABLE_WIZARD_ACTION
          Insert a table with a specified number of rows and columns.
static int INSERT_TEXT_FIELD_ACTION
          Inserts a new TEXT INPUT element
static int INSERT_TEXTAREA_FIELD_ACTION
          Inserts a new TEXTAREA INPUT element
static int IS_CUSTOM_TAG_UPDATE
          Indicates that the caret has been placed on an image or that only an image is selected.
static int IS_HR_UPDATE
          Indicates that the selection is a HR.
static int IS_IMAGE_UPDATE
          Indicates that the caret has been placed on an image or that only an image is selected.
static int IS_LIST_UPDATE
          Indicates that the caret has been placed in a list.
static int IS_MATHML_UPDATE
          Indicates that the selection is a MathML element.
static int IS_OBJECT_UPDATE
          Indicates that the selection is an object.
static int ITALIC_ACTION
          Italicises the currently selected text.
static int ITALIC_UPDATE_OFF
          Notification that italic is off at the current cursor position.
static int ITALIC_UPDATE_ON
          Notification that italic is on at the current cursor position.
static int IWWCM_DOMINO_FILE
           
static int IWWCM_DOMINO_HYPERLINK
           
static int IWWCM_DOMINO_IMAGE
           
static int IWWCM_HYPERLINK_DIALOG
          Calls to JavaScript to launch the IWWCM 6.0 Insert Hyperlink Dialog
static int IWWCM_IMAGE_DIALOG
          Calls to JavaScript to launch the IWWCM 6.0 Insert Image Dialog
static int JOIN_ELEMENTS_ACTION
          Joins the currently selected XML elements.
static int LINK_CLICKED
          Fired when the user clicks on a link that is not editable.
static int LIST_PROPERTIES_ACTION
          Displays the table properties dialog.
static int LIST_UPDATE_NONE
          Notification that the caret is not within a list.
static int LIST_UPDATE_ORDERED
          Notification that the caret is within an ordered list.
static int LIST_UPDATE_UNORDERED
          Notification that the caret is within an unordered list.
static int LOADING_COMPLETE
          The notification that the editor has completely finished loading.
static int LOG_CURRENT_STATE
          Causes the editor to log its current state.
static int MENU_COLOR_ACTION
          Sets the color for the selected text.
static int MENU_HIGHLIGHT_ACTION
          Sets the background color for the selected text.
static int MENUBAR_CREATED
          Indicates that the menu bar has finished loading
static int MERGE_ACTION
          Merges the selected tables cells.
static int MOVE_ELEMENT_DOWN_ACTION
          Moves the current element down one position in it's parent's child list.
static int MOVE_ELEMENT_UP_ACTION
          Moves the current element up one position in it's parent's child list.
static int NEW_ACTION
          Creates a new document in the editor.
static int NEXT_OPERATION_ACTION
          Select the next unaccepted change after the current caret position.
static int NO_CHANGES_UPDATE
          Notification that there are no operations in the document.
static int NO_TABLE_SELECTION_UPDATE
          Notification that the selection is no longer in table cell mode.
static int NO_TEXT_SELECTED
          Notification that no text is selected in the editor.
static int NOT_CUSTOM_TAG_UPDATE
          Indicates that the caret is no longer on an image.
static int NOT_HR_UPDATE
          Indicates that the selection is not a HR.
static int NOT_IMAGE_UPDATE
          Indicates that the caret is no longer on an image.
static int NOT_IN_BOOKMARK_UPDATE
          Indicates that the caret is no longer in a hyperlink.
static int NOT_IN_CHANGE_UPDATE
          Notification that the current caret position is not within an unaccepted change to the document.
static int NOT_IN_DIV_UPDATE
          Indicates that the caret is no longer inside a div.
static int NOT_IN_EDITABLE_CONTENT_UPDATE
          Indicates that the caret is positioned within uneditable content.
static int NOT_IN_FORM
          Notification that the caret is not within a form.
static int NOT_IN_FORM_FIELD
          Notification that the caret is not within a form field.
static int NOT_IN_HYPERLINK_UPDATE
          Indicates that the caret is no longer in a hyperlink.
static int NOT_IN_TABLE
          Notification that the caret is not within a table.
static int NOT_IN_XHTML_UPDATE
          Notification that the caret is not within an XHTML block of the XML document.
static int NOT_MATHML_UPDATE
          Indicates that the selection is not a MathML element.
static int NOT_OBJECT_UPDATE
          Indicates that the selection is not an object.
static int OBJECT_PROPERTIES_ACTION
          Show the object properties dialog.
static int OPEN_ACTION
          Opens a document in the editor.
static int ORDERED_LIST_ACTION
          Inserts an ordered list.
static int OUTDENT_ACTION
          Outdents the current selection.
static int PARAGRAPH_MARKER_ACTION
          Toggles the paragraph marker on and off.
static int PARAGRAPH_MARKER_UPDATE_OFF
          Notification that the paragraph marker is off.
static int PARAGRAPH_MARKER_UPDATE_ON
          Notification that the paragraph marker is on.
static int PASTE_ACTION
          Pastes the contents of the clipboard.
static int PASTE_SPECIAL_ACTION
          Pastes the contents of the clipboard using the selected method from the Paste Special dialog.
static int POPULATE_STYLES_COMBO
          Populates the styles combo.
static int PREVIEW_IN_BROWSER_ACTION
          Previews the content of the current view in the system default browser.
static int PREVIOUS_OPERATION_ACTION
          Select the first unaccepted change before the current caret position.
static int PRINT_ACTION
          Prints the current editor contents in a new browser window.
static int REDO_ACTION
          Causes the last undone action to be redone.
static int REFORMAT
          Reformats the text in source view.
static int REINITIALIZE
          Reinitializes the bean.
static int REJECT_ALL_CHANGES_ACTION
          Accept all changes in the document.
static int REJECT_CHANGE_ACTION
          Reject the first change in the current selection.
static int RELOAD_XHTML_BLOCK
          Reloads the content of the current xhtml block so that it has the correct data
static int REMOVE_BOOKMARK_ACTION
          Removes the bookmark at the cursor
static int REMOVE_ELEMENT_ACTION
          Removes the current node.
static int REMOVE_FORMATTING_ACTION
          Remove the formatting from the current selection.
static int REMOVE_HYPERLINK_ACTION
          Removes the hyperlink from the current selection.
static int REMOVE_SECTION_ACTION
          Removes the Section at the cursor location
static int REPLACE_WORD_ACTION
          Replaces the current word in the HTMLPane with the extra string of the event.
static int ROW_PROPERTIES_ACTION
          Show the row properties dialog box.
static int SAVE_ACTION
          Saves the current document to a file.
static int SAVE_AS_ACTION
          Saves the current document to a file the user specifies.
static int SCRIPT_UPDATE_SUB_OFF
          Toggles the sub button off.
static int SCRIPT_UPDATE_SUB_ON
          Toggles sub button on
static int SCRIPT_UPDATE_SUP_OFF
          Toggles the sup button off.
static int SCRIPT_UPDATE_SUP_ON
          Toggles sup button on.
static int SECTION_PROPERTIES_ACTION
          Displays the Section properties dialog.
static int SELECT_ALL_ACTION
          Selects the entire document.
static int SELECT_NODE_ACTION
          Selects the node with the ephoxid matching the extra string.
static int SELECT_OPERATION_ACTION
          Select the range affected by a track changes operation.
static int SET_CARET_POSITION
          Scroll the design view to the specified position.
static int SET_USERNAME
          Set the user name for the current user.
static int SET_XSLT
          Sets the XSLT to use to process the document.
static int SHOW_ATTRIBUTE_PANE_ACTION
          Shows or hides the attribute pane.
static int SHOW_CONTEXT_MENU
          Shows the contextual menu.
static int SHOW_CUSTOM_PROPERTIES
          Indicates that a custom properties dialog should be shown by the host of the bean.
static int SHOW_DOCUMENT_NAVIGATOR_ACTION
          Shows or hides the document navigator.
static int SHOW_TAGS_ACTION
          Toggles whether or not tags are shown.
static int SHOW_TRACK_CHANGES_DIALOG
          Show the track changes dialog.
static int SHOW_TREE_VIEW_ACTION
          Shows or hides the tree view.
static int SHOW_VALIDATION_PANE_ACTION
          Shows or hides the validation pane.
static int SOME_TEXT_SELECTED
          Notification that some text is selected in the editor.
static int SPELLING_ACTION
          Spell checks the document.
static int SPELLING_FINISHED
          Fired when the spelling dialog is closed.
static int SPLIT_ACTION
          Splits the current table cell.
static int STORE_XHTML_ACTION
          Store the contents of an XHTML section.
static int STRIKE_ACTION
          Adds strikethrough to the currently selected text.
static int STRIKE_UPDATE_OFF
          Notification that strikethrough is off at the current cursor position.
static int STRIKE_UPDATE_ON
          Notification that strikethrough is on at the current cursor position.
static int SUB_ACTION
          Sub the currently selected text.
static int SUP_ACTION
          Sup the currently selected text.
static int SYNC_XHTML_ACTION
          Synchronises the current XHTML block and XML content so they are up to date.
static int TAB_CHANGED_ACTION
          Notification that the user has selected a different tab.
static int TAB_CHANGED_UPDATE
          Notifies the tab row that it should update the selected tab.
static int TABLE_AUTOFIT
          Automatically sizes columns in the current table
static int TABLE_PROPERTIES_ACTION
          Displays the table properties dialog.
static int TABLE_SELECTION_UPDATE
          Notification that the selection is now in table cell mode.
static int TAG_LIST_UPDATE
          An updated list of tags that form the containment hierarchy at the current caret position.
static int TARGET_VIEW_CHANGE
          Indicates that the target JTextComponent for cut, copy, paste and similar actions should be changed.
static int TEXT_VIEW_ACTION
          Change editor pane to text view.
static int THESAURUS_DIALOG_ACTION
          Shows the Thesaurus Dialog.
static int TOOLBAR_COLOR_ACTION
          Displays the dropdown color menu for the toolbar.
static int TOOLBAR_CREATED
          Indicates that the toolbar has finished loading
static int UNDERLINE_ACTION
          Underlines the currently selected text.
static int UNDERLINE_UPDATE_OFF
          Notification that underline is off at the current cursor position.
static int UNDERLINE_UPDATE_ON
          Notification that underline is on at the current cursor position.
static int UNDO_ACTION
          Causes the last action to be undone.
static int UNDO_ADDED
          The event that is broadcasted when an undo event has been added to the undo/redo manager.
static int UNORDERED_LIST_ACTION
          Inserts an unordered list.
static int UPDATE_LOAD_PROGRESS
          Updates the progress bar while the applet is loading.
static int UPLOAD_FORM_ACTION
          Deprecated. The form is now uploaded by the browser as normal.
static int VALIDATE_XML_ACTION
          Validates the current XML.
static int WAIT_CURSOR_ACTION
          Sets the cursor to the busy cursor.
static int WINDOW_MODE
          Causes the editor to switch to window mode.
static int WORD_COUNT_ACTION
          Displays the word count dialog.
static int XML_CHANGED_UPDATE
          Indicates that the XML DOM has been changed directly and the HTML DOM should be refreshed.
static int XML_CLEAR_ERRORS
          Clears any cached error notifications.
static int XML_ERROR_UPDATE
          The update sent to report an error in the XML document.
static int XML_FOCUS_ELEMENT
          Causes the focus to be moved to the first text field in the representation for an XML element.
static int XML_VALIDATION_FINISHED
          Notification that validation of the xml has finished.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TextEvent(Object source, int action, Object extraS, int extraI)
          Creates a new TextEvent.
 
Method Summary
 boolean equals(Object o)
          
 int getActionCommand()
          Get the action name.
 int getExtraInt()
          Gets the extra int information.
 Object getExtraObject()
          Gets the extra object information.
 String getExtraString()
          Gets the extra object information as a String.
 int hashCode()
          
 boolean isHandled()
          Determines whether or not this event has already been handled.
 void setExtraString(String string)
           
 void setHandled(boolean b)
          Sets whether or not this event has been handled.
 String toString()
          Returns a String representation of this TextEvent.
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CAN_REDO

public static final int CAN_REDO
The event fired when a redo is available.

See Also:
Constant Field Values

CAN_UNDO

public static final int CAN_UNDO
The event fired when an undo is available.

See Also:
Constant Field Values

REDO_ACTION

public static final int REDO_ACTION
Causes the last undone action to be redone.

See Also:
Constant Field Values

UNDO_ACTION

public static final int UNDO_ACTION
Causes the last action to be undone.

See Also:
Constant Field Values

WINDOW_MODE

public static final int WINDOW_MODE
Causes the editor to switch to window mode. Not available in the bean version.

See Also:
Constant Field Values

BROWSER_MODE

public static final int BROWSER_MODE
Causes the editor to switch back to browser mode. Not available in the bean version.

See Also:
Constant Field Values

CLEAN_UP

public static final int CLEAN_UP
Prepares the editor for garbage collection by releasing most variable references. The editor would be garbage collected anyway, this event simply makes the garbage collection more efficient by reducing the number of circular references. This event should not be fired in the JavaBean.

See Also:
Constant Field Values

CLEAR_STYLES_COMBO

public static final int CLEAR_STYLES_COMBO
Clears the styles combo drop down. NOTE: This has been deprecated and will do nothing if used in an event.

See Also:
Constant Field Values

POPULATE_STYLES_COMBO

public static final int POPULATE_STYLES_COMBO
Populates the styles combo.

See Also:
Constant Field Values

SOME_TEXT_SELECTED

public static final int SOME_TEXT_SELECTED
Notification that some text is selected in the editor.

See Also:
Constant Field Values

NO_TEXT_SELECTED

public static final int NO_TEXT_SELECTED
Notification that no text is selected in the editor.

See Also:
Constant Field Values

NOT_IN_TABLE

public static final int NOT_IN_TABLE
Notification that the caret is not within a table.

See Also:
Constant Field Values

IN_TABLE

public static final int IN_TABLE
Notification that the caret is within a table.

See Also:
Constant Field Values

LIST_UPDATE_NONE

public static final int LIST_UPDATE_NONE
Notification that the caret is not within a list.

See Also:
Constant Field Values

LIST_UPDATE_ORDERED

public static final int LIST_UPDATE_ORDERED
Notification that the caret is within an ordered list.

See Also:
Constant Field Values

LIST_UPDATE_UNORDERED

public static final int LIST_UPDATE_UNORDERED
Notification that the caret is within an unordered list.

See Also:
Constant Field Values

ALIGN_UPDATE_NONE

public static final int ALIGN_UPDATE_NONE
Notification that the caret is within a section with no alignment set.

See Also:
Constant Field Values

ALIGN_UPDATE_LEFT

public static final int ALIGN_UPDATE_LEFT
Notification that the caret is within a section with left alignment set.

See Also:
Constant Field Values

ALIGN_UPDATE_CENTER

public static final int ALIGN_UPDATE_CENTER
Notification that the caret is within a section with center alignment set.

See Also:
Constant Field Values

ALIGN_UPDATE_RIGHT

public static final int ALIGN_UPDATE_RIGHT
Notification that the caret is within a section with right alignment set.

See Also:
Constant Field Values

FONT_SIZE_UPDATE

public static final int FONT_SIZE_UPDATE
Notification that the font size of the text at the cursor has changed. The extra string should be the new font size.

See Also:
Constant Field Values

FONT_STYLE_UPDATE

public static final int FONT_STYLE_UPDATE
Notification that the font style at the cursor has changed. The extra string should be the new font style.

See Also:
Constant Field Values

FONT_NAME_UPDATE

public static final int FONT_NAME_UPDATE
Notification that the font name (face) at the cursor has changed. The extra string should be the new font name.

See Also:
Constant Field Values

UNDERLINE_UPDATE_OFF

public static final int UNDERLINE_UPDATE_OFF
Notification that underline is off at the current cursor position.

See Also:
Constant Field Values

UNDERLINE_UPDATE_ON

public static final int UNDERLINE_UPDATE_ON
Notification that underline is on at the current cursor position.

See Also:
Constant Field Values

ITALIC_UPDATE_OFF

public static final int ITALIC_UPDATE_OFF
Notification that italic is off at the current cursor position.

See Also:
Constant Field Values

ITALIC_UPDATE_ON

public static final int ITALIC_UPDATE_ON
Notification that italic is on at the current cursor position.

See Also:
Constant Field Values

BOLD_UPDATE_OFF

public static final int BOLD_UPDATE_OFF
Notification that bold is off at the current cursor position.

See Also:
Constant Field Values

BOLD_UPDATE_ON

public static final int BOLD_UPDATE_ON
Notification that bold is on at the current cursor position.

See Also:
Constant Field Values

DESIGN_VIEW_ACTION

public static final int DESIGN_VIEW_ACTION
Change editor pane to Design view.

See Also:
Constant Field Values

TEXT_VIEW_ACTION

public static final int TEXT_VIEW_ACTION
Change editor pane to text view.

See Also:
Constant Field Values

CUT_ACTION

public static final int CUT_ACTION
Cuts the currently selected text.

See Also:
Constant Field Values

COPY_ACTION

public static final int COPY_ACTION
Copies the currently selected text.

See Also:
Constant Field Values

PASTE_ACTION

public static final int PASTE_ACTION
Pastes the contents of the clipboard.

See Also:
Constant Field Values

SELECT_ALL_ACTION

public static final int SELECT_ALL_ACTION
Selects the entire document.

See Also:
Constant Field Values

ALIGN_RIGHT_ACTION

public static final int ALIGN_RIGHT_ACTION
Aligns the current paragraph right.

See Also:
Constant Field Values

ALIGN_LEFT_ACTION

public static final int ALIGN_LEFT_ACTION
Aligns the current paragraph left.

See Also: