@DomEvent(value="compositionupdate") public class CompositionUpdateEvent extends CompositionEvent
source| Constructor and Description |
|---|
CompositionUpdateEvent(Component source)
Creates a new server-side composition event with no additional
information.
|
CompositionUpdateEvent(Component source,
boolean fromClient,
String data,
String locale)
Creates a new composition event.
|
getData, getLocalegetSource, isFromClient, unregisterListenertoStringpublic CompositionUpdateEvent(Component source, boolean fromClient, @EventData(value="event.data") String data, @EventData(value="event.locale") String locale)
source - the component that fired the eventfromClient - true if the event was originally fired on the
client, false if the event originates from
server-side logicdata - the string being composedlocale - language code for the composition event, if available;
otherwise, the empty stringpublic CompositionUpdateEvent(Component source)
source - the component that fired the eventCopyright © 2018. All rights reserved.