eTextReader.tabletpc
Interface InkCallback

All Known Implementing Classes:
Browser, DiscussionWindow

public interface InkCallback


Method Summary
 void cannotContactServer(java.lang.Exception e)
          Called when the InkAnnotationWindow class cannot set up a connection with the windows server
 void changeDisplayType(Notation notation)
          Called when the annotation editor has requested that the user be allowed to change the display type of the specified annotation
 void changeShareWith(Notation notation)
          Called when the annotation editor has requested that the user be allowed to change who the specified annnotation is shared with
 void closeAnnotation(Notation notation, java.awt.Dimension size)
          Called when the annotation editor has requested that the currently edited annotation be closed
 void deleteAnnotation(Notation notation, java.awt.Dimension size)
          Called when the annotation editor has requested the specified annotation to be deleted
 void saveAnnotation(Notation notation, java.lang.String subject, byte[] isfData, byte[] pngData, java.awt.Dimension size)
          Called when the annotation editor has requested the specified annotation to be saved
 void showDetails(Notation notation)
          Called when the annotation editor has requested that the details of the specified annotation be shown
 

Method Detail

saveAnnotation

void saveAnnotation(Notation notation,
                    java.lang.String subject,
                    byte[] isfData,
                    byte[] pngData,
                    java.awt.Dimension size)
Called when the annotation editor has requested the specified annotation to be saved


deleteAnnotation

void deleteAnnotation(Notation notation,
                      java.awt.Dimension size)
Called when the annotation editor has requested the specified annotation to be deleted


showDetails

void showDetails(Notation notation)
Called when the annotation editor has requested that the details of the specified annotation be shown


changeShareWith

void changeShareWith(Notation notation)
Called when the annotation editor has requested that the user be allowed to change who the specified annnotation is shared with


changeDisplayType

void changeDisplayType(Notation notation)
Called when the annotation editor has requested that the user be allowed to change the display type of the specified annotation


closeAnnotation

void closeAnnotation(Notation notation,
                     java.awt.Dimension size)
Called when the annotation editor has requested that the currently edited annotation be closed


cannotContactServer

void cannotContactServer(java.lang.Exception e)
Called when the InkAnnotationWindow class cannot set up a connection with the windows server

Parameters:
e - an exception describing the problem