Class AceForceSyncDomEvent

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

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

    Constructors 
    Constructor Description
    AceForceSyncDomEvent​(AceEditor source, boolean fromClient, java.lang.String value, elemental.json.JsonObject selectionObject, elemental.json.JsonObject cursorObject)  
  • Method Summary

    Modifier and Type Method Description
    AceCursorPosition getCursorPosition()
    Returns the current cursor position of the editor.
    AceSelection getSelection()
    Returns the current selection of the editor.
    java.lang.String getValue()
    Returns the current value of the editor.

    Methods inherited from class com.vaadin.flow.component.ComponentEvent

    getSource, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • AceForceSyncDomEvent

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