Class CompositionEvent
java.lang.Object
com.oorian.messaging.events.Event<CompositionListener>
com.oorian.messaging.events.client.ClientEvent<CompositionListener>
com.oorian.messaging.events.client.CompositionEvent
- Direct Known Subclasses:
CompositionEndEvent,CompositionStartEvent,CompositionUpdateEvent
Abstract base class for all composition (IME) events in the client interface.
Composition events are fired during text composition using an Input Method Editor (IME), such as when typing characters for CJK (Chinese, Japanese, Korean) languages. This class provides the composed text data field common to all composition event types.
Features:
- Captures the composed text data from the IME
- Supports composition start, update, and end lifecycle
- Integrates with the CompositionListener interface
- Since:
- 2026
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompositionEvent(String data) Constructs a new CompositionEvent with the specified composed text data. -
Method Summary
Methods inherited from class com.oorian.messaging.events.client.ClientEvent
getSource, getTarget, setSource, setTargetMethods inherited from class com.oorian.messaging.events.Event
bubbles, dispatchTo
-
Constructor Details
-
CompositionEvent
Constructs a new CompositionEvent with the specified composed text data.- Parameters:
data- the composed text data from the IME
-
-
Method Details
-
getData
Returns the composed text data from the IME.- Returns:
- the composed text data
-