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:
Serializable
- Author:
- David "F0rce" Dodlek
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionAceForceSyncEvent(AceEditor source, boolean fromClient, String value, AceSelection selection, AceCursorPosition cursorPosition) -
Method Summary
Modifier and TypeMethodDescriptionReturns the current cursor position of the editor.Returns the current selection of the editor.getValue()Returns the current value of the editor.Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AceForceSyncEvent
public AceForceSyncEvent(AceEditor source, boolean fromClient, String value, AceSelection selection, AceCursorPosition cursorPosition)
-
-
Method Details
-
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
-