org.richfaces.fragment.editor

## Class RichFacesEditor

- java.lang.Object
- - org.richfaces.fragment.editor.RichFacesEditor

- All Implemented Interfaces:
    AdvancedInteractions<RichFacesEditor.AdvancedEditorInteractions>, AdvancedVisibleComponentIteractions<RichFacesEditor.AdvancedEditorInteractions>, Editor

      public class RichFacesEditor
      extends Object
      implements Editor, AdvancedVisibleComponentIteractions<RichFacesEditor.AdvancedEditorInteractions>

  Author:
    Juraj Huska

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RichFacesEditor.AdvancedEditorInteractions`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RichFacesEditor()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `RichFacesEditor.AdvancedEditorInteractions` | `advanced()`
    `void` | `clear()` Clears the editor's input.
    `protected org.openqa.selenium.JavascriptExecutor` | `getExecutor()`
    `String` | `getText()` Gets the text which is currently typed in the editor.
    `protected org.openqa.selenium.WebElement` | `switchToEditorActiveArea()`
    `void` | `type(String text)` Types the given `text` into the editor's input.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### RichFacesEditor

          public RichFacesEditor()

  - ### Method Detail

    - #### advanced

          public RichFacesEditor.AdvancedEditorInteractions advanced()

      Specified by:
        `advanced` in interface `AdvancedInteractions<RichFacesEditor.AdvancedEditorInteractions>`

    - #### clear

          public void clear()

      Description copied from interface: `Editor`
      Clears the editor's input. In other words it erases all characters from the editor.
      Specified by:
        `clear` in interface `Editor`

    - #### getText

          public String getText()

      Description copied from interface: `Editor`
      Gets the text which is currently typed in the editor.
      Specified by:
        `getText` in interface `Editor`
      Returns:
        text filled in the editor

    - #### switchToEditorActiveArea

          protected org.openqa.selenium.WebElement switchToEditorActiveArea()

    - #### type

          public void type(String text)

      Description copied from interface: `Editor`
      Types the given `text` into the editor's input.
      Specified by:
        `type` in interface `Editor`
      Parameters:
        `text` - to be filled into the editor

    - #### getExecutor

          protected org.openqa.selenium.JavascriptExecutor getExecutor()

      Returns:
        the executor

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.