Package de.f0rce.ace.events
Class AceForceSyncEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AceEditor>
de.f0rce.ace.events.AceForceSyncEvent
- All Implemented Interfaces:
java.io.Serializable
public class AceForceSyncEvent extends com.vaadin.flow.component.ComponentEvent<AceEditor>
- Author:
- David "F0rce" Dodlek
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AceForceSyncEvent(AceEditor source, boolean fromClient, java.lang.String value, AceSelection selection, AceCursorPosition cursorPosition) -
Method Summary
Modifier and Type Method Description AceCursorPositiongetCursorPosition()Returns the current cursor position of the editor.AceSelectiongetSelection()Returns the current selection of the editor.java.lang.StringgetValue()Returns the current value of the editor.
-
Constructor Details
-
AceForceSyncEvent
public AceForceSyncEvent(AceEditor source, boolean fromClient, java.lang.String value, AceSelection selection, AceCursorPosition cursorPosition)
-
-
Method Details
-
getValue
public java.lang.String getValue()Returns the current value of the editor.- Returns:
String
-
getSelection
Returns the current selection of the editor.- Returns:
AceSelection
-
getCursorPosition
Returns the current cursor position of the editor.- Returns:
AceCursorPosition
-