public class ImageAnnotater extends AbstractAnnotater implements AnnotationChangeListener
AnnotationChangeListener.ChangeEvent
controller
Constructor and Description |
---|
ImageAnnotater(AnnotationController controller) |
Modifier and Type | Method and Description |
---|---|
void |
addMapAndGetAnnot(int[] points,
com.google.gwt.dom.client.ImageElement img) |
com.google.gwt.dom.client.ImageElement |
getImage() |
void |
onChange(AnnotationModel model,
AnnotationChangeListener.ChangeEvent ce) |
void |
onMouseDown(com.google.gwt.user.client.Event event) |
void |
onMouseMove(com.google.gwt.user.client.Event event) |
void |
onMouseUp(com.google.gwt.user.client.Event event) |
void |
refresh() |
void |
setImage(com.google.gwt.dom.client.ImageElement image) |
void |
updateMap(int bx2,
int by2,
com.google.gwt.dom.client.ImageElement image2) |
void |
updateMap(int ax2,
int ay2,
int bx2,
int by2,
com.google.gwt.dom.client.ImageElement img) |
addAnnotationPopup, hasMoved, manageEvent, onMouseOut
public ImageAnnotater(AnnotationController controller)
public void refresh()
public void onMouseDown(com.google.gwt.user.client.Event event)
onMouseDown
in class AbstractAnnotater
public void onMouseMove(com.google.gwt.user.client.Event event)
onMouseMove
in class AbstractAnnotater
public void onMouseUp(com.google.gwt.user.client.Event event)
onMouseUp
in class AbstractAnnotater
public void updateMap(int ax2, int ay2, int bx2, int by2, com.google.gwt.dom.client.ImageElement img)
public void addMapAndGetAnnot(int[] points, com.google.gwt.dom.client.ImageElement img)
public com.google.gwt.dom.client.ImageElement getImage()
public void setImage(com.google.gwt.dom.client.ImageElement image)
public void updateMap(int bx2, int by2, com.google.gwt.dom.client.ImageElement image2)
public void onChange(AnnotationModel model, AnnotationChangeListener.ChangeEvent ce)
onChange
in interface AnnotationChangeListener
Copyright © 2017 Nuxeo. All rights reserved.