Class ReaderEventTranslator

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.AsyncCallback<Document>

    public class ReaderEventTranslator
    extends Object
    implements com.google.gwt.user.client.rpc.AsyncCallback<Document>
    This class is used to show how messages (related to a document reading event) can be shown to the user

    If you want to deactivate document reading based events, just call t

    • Constructor Detail

      • ReaderEventTranslator

        public ReaderEventTranslator​(com.google.gwt.user.client.rpc.AsyncCallback<Document> documentCallback)
    • Method Detail

      • onFailure

        public void onFailure​(Throwable caught)
        Specified by:
        onFailure in interface com.google.gwt.user.client.rpc.AsyncCallback<Document>
      • onSuccess

        public void onSuccess​(Document result)
        Specified by:
        onSuccess in interface com.google.gwt.user.client.rpc.AsyncCallback<Document>