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: 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. def a11yHelp(): Unit

    Displays accessibility instructions.

  7. def about(): Unit

    Displays CKEDITOR's About dialog.

  8. def accessNextSpace(): Unit

  9. def accessPreviousSpace(): Unit

  10. 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

  11. def anchor(): Unit

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

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. val autoInit: Boolean

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

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

  15. def bidirtl(): Unit

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

  16. def blockquote(): Unit

    Toggle blockquote status.

  17. def blur(): Unit

  18. def blurBack(): Unit

  19. def bold(): Unit

    Toggles bold state on the selected content.

  20. def bulletedList(): Unit

    Toggles the selected content within a bulleted list.

  21. def bulletedListStyle(): Unit

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

  22. def button(): Unit

    Displays the create/edit button dialog.

  23. def cellDelete(): Unit

  24. def cellHorizontalSplit(): Unit

  25. def cellInsertAfter(): Unit

  26. def cellInsertBefore(): Unit

  27. def cellMerge(): Unit

  28. def cellMergeDown(): Unit

  29. def cellMergeRight(): Unit

  30. def cellProperties(): Unit

  31. def cellVerticalSplit(): Unit

  32. def checkSpell(): Unit

  33. def checkbox(): Unit

    Displays the create/edit checkbox dialog.

  34. def clone(): AnyRef

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

    Displays the color dialog.

    Displays the color dialog.

    TODO: figure out how to leverage the resulting color.

  36. def columnDelete(): Unit

  37. def columnInsertAfter(): Unit

  38. def columnInsertBefore(): Unit

  39. def contextMenu(): Unit

    Toggles the visibility of the context menu.

  40. 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.

  41. def createDiv(): Unit

    Displays the create div dialog.

    Displays the create div dialog.

    TODO: figure out if this actually inserts the div?

  42. 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.

  43. def delete(): Unit

    Deletes the current selection

  44. def editDiv(): Unit

    TODO: figure out how this works

  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 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.

  58. 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.

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

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

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

    Displays the create/edit hidden field dialog.

  62. def horizontalRule(): Unit

    Inserts a horizontal rule at the selected area.

  63. 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.

  64. def iframe(): Unit

    Displays the create/edit iframe dialog.

  65. def image(): Unit

    Displays the create/edit image dialog.

  66. def imageButton(): Unit

    Displays the create/edit image button dialog.

  67. def indent(): Unit

    Increases the indentation of the selection.

  68. def init(): Unit

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

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

    Definition Classes
    WrappedComponent
  71. 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.

  72. 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.

  73. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  74. def italic(): Unit

    Toggles italic state on the selected content.

  75. def justifyBlock(): Unit

    Sets the justification to block forthe selection.

  76. def justifyCenter(): Unit

    Sets the justification to center for the selection.

  77. def justifyLeft(): Unit

    Sets the justification to left for the selection.

  78. def justifyRight(): Unit

    Sets the justification to right for the selection.

  79. def link(): Unit

    Displays the link editor dialog.

  80. def maximize(): Unit

    Toggles the maximized state of the editor.

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

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

    Definition Classes
    AnyRef
  83. def newPage(): Unit

    Clears the editor of all content and resets.

  84. final def notify(): Unit

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

    Definition Classes
    AnyRef
  86. def numberedList(): Unit

    Toggles the selected content within a numbered list.

  87. def numberedListStyle(): Unit

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

  88. 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.

  89. 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.

  90. 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.

  91. 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.

  92. 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

  93. 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

  94. 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.

  95. 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.

  96. 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.

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

    Definition Classes
    WrappedComponent
  98. def outdent(): Unit

    Decreases the indentation of the selection.

  99. def pageBreak(): Unit

    Inserts a page break.

  100. def pastFromWord(): Unit

    Displays the paste from Word dialog.

  101. 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.

  102. def pasteText(): Unit

    Displays the paste as plain text dialog.

  103. def preview(): Unit

    Previews the content.

  104. def print(): Unit

    Displays the print dialog.

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

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

    Displays the create/edit radio dialog.

  107. lazy val readOnly: JavaScriptProperty[Boolean]

    Whether this editor is read-only.

    Whether this editor is read-only.

    Defaults to false.

  108. def redo(): Unit

  109. def removeAnchor(): Unit

    Removes the anchor from the selection.

  110. def removeDiv(): Unit

    TODO: figure out how this works

  111. def removeFormat(): Unit

    Removes formatting from the selected content.

  112. def replace(): Unit

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

  113. def rowDelete(): Unit

  114. def rowInsertAfter(): Unit

  115. def rowInsertBefore(): Unit

  116. def save(): Unit

  117. def scaytCheck(): Unit

    Enables spell checking addon.

  118. def select(): Unit

    Displays the create/edit select dialog.

  119. def selectAll(): Unit

  120. def selectNextCell(): Unit

  121. def selectPreviousCell(): Unit

  122. def shiftEnter(): Unit

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

  123. lazy val showAboutButton: JavaScriptProperty[Boolean]

  124. def showBlocks(): Unit

    Toggles showing of container blocks.

  125. def showBorders(): Unit

    Toggles showing of borders on all elements.

  126. lazy val showButtonButton: JavaScriptProperty[Boolean]

  127. lazy val showCheckBoxButton: JavaScriptProperty[Boolean]

  128. lazy val showCopyButton: JavaScriptProperty[Boolean]

  129. lazy val showCutButton: JavaScriptProperty[Boolean]

  130. lazy val showFindButton: JavaScriptProperty[Boolean]

  131. lazy val showFormButton: JavaScriptProperty[Boolean]

  132. def showFormButtons(visible: Boolean): Unit

  133. lazy val showHiddenFieldButton: JavaScriptProperty[Boolean]

  134. lazy val showImageButtonButton: JavaScriptProperty[Boolean]

  135. lazy val showNewPageButton: JavaScriptProperty[Boolean]

  136. lazy val showPasteButton: JavaScriptProperty[Boolean]

  137. lazy val showPasteFromWordButton: JavaScriptProperty[Boolean]

  138. lazy val showPasteTextButton: JavaScriptProperty[Boolean]

  139. 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.

  140. lazy val showPreviewButton: JavaScriptProperty[Boolean]

  141. lazy val showPrintButton: JavaScriptProperty[Boolean]

  142. lazy val showRadioButton: JavaScriptProperty[Boolean]

  143. lazy val showRedoButton: JavaScriptProperty[Boolean]

  144. lazy val showReplaceButton: JavaScriptProperty[Boolean]

  145. 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.

  146. lazy val showSaveButton: JavaScriptProperty[Boolean]

  147. lazy val showSelectAllButton: JavaScriptProperty[Boolean]

  148. lazy val showSelectButton: JavaScriptProperty[Boolean]

  149. lazy val showSpellCheckButton: JavaScriptProperty[Boolean]

  150. lazy val showTemplatesButton: JavaScriptProperty[Boolean]

  151. lazy val showTextAreaButton: JavaScriptProperty[Boolean]

  152. lazy val showTextFieldButton: JavaScriptProperty[Boolean]

  153. lazy val showToolbar: JavaScriptProperty[Boolean]

    Defines whether the native toolbar should be displayed.

    Defines whether the native toolbar should be displayed.

    Defaults to false.

  154. lazy val showUndoButton: JavaScriptProperty[Boolean]

  155. def smiley(): Unit

    Displays the insert smiley dialog.

  156. def source(): Unit

    Toggles display of source in editor instead of rich content.

  157. def specialChar(): Unit

    Displays the insert special character dialog.

  158. def strike(): Unit

    Toggles the strike-through state on the selected content.

  159. def subscript(): Unit

    Toggles the subscript state on the selected content.

  160. def superscript(): Unit

    Toggles the superscript state on the selected content.

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

    Definition Classes
    AnyRef
  162. def table(): Unit

  163. def tableDelete(): Unit

  164. def tableProperties(): Unit

  165. def templates(): Unit

    Display templates dialog.

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

  166. def textArea(): Unit

    Displays the create/edit text area dialog.

  167. def textField(): Unit

    Displays the create/edit text field dialog.

  168. def toString(): String

    Definition Classes
    AnyRef → Any
  169. def toolbarFocus(): Unit

    Gives focus to the toolbar.

  170. def underline(): Unit

    Toggles the underline state on the selected content.

  171. def undo(): Unit

  172. def unlink(): Unit

    Unlinks the selection.

  173. def update(fireChanges: Boolean): Unit

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

  174. 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.

  175. 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.

  176. final def wait(): Unit

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

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

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

    Attributes
    protected
    Definition Classes
    WrappedComponent
  180. val wrapped: HTMLTag

    Definition Classes
    RichEditor → WrappedComponent

Inherited from WrappedComponent[HTMLTag]

Inherited from AnyRef

Inherited from Any

Ungrouped