org.hyperscala.ui.widgets

RichEditor

class RichEditor extends WrappedComponent[HTMLTag]

Linear Supertypes
WrappedComponent[HTMLTag], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichEditor
  2. WrappedComponent
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. def a11yHelp(): Unit

    Displays accessibility instructions.

  5. def about(): Unit

    Displays CKEDITOR's About dialog.

  6. def accessNextSpace(): Unit

  7. def accessPreviousSpace(): Unit

  8. def afterInit(f: JavaScriptContent, onlyRealtime: Boolean = false): Unit

    Invokes the supplied JavaScript after this editor has completed initialization.

    Invokes the supplied JavaScript after this editor has completed initialization.

    f

    the content to execute

    onlyRealtime

    true if this should only be executed after page rendering is complete

  9. def afterInit(f: ⇒ Unit): Unit

    Definition Classes
    WrappedComponent
  10. def anchor(): Unit

    Displays the anchor editor dialog (creates a named anchor on the page that can be linked to).

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. val autoInit: Boolean

    Definition Classes
    RichEditor → WrappedComponent
  13. def bidiltr(): Unit

    Specifies the content within the selected range should represent language left-to-right.

  14. def bidirtl(): Unit

    Specifies the content within the selected range should represent language right-to-left.

  15. def blockquote(): Unit

    Toggle blockquote status.

  16. def blur(): Unit

  17. def blurBack(): Unit

  18. def bold(): Unit

    Toggles bold state on the selected content.

  19. def bulletedList(): Unit

    Toggles the selected content within a bulleted list.

  20. def bulletedListStyle(): Unit

    Displays a dialog for styling the current bulleted list (will not create one).

  21. def button(): Unit

    Displays the create/edit button dialog.

  22. def cellDelete(): Unit

  23. def cellHorizontalSplit(): Unit

  24. def cellInsertAfter(): Unit

  25. def cellInsertBefore(): Unit

  26. def cellMerge(): Unit

  27. def cellMergeDown(): Unit

  28. def cellMergeRight(): Unit

  29. def cellProperties(): Unit

  30. def cellVerticalSplit(): Unit

  31. def checkSpell(): Unit

  32. def checkbox(): Unit

    Displays the create/edit checkbox dialog.

  33. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def colorDialog(): Unit

    Displays the color dialog.

    Displays the color dialog.

    TODO: figure out how to leverage the resulting color.

  35. def columnDelete(): Unit

  36. def columnInsertAfter(): Unit

  37. def columnInsertBefore(): Unit

  38. def contextMenu(): Unit

    Toggles the visibility of the context menu.

  39. def copy(): Unit

    Copies the selected range and stores in the clipboard.

    Copies the selected range and stores in the clipboard. This requires browser security permissions set to allow access to the clipboard from JavaScript.

  40. def createDiv(): Unit

    Displays the create div dialog.

    Displays the create div dialog.

    TODO: figure out if this actually inserts the div?

  41. def cut(): Unit

    Cuts the selected range and stores in the clipboard.

    Cuts the selected range and stores in the clipboard. This requires browser security permissions set to allow access to the clipboard from JavaScript.

  42. def delete(): Unit

    Deletes the current selection

  43. def editDiv(): Unit

    TODO: figure out how this works

  44. val editing: Property[Boolean]

  45. def elementsPathFocus(): Unit

  46. def enableClipboard(): Unit

    Configures the Clipboard module to integrate with this editor.

  47. def enter(): Unit

    Mimics pressing the enter key on the keyboard in the editor.

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

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

    Definition Classes
    AnyRef → Any
  50. def execApplyStyle(style: RichEditorStyle): Unit

  51. def execCommand(command: String, value: Any = null): Unit

  52. def execRemoveStyle(style: RichEditorStyle): Unit

  53. def execToggleStyle(style: RichEditorStyle): Unit

  54. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  55. def find(): Unit

    Displays the find dialog to search the editor for specific content.

  56. def flash(): Unit

  57. def fontFamily(family: String): Unit

    Applies the specified font family to the the selected content.

    Applies the specified font family to the the selected content.

    family

    represents the font-family to apply to the selection.

  58. def fontSize(size: FontSize): Unit

    Applies the specified font size to the selected content.

    Applies the specified font size to the selected content.

    size

    represents the size to apply to the selection.

  59. def fontStyle(style: FontStyle): Unit

  60. def fontWeight(weight: FontWeight): Unit

  61. def form(): Unit

    Display form editor popup for the current selection.

    Display form editor popup for the current selection. If a form doesn't already exist a new one will be created.

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

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

    Definition Classes
    AnyRef → Any
  64. def hiddenField(): Unit

    Displays the create/edit hidden field dialog.

  65. def horizontalRule(): Unit

    Inserts a horizontal rule at the selected area.

  66. lazy val html: JavaScriptProperty[String]

    Reflects the HTML content of the editor.

    Reflects the HTML content of the editor.

    Defaults to the innerHTML value of wrapped.

  67. def iframe(): Unit

    Displays the create/edit iframe dialog.

  68. def image(): Unit

    Displays the create/edit image dialog.

  69. def imageButton(): Unit

    Displays the create/edit image button dialog.

  70. def indent(): Unit

    Increases the indentation of the selection.

  71. def init(): Unit

    Definition Classes
    WrappedComponent
  72. def initializeComponent(values: Map[String, Any]): Unit

    Attributes
    protected
    Definition Classes
    RichEditor → WrappedComponent
  73. def initialized: Boolean

    Definition Classes
    WrappedComponent
  74. lazy val inline: Property[Boolean]

    Whether this editor should be inlined (use contenteditable) or the standard ckeditor.

    Whether this editor should be inlined (use contenteditable) or the standard ckeditor. If using the standard ckeditor an iframe will be used for the content and the toolbar will appear above the editor. When inlined the content will be edited directly and the toolbar will float when editing.

    This property will not do anything after the editor has been instantiated.

    Defaults to true.

  75. def insert(content: String, mode: InsertMode): Unit

    Inserts the supplied content at the current selection.

    Inserts the supplied content at the current selection. The selected text will be replaced with this content.

    content

    the HTML content to insert.

    mode

    the insertion mode to use.

  76. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  77. def italic(): Unit

    Toggles italic state on the selected content.

  78. def justifyBlock(): Unit

    Sets the justification to block forthe selection.

  79. def justifyCenter(): Unit

    Sets the justification to center for the selection.

  80. def justifyLeft(): Unit

    Sets the justification to left for the selection.

  81. def justifyRight(): Unit

    Sets the justification to right for the selection.

  82. def link(): Unit

    Displays the link editor dialog.

  83. def maximize(): Unit

    Toggles the maximized state of the editor.

  84. def modify(key: String, value: Any): Unit

    Attributes
    protected
    Definition Classes
    RichEditor → WrappedComponent
  85. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  86. def newPage(): Unit

    Clears the editor of all content and resets.

  87. final def notify(): Unit

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

    Definition Classes
    AnyRef
  89. def numberedList(): Unit

    Toggles the selected content within a numbered list.

  90. def numberedListStyle(): Unit

    Displays a dialog for styling the current numbered list (will not create one).

  91. def onBold(action: JSFunction1[Boolean, Unit]): Unit

    Invokes the supplied action when the state of bold in the selection changes.

    Invokes the supplied action when the state of bold in the selection changes.

    action

    the action to invoke taking a Boolean of the current status.

  92. def onFontFamily(action: JSFunction1[String, Unit]): Unit

    Invokes the supplied action when the value of the font-family changes in the selectoin.

    Invokes the supplied action when the value of the font-family changes in the selectoin.

    action

    the action function that is called when font-family changes with the size as a String or null.

  93. def onFontSize(action: JSFunction1[String, Unit]): Unit

    Invokes the supplied action when the value of the font-size changes in the selectoin.

    Invokes the supplied action when the value of the font-size changes in the selectoin.

    action

    the action function that is called when font-size changes with the size as a String or null.

  94. def onFontStyle(action: JSFunction1[String, Unit]): Unit

  95. def onFontWeight(action: JSFunction1[String, Unit]): Unit

  96. def onItalic(action: JSFunction1[Boolean, Unit]): Unit

    Invokes the supplied action when the state of italic in the selection changes.

    Invokes the supplied action when the state of italic in the selection changes.

    action

    the action to invoke taking a Boolean of the current status.

  97. def onStrike(action: JSFunction1[Boolean, Unit]): Unit

    Invokes the supplied action when the state of strike-through in the selection changes.

    Invokes the supplied action when the state of strike-through in the selection changes.

    action

    the action to invoke taking a Boolean of the current status.

  98. def onStyleChange(action: JSFunction1[Boolean, Unit], style: RichEditorStyle): Unit

    Invokes the supplied action when the state of the supplied style changes on the current selection.

    Invokes the supplied action when the state of the supplied style changes on the current selection.

    For example, passing "b" as the element invokes action when the selection status of being wrapped in a bold tag changes.

    action

    the JavaScript action to take when the state changes

    style

    the style to listen to

  99. def onStyleValueChange(action: JSFunction1[String, Unit], cssStyle: Style[_]): Unit

    Invokes the supplied action when the state of the supplied css style changes on the current selection.

    Invokes the supplied action when the state of the supplied css style changes on the current selection.

    action

    the JavaScript action to take when the state changes

    cssStyle

    the Style to listen to

  100. def onSubscript(action: JSFunction1[Boolean, Unit]): Unit

    Invokes the supplied action when the state of subscript in the selection changes.

    Invokes the supplied action when the state of subscript in the selection changes.

    action

    the action to invoke taking a Boolean of the current status.

  101. def onSuperscript(action: JSFunction1[Boolean, Unit]): Unit

    Invokes the supplied action when the state of superscript in the selection changes.

    Invokes the supplied action when the state of superscript in the selection changes.

    action

    the action to invoke taking a Boolean of the current status.

  102. def onUnderline(action: JSFunction1[Boolean, Unit]): Unit

    Invokes the supplied action when the state of underline in the selection changes.

    Invokes the supplied action when the state of underline in the selection changes.

    action

    the action to invoke taking a Boolean of the current status.

  103. def option(key: String, value: Any): Unit

    Definition Classes
    WrappedComponent
  104. def outdent(): Unit

    Decreases the indentation of the selection.

  105. def pageBreak(): Unit

    Inserts a page break.

  106. def pastFromWord(): Unit

    Displays the paste from Word dialog.

  107. def paste(): Unit

    Pastes the selected range from the clipboard.

    Pastes the selected range from the clipboard. This requires browser security permissions set to allow access to the clipboard from JavaScript.

  108. def pasteText(): Unit

    Displays the paste as plain text dialog.

  109. def preview(): Unit

    Previews the content.

  110. def print(): Unit

    Displays the print dialog.

  111. def property[T](name: String, default: T, includeDefault: Boolean, toJS: (T) ⇒ JavaScriptContent)(implicit manifest: Manifest[T]): JavaScriptProperty[T]

    Attributes
    protected
    Definition Classes
    WrappedComponent
  112. def radio(): Unit

    Displays the create/edit radio dialog.

  113. lazy val readOnly: JavaScriptProperty[Boolean]

    Whether this editor is read-only.

    Whether this editor is read-only.

    Defaults to false.

  114. def redo(): Unit

  115. def removeAnchor(): Unit

    Removes the anchor from the selection.

  116. def removeDiv(): Unit

    TODO: figure out how this works

  117. def removeFormat(): Unit

    Removes formatting from the selected content.

  118. def replace(): Unit

    Displays the replace dialog to search the editor for specific content and replace it.

  119. def rowDelete(): Unit

  120. def rowInsertAfter(): Unit

  121. def rowInsertBefore(): Unit

  122. def save(): Unit

  123. def scaytCheck(): Unit

    Enables spell checking addon.

  124. def select(): Unit

    Displays the create/edit select dialog.

  125. def selectAll(): Unit

  126. def selectNextCell(): Unit

  127. def selectPreviousCell(): Unit

  128. def shiftEnter(): Unit

    Mimics pressing the enter key on the keyboard in the editor while holding down the shift key.

  129. lazy val showAboutButton: JavaScriptProperty[Boolean]

  130. def showBlocks(): Unit

    Toggles showing of container blocks.

  131. def showBorders(): Unit

    Toggles showing of borders on all elements.

  132. lazy val showButtonButton: JavaScriptProperty[Boolean]

  133. lazy val showCheckBoxButton: JavaScriptProperty[Boolean]

  134. lazy val showCopyButton: JavaScriptProperty[Boolean]

  135. lazy val showCutButton: JavaScriptProperty[Boolean]

  136. lazy val showFindButton: JavaScriptProperty[Boolean]

  137. lazy val showFormButton: JavaScriptProperty[Boolean]

  138. def showFormButtons(visible: Boolean): Unit

  139. lazy val showHiddenFieldButton: JavaScriptProperty[Boolean]

  140. lazy val showImageButtonButton: JavaScriptProperty[Boolean]

  141. lazy val showNewPageButton: JavaScriptProperty[Boolean]

  142. lazy val showPasteButton: JavaScriptProperty[Boolean]

  143. lazy val showPasteFromWordButton: JavaScriptProperty[Boolean]

  144. lazy val showPasteTextButton: JavaScriptProperty[Boolean]

  145. lazy val showPath: JavaScriptProperty[Boolean]

    Defines whether the path navigation in the bottom bar should be displayed.

    Defines whether the path navigation in the bottom bar should be displayed. This is only applicable when not inline.

    Defaults to true.

  146. lazy val showPreviewButton: JavaScriptProperty[Boolean]

  147. lazy val showPrintButton: JavaScriptProperty[Boolean]

  148. lazy val showRadioButton: JavaScriptProperty[Boolean]

  149. lazy val showRedoButton: JavaScriptProperty[Boolean]

  150. lazy val showReplaceButton: JavaScriptProperty[Boolean]

  151. lazy val showResizer: JavaScriptProperty[Boolean]

    Defines whether the resizer in the bottom bar should be displayed.

    Defines whether the resizer in the bottom bar should be displayed. This is only applicable when not inline.

    Defaults to true.

  152. lazy val showSaveButton: JavaScriptProperty[Boolean]

  153. lazy val showSelectAllButton: JavaScriptProperty[Boolean]

  154. lazy val showSelectButton: JavaScriptProperty[Boolean]

  155. lazy val showSpellCheckButton: JavaScriptProperty[Boolean]

  156. lazy val showTemplatesButton: JavaScriptProperty[Boolean]

  157. lazy val showTextAreaButton: JavaScriptProperty[Boolean]

  158. lazy val showTextFieldButton: JavaScriptProperty[Boolean]

  159. lazy val showToolbar: JavaScriptProperty[Boolean]

    Defines whether the native toolbar should be displayed.

    Defines whether the native toolbar should be displayed.

    Defaults to false.

  160. lazy val showUndoButton: JavaScriptProperty[Boolean]

  161. def smiley(): Unit

    Displays the insert smiley dialog.

  162. def source(): Unit

    Toggles display of source in editor instead of rich content.

  163. def specialChar(): Unit

    Displays the insert special character dialog.

  164. def strike(): Unit

    Toggles the strike-through state on the selected content.

  165. def subscript(): Unit

    Toggles the subscript state on the selected content.

  166. def superscript(): Unit

    Toggles the superscript state on the selected content.

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

    Definition Classes
    AnyRef
  168. def table(): Unit

  169. def tableDelete(): Unit

  170. def tableProperties(): Unit

  171. def templates(): Unit

    Display templates dialog.

    Display templates dialog. This allows changing the layout of the content area to reflect a predefined template.

  172. def textArea(): Unit

    Displays the create/edit text area dialog.

  173. def textField(): Unit

    Displays the create/edit text field dialog.

  174. def toString(): String

    Definition Classes
    AnyRef → Any
  175. def toggleEditing(): Unit

  176. def toolbarFocus(): Unit

    Gives focus to the toolbar.

  177. def underline(): Unit

    Toggles the underline state on the selected content.

  178. def undo(): Unit

  179. def unlink(): Unit

    Unlinks the selection.

  180. def update(fireChanges: Boolean): Unit

    Updates the HTML content of the wrapped component with the contents of the editor.

  181. lazy val updateWrapped: Property[Boolean]

    Updates the wrapped tag's content when the content is modified if this is set to true.

    Updates the wrapped tag's content when the content is modified if this is set to true.

    Defaults to false.

  182. lazy val validateFrequency: JavaScriptProperty[Long]

    The frequency at which the content is validated for changes in milliseconds.

    The frequency at which the content is validated for changes in milliseconds. If this is set to 0 the content will only be validated upon blur.

    Defaults to 1000.

  183. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  186. def webpage: Webpage[Session]

    Attributes
    protected
    Definition Classes
    WrappedComponent
  187. val wrapped: HTMLTag

    Definition Classes
    RichEditor → WrappedComponent

Inherited from WrappedComponent[HTMLTag]

Inherited from AnyRef

Inherited from Any

Ungrouped