Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.gwt.client.view.annotater
Class ImageAnnotater

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.gwt.client.view.annotater.AbstractAnnotater
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuxeo.ecm.platform.annotations.gwt.client.model.AnnotationChangeListener
AnnotationChangeListener.ChangeEvent
 
Constructor Summary
ImageAnnotater(AnnotationController controller)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.nuxeo.ecm.platform.annotations.gwt.client.view.annotater.AbstractAnnotater
hasMoved, manageEvent, onMouseOut
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageAnnotater

public ImageAnnotater(AnnotationController controller)
Method Detail

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

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.