org.hyperscala.javascript.dsl

Command

Related Docs: class Command | package dsl

object Command extends Enumerated[Command]

Linear Supertypes
Enumerated[Command], FromString[Command], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Command
  2. Enumerated
  3. FromString
  4. AnyRef
  5. 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 apply(index: Int): Command

    Definition Classes
    Enumerated
  5. def apply(name: String, caseSensitive: Boolean): Command

    Definition Classes
    Enumerated
  6. def apply(name: String): Command

    Definition Classes
    Enumerated
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. val backColor: Command

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

  9. val bold: Command

    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 contentReadOnly: Command

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

  12. val copy: Command

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

  13. val createLink: Command

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

  14. val cut: Command

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

  15. val decreaseFontSize: Command

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

  16. val delete: Command

    Deletes the current selection.

  17. val enableInlineTableEditing: Command

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

  18. val enableObjectResizing: Command

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

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

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

    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. val fontName: Command

    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.

  23. val fontSize: Command

    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.

  24. val foreColor: Command

    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.

  25. val formatBlock: Command

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

  26. val forwardDelete: Command

    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.

  27. def get(name: String, caseSensitive: Boolean): Option[Command]

    Definition Classes
    Enumerated
  28. def get(name: String): Option[Command]

    Definition Classes
    Enumerated → FromString
  29. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  31. val heading: Command

    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 and Safari.)

  32. val hiliteColor: Command

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

  33. val increaseFontSize: Command

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

  34. val indent: Command

    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.

  35. val insertBrOnReturn: Command

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

  36. val insertHTML: Command

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

  37. val insertHorizontalRule: Command

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

  38. val insertImage: Command

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

  39. val insertOrderedList: Command

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

  40. val insertParagraph: Command

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

  41. val insertText: Command

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

  42. val insertUnorderedList: Command

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

  43. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  44. val italic: Command

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

  45. val justifyCenter: Command

    Centers the selection or insertion point.

  46. val justifyFull: Command

    Justifies the selection or insertion point.

  47. val justifyLeft: Command

    Justifies the selection or insertion point to the left.

  48. val justifyRight: Command

    Right-justifies the selection or the insertion point.

  49. lazy val length: Int

    Definition Classes
    Enumerated
  50. lazy val name: String

    Definition Classes
    Enumerated
  51. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  54. val outdent: Command

    Outdents the line containing the selection or insertion point.

  55. val paste: Command

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

  56. def random: Command

    Definition Classes
    Enumerated
  57. val redo: Command

    Redoes the previous undo command.

  58. val removeFormat: Command

    Removes all formatting from the current selection.

  59. val selectAll: Command

    Selects all of the content of the editable region.

  60. val strikeThrough: Command

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

  61. val styleWithCSS: Command

    Replaces the useCSS command; argument works as expected, i.e.

    Replaces the useCSS command; argument works as expected, i.e. true modifies/generates style attributes in markup, false generates formatting elements.

  62. val subscript: Command

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

  63. val superscript: Command

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

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

    Definition Classes
    AnyRef
  65. def toString(): String

    Definition Classes
    AnyRef → Any
  66. def unapply(s: String): Option[Command]

    Definition Classes
    Enumerated
  67. val underline: Command

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

  68. val undo: Command

    Undoes the last executed command.

  69. val unlink: Command

    Removes the anchor tag from a selected anchor link.

  70. val useCSS: Command

    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. NOTE: This argument is logically backwards (i.e. use false to use CSS, true to use HTML). (Not supported by Internet Explorer.) This has been deprecated; use the styleWithCSS command instead.

  71. def values: List[Command]

    Definition Classes
    Enumerated
  72. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Enumerated[Command]

Inherited from FromString[Command]

Inherited from AnyRef

Inherited from Any

Ungrouped