org.hyperscala.ui.wrapped

EditableContent

class EditableContent extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EditableContent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def backColor: Option[Color]

    The current selected backColor.

    The current selected backColor. This only works if realtimeSelection is set to true.

  8. def backColor(color: Color): Unit

    Changes the document background color.

    Changes the document background color. In styleWithCss mode, it affects the background color of the containing block instead. This requires a color value string to be passed in as a value argument. (Internet Explorer uses this to set text background color.)

    color

    the background color to use

  9. def bold(): Unit

    Toggles bold on/off for the selection or at the insertion point.

    Toggles bold on/off for the selection or at the insertion point. (Internet Explorer uses the STRONG tag instead of B.)

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val contentChanged: UnitProcessor[ContentChanged]

  12. def contentReadOnly(flag: Boolean): Unit

    Makes the content document either read-only or editable.

    Makes the content document either read-only or editable. This requires a boolean true/false to be passed in as a value argument. (Not supported by Internet Explorer.)

    flag

    whether to set the content read-only

  13. def copy(): Unit

    Copies the current selection to the clipboard.

    Copies the current selection to the clipboard. Clipboard capability must be enabled in the user.js preference file.

  14. def createLink(link: String): Unit

    Creates an anchor link from the selection, only if there is a selection.

    Creates an anchor link from the selection, only if there is a selection. This requires the HREF URI string to be passed in as a value argument. The URI must contain at least a single character, which may be a white space. (Internet Explorer will create a link with a null URI value.)

    link

    to create

  15. def cut(): Unit

    Cuts the current selection and copies it to the clipboard.

    Cuts the current selection and copies it to the clipboard. Clipboard capability must be enabled in the user.js preference file.

  16. def decreaseFontSize(): Unit

    Adds a SMALL tag around the selection or at the insertion point.

    Adds a SMALL tag around the selection or at the insertion point. (Not supported by Internet Explorer.)

  17. def delete(): Unit

    Deletes the current selection.

  18. def enableInlineTableEditing(): Unit

    Enables or disables the table row and column insertion and deletion controls.

    Enables or disables the table row and column insertion and deletion controls. (Not supported by Internet Explorer.)

  19. def enableObjectResizing(): Unit

    Enables or disables the resize handles on images and other resizable objects.

    Enables or disables the resize handles on images and other resizable objects. (Not supported by Internet Explorer.)

  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  22. def execCommand(command: String, value: Any = null): Unit

  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. def fontName: Option[String]

    The current selected font name.

    The current selected font name. This only works if realtimeSelection is set to true.

  25. def fontName(name: String): Unit

    Changes the font name for the selection or at the insertion point.

    Changes the font name for the selection or at the insertion point. This requires a font name string ("Arial" for example) to be passed in as a value argument.

    name

    of the font

  26. def fontSize: Option[Int]

    The current selected font size.

    The current selected font size. This only works if realtimeSelection is set to true.

  27. def fontSize(size: Int): Unit

    Changes the font size for the selection or at the insertion point.

    Changes the font size for the selection or at the insertion point. This requires an HTML font size (1-7) to be passed in as a value argument.

    size

    of the font

  28. def foreColor: Option[Color]

    The current selected foreground color.

    The current selected foreground color. This only works if realtimeSelection is set to true.

  29. def foreColor(color: Color): Unit

    Changes a font color for the selection or at the insertion point.

    Changes a font color for the selection or at the insertion point. This requires a color value string to be passed in as a value argument.

    color

    to set the foreground to

  30. def formatBlock(tagName: String): Unit

    Adds an HTML block-style tag around the line containing the current selection, replacing the block element containing the line if one exists (in Firefox, BLOCKQUOTE is the exception - it will wrap any containing block element).

    Adds an HTML block-style tag around the line containing the current selection, replacing the block element containing the line if one exists (in Firefox, BLOCKQUOTE is the exception - it will wrap any containing block element). Requires a tag-name string to be passed in as a value argument. Virtually all block style tags can be used (eg. "H1", "P", "DL", "BLOCKQUOTE"). (Internet Explorer supports only heading tags H1 - H6, ADDRESS, and PRE, which must also include the tag delimiters < >, such as "<H1>".)

    tagName

    to format with

  31. def forwardDelete(): Unit

    Deletes the character ahead of the cursor's position.

    Deletes the character ahead of the cursor's position. It is the same as hitting the delete key.

  32. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  33. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  34. def heading(tagName: String): Unit

    Adds a heading tag around a selection or insertion point line.

    Adds a heading tag around a selection or insertion point line. Requires the tag-name string to be passed in as a value argument (i.e. "H1", "H6"). (Not supported by Internet Explorer.)

    tagName

    to format with

  35. def hiliteColor: Option[Color]

    The current selected selection background color.

    The current selected selection background color. This only works if realtimeSelection is set to true.

  36. def hiliteColor(color: Color): Unit

    Changes the background color for the selection or at the insertion point.

    Changes the background color for the selection or at the insertion point. Requires a color value string to be passed in as a value argument. UseCSS must be turned on for this to function. (Not supported by Internet Explorer.)

    color

    to highlight the background upon selection

  37. def increaseFontSize(): Unit

    Adds a BIG tag around the selection or at the insertion point.

    Adds a BIG tag around the selection or at the insertion point. (Not supported by Internet Explorer.)

  38. def indent(): Unit

    Indents the line containing the selection or insertion point.

    Indents the line containing the selection or insertion point. In Firefox, if the selection spans multiple lines at different levels of indentation, only the least indented lines in the selection will be indented.

  39. def insertBrOnReturn(): Unit

    Controls whether the Enter key inserts a br tag or splits the current block element into two.

    Controls whether the Enter key inserts a br tag or splits the current block element into two. (Not supported by Internet Explorer.)

  40. def insertHTML(html: String): Unit

    Inserts an HTML string at the insertion point (deletes selection).

    Inserts an HTML string at the insertion point (deletes selection). Requires a valid HTML string to be passed in as a value argument. (Not supported by Internet Explorer.)

    html

    to insert

  41. def insertHorizontalRule(): Unit

    Inserts a horizontal rule at the insertion point (deletes selection).

  42. def insertImage(uri: String): Unit

    Inserts an image at the insertion point (deletes selection).

    Inserts an image at the insertion point (deletes selection). Requires the image SRC URI string to be passed in as a value argument. The URI must contain at least a single character, which may be a white space. (Internet Explorer will create a link with a null URI value.)

    uri

    to represent the src of the image

  43. def insertOrderedList(): Unit

    Creates a numbered ordered list for the selection or at the insertion point.

  44. def insertParagraph(): Unit

    Inserts a paragraph around the selection or the current line.

    Inserts a paragraph around the selection or the current line. (Internet Explorer inserts a paragraph at the insertion point and deletes the selection.)

  45. def insertText(text: String): Unit

    Inserts the given plain text at the insertion point (deletes selection).

    Inserts the given plain text at the insertion point (deletes selection).

    text

    to insert

  46. def insertUnorderedList(): Unit

    Creates a bulleted unordered list for the selection or at the insertion point.

  47. def isBold: Option[Boolean]

    The current selected bold state.

    The current selected bold state. This only works if realtimeSelection is set to true.

  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. def isItalic: Option[Boolean]

    The current selected italic state.

    The current selected italic state. This only works if realtimeSelection is set to true.

  50. def isJustifyCenter: Option[Boolean]

    The current selected justify center state.

    The current selected justify center state. This only works if realtimeSelection is set to true.

  51. def isJustifyFull: Option[Boolean]

    The current selected justify full state.

    The current selected justify full state. This only works if realtimeSelection is set to true.

  52. def isJustifyLeft: Option[Boolean]

    The current selected justify left state.

    The current selected justify left state. This only works if realtimeSelection is set to true.

  53. def isJustifyRight: Option[Boolean]

    The current selected justify right state.

    The current selected justify right state. This only works if realtimeSelection is set to true.

  54. def isStrikeThrough: Option[Boolean]

    The current selected strike-through state.

    The current selected strike-through state. This only works if realtimeSelection is set to true.

  55. def isSubscript: Option[Boolean]

    The current selected subscript state.

    The current selected subscript state. This only works if realtimeSelection is set to true.

  56. def isSuperscript: Option[Boolean]

    The current selected superscript state.

    The current selected superscript state. This only works if realtimeSelection is set to true.

  57. def isUnderline: Option[Boolean]

    The current selected underline state.

    The current selected underline state. This only works if realtimeSelection is set to true.

  58. def italic(): Unit

    Toggles italics on/off for the selection or at the insertion point.

    Toggles italics on/off for the selection or at the insertion point. (Internet Explorer uses the EM tag instead of I.)

  59. def justifyCenter(): Unit

    Centers the selection or insertion point.

  60. def justifyFull(): Unit

    Justifies the selection or insertion point.

  61. def justifyLeft(): Unit

    Justifies the selection or insertion point to the left.

  62. def justifyRight(): Unit

    Right-justifies the selection or the insertion point.

  63. def link: Option[String]

    The current selected link value.

    The current selected link value. This only works if realtimeSelection is set to true.

  64. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  65. final def notify(): Unit

    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  67. def outdent(): Unit

    Outdents the line containing the selection or insertion point.

  68. def paste(): Unit

    Pastes the clipboard contents at the insertion point (replaces current selection).

    Pastes the clipboard contents at the insertion point (replaces current selection). Clipboard capability must be enabled in the user.js preference file.

  69. val realtimeContent: Property[Boolean]

    Determines whether content changes that occur on the client should propagate back to the server immediately.

    Determines whether content changes that occur on the client should propagate back to the server immediately. If this is set to false, changes propagate back upon blur.

    Defaults to false.

  70. val realtimeSelection: Property[Boolean]

    Determines whether selection events that occur on the client should propagate back to the server immediately.

    Determines whether selection events that occur on the client should propagate back to the server immediately.

    Defaults to false.

  71. def redo(): Unit

    Redoes the previous undo command.

  72. def removeFormat(): Unit

    Removes all formatting from the current selection.

  73. def selectAll(): Unit

    Selects all of the content of the editable region.

  74. def selectedEndOffset: Option[Int]

    The current selected end offset.

    The current selected end offset. This only works if realtimeSelection is set to true.

  75. def selectedHTML: Option[String]

    The current selected HTML.

    The current selected HTML. This only works if realtimeSelection is set to true.

  76. def selectedStartOffset: Option[Int]

    The current selected start offset.

    The current selected start offset. This only works if realtimeSelection is set to true.

  77. def selectedText: Option[String]

    The currently selected text without formatting.

    The currently selected text without formatting. This only works if realtimeSelection is set to true.

  78. val selectionChanged: UnitProcessor[SelectionChanged]

  79. def strikeThrough(): Unit

    Toggles strikethrough on/off for the selection or at the insertion point.

  80. def styleWithCSS(flag: Boolean): Unit

    Toggles the use of HTML tags or CSS for the generated markup.

    Toggles the use of HTML tags or CSS for the generated markup. Requires a boolean true/false as a value argument.

    flag

    true modifies/generates style attributes in markup, false generates formatting elements.

  81. def subscript(): Unit

    Toggles subscript on/off for the selection or at the insertion point.

  82. def superscript(): Unit

    Toggles superscript on/off for the selection or at the insertion point.

  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  84. def toString(): String

    Definition Classes
    AnyRef → Any
  85. def underline(): Unit

    Toggles underline on/off for the selection or at the insertion point.

  86. def undo(): Unit

    Undoes the last executed command.

  87. def unlink(): Unit

    Removes the anchor tag from a selected anchor link.

  88. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  89. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped