public class AnnotationController extends Object
Constructor and Description |
---|
AnnotationController(WebConfiguration webConfiguration,
boolean onFrame) |
public AnnotationController(WebConfiguration webConfiguration, boolean onFrame)
public void addNewAnnotation()
public WebConfiguration getWebConfiguration()
public AnnotatedDocument getAnnotatedDocument()
public void setXPointerFilter(String pointerFilter)
public void setPointerAdapter(String pointerAdapter)
public boolean canAnnotate()
public void addModelChangeListener(AnnotationChangeListener listener)
public int getFrameScrollFromTop()
public void setFrameScrollFromTop(int frameScrollFromTop)
public boolean canCreateNewCreationPopup()
public void openCreationPopup()
public void closeCreationPopup()
public void newAnnotationCreated(Annotation annotation)
public void submitNewAnnotation()
public void reloadAnnotations()
public void cancelNewAnnotation()
public void cancelNewAnnotationPopup()
public void createNewAnnotation(String pointer)
public void setAnnotationList(List<Annotation> annotations)
public String getAnnoteaServerUrl()
public Annotation getNewAnnotation()
public void loadAnnotations()
public String getDocumentUrl()
public void decorateDocument()
public void updateSelectedAnnotation(int index)
public void setFirstAnnotationSelected()
public void setCancelNewAnnotation()
public void setImageOnly(boolean b)
public boolean isImageOnly()
public void setMultiImage(boolean b)
public boolean isMultiImage()
public String filterXPointer(com.google.gwt.dom.client.ImageElement image, String xpath, int i, int j, int k, int l)
public String filter(String xPointerFilter, com.google.gwt.dom.client.ImageElement image, String xpath, int i, int j, int k, int l)
public static void updateAnnotation(boolean forceDecorate)
public static void updateAnnotation()
public void updateAnnotations(boolean forceDecorate)
public void setAnnotationDecoratorFunction(String annotationDecoratorFunction)
public void setNewAnnotationPopup(NewAnnotationPopup popup)
public NewAnnotationPopup getNewAnnotationPopup()
public void hideAnnotations()
public void disablePopupListeners()
public void showAnnotations()
public void enablePopupListeners()
public void registerAnnotationPopupListener(AnnotationPopupEventListener listener)
public void removeAnnotationPopupListener(AnnotationPopupEventListener listener)
public String getDecorateClassName()
public void deleteAnnotation(int index)
public boolean isAnnotationsVisible()
public void removeSelectedTextDecoration()
Copyright © 2015 Nuxeo SA. All rights reserved.