org.nuxeo.ecm.platform.annotations.gwt.client.view.annotater
Class ImageAnnotater
java.lang.Object
org.nuxeo.ecm.platform.annotations.gwt.client.view.annotater.AbstractAnnotater
org.nuxeo.ecm.platform.annotations.gwt.client.view.annotater.ImageAnnotater
- All Implemented Interfaces:
- AnnotationChangeListener, Annotater
public class ImageAnnotater
- extends AbstractAnnotater
- implements AnnotationChangeListener
- Author:
- Alexandre Russel
ImageAnnotater
public ImageAnnotater(AnnotationController controller)
refresh
public void refresh()
onMouseDown
public void onMouseDown(com.google.gwt.user.client.Event event)
- Overrides:
onMouseDown
in class AbstractAnnotater
onMouseMove
public void onMouseMove(com.google.gwt.user.client.Event event)
- Overrides:
onMouseMove
in class AbstractAnnotater
onMouseUp
public void onMouseUp(com.google.gwt.user.client.Event event)
- Overrides:
onMouseUp
in class AbstractAnnotater
updateMap
public void updateMap(int ax2,
int ay2,
int bx2,
int by2,
com.google.gwt.dom.client.ImageElement img)
addMapAndGetAnnot
public void addMapAndGetAnnot(int[] points,
com.google.gwt.dom.client.ImageElement img)
getImage
public com.google.gwt.dom.client.ImageElement getImage()
setImage
public void setImage(com.google.gwt.dom.client.ImageElement image)
updateMap
public void updateMap(int bx2,
int by2,
com.google.gwt.dom.client.ImageElement image2)
onChange
public void onChange(AnnotationModel model,
AnnotationChangeListener.ChangeEvent ce)
- Specified by:
onChange
in interface AnnotationChangeListener
Copyright © 2011 Nuxeo SAS. All Rights Reserved.