Class AceForceSyncDomEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AceEditor>
de.f0rce.ace.events.AceForceSyncDomEvent
All Implemented Interfaces:
Serializable

@DomEvent("force-sync") public class AceForceSyncDomEvent extends com.vaadin.flow.component.ComponentEvent<AceEditor>
Author:
David "F0rce" Dodlek
See Also:
  • Constructor Details

    • AceForceSyncDomEvent

      public AceForceSyncDomEvent(AceEditor source, boolean fromClient, @EventData("event.detail.value") String value, @EventData("event.detail.selection") elemental.json.JsonObject selectionObject, @EventData("event.detail.cursorPosition") elemental.json.JsonObject cursorObject)
  • Method Details

    • getValue

      public String getValue()
      Returns the current value of the editor.
      Returns:
      String
    • getSelection

      public AceSelection getSelection()
      Returns the current selection of the editor.
      Returns:
      AceSelection
    • getCursorPosition

      public AceCursorPosition getCursorPosition()
      Returns the current cursor position of the editor.
      Returns:
      AceCursorPosition