info.magnolia.ui.mediaeditor.event
Class MediaEditorCompletedEvent

java.lang.Object
  extended by info.magnolia.ui.mediaeditor.event.MediaEditorCompletedEvent
All Implemented Interfaces:
info.magnolia.event.Event<MediaEditorCompletedEvent.Handler>

public class MediaEditorCompletedEvent
extends Object
implements info.magnolia.event.Event<MediaEditorCompletedEvent.Handler>

Fired when work with media editor is finished. This event delivers the resulting media stream and the type of confirmation made after finishing media editor (submitted, canceled).


Nested Class Summary
static class MediaEditorCompletedEvent.CompletionType
          CompletionType.
static interface MediaEditorCompletedEvent.Handler
          Handler.
 
Constructor Summary
MediaEditorCompletedEvent(MediaEditorCompletedEvent.CompletionType type, InputStream stream)
           
 
Method Summary
 void dispatch(MediaEditorCompletedEvent.Handler handler)
           
 InputStream getStream()
           
 MediaEditorCompletedEvent.CompletionType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MediaEditorCompletedEvent

public MediaEditorCompletedEvent(MediaEditorCompletedEvent.CompletionType type,
                                 InputStream stream)
Method Detail

getStream

public InputStream getStream()

getType

public MediaEditorCompletedEvent.CompletionType getType()

dispatch

public void dispatch(MediaEditorCompletedEvent.Handler handler)
Specified by:
dispatch in interface info.magnolia.event.Event<MediaEditorCompletedEvent.Handler>


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.