@DomEvent(value="compositionstart") public class CompositionStartEvent extends CompositionEvent
source
Constructor and Description |
---|
CompositionStartEvent(Component source)
Creates a new server-side composition event with no additional
information.
|
CompositionStartEvent(Component source,
boolean fromClient,
String data,
String locale)
Creates a new composition event.
|
getData, getLocale
getSource, isFromClient, unregisterListener
toString
public CompositionStartEvent(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 CompositionStartEvent(Component source)
source
- the component that fired the eventCopyright © 2018. All rights reserved.