org.utgenome.gwt.utgb.client.track.operation
Class OperationArea

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Image
              extended by org.utgenome.gwt.utgb.client.track.operation.OperationArea
All Implemented Interfaces:
com.google.gwt.event.dom.client.HasAllDragAndDropHandlers, com.google.gwt.event.dom.client.HasAllGestureHandlers, com.google.gwt.event.dom.client.HasAllMouseHandlers, com.google.gwt.event.dom.client.HasAllTouchHandlers, com.google.gwt.event.dom.client.HasClickHandlers, com.google.gwt.event.dom.client.HasDoubleClickHandlers, com.google.gwt.event.dom.client.HasDragEndHandlers, com.google.gwt.event.dom.client.HasDragEnterHandlers, com.google.gwt.event.dom.client.HasDragHandlers, com.google.gwt.event.dom.client.HasDragLeaveHandlers, com.google.gwt.event.dom.client.HasDragOverHandlers, com.google.gwt.event.dom.client.HasDragStartHandlers, com.google.gwt.event.dom.client.HasDropHandlers, com.google.gwt.event.dom.client.HasErrorHandlers, com.google.gwt.event.dom.client.HasGestureChangeHandlers, com.google.gwt.event.dom.client.HasGestureEndHandlers, com.google.gwt.event.dom.client.HasGestureStartHandlers, com.google.gwt.event.dom.client.HasLoadHandlers, com.google.gwt.event.dom.client.HasMouseDownHandlers, com.google.gwt.event.dom.client.HasMouseMoveHandlers, com.google.gwt.event.dom.client.HasMouseOutHandlers, com.google.gwt.event.dom.client.HasMouseOverHandlers, com.google.gwt.event.dom.client.HasMouseUpHandlers, com.google.gwt.event.dom.client.HasMouseWheelHandlers, com.google.gwt.event.dom.client.HasTouchCancelHandlers, com.google.gwt.event.dom.client.HasTouchEndHandlers, com.google.gwt.event.dom.client.HasTouchMoveHandlers, com.google.gwt.event.dom.client.HasTouchStartHandlers, com.google.gwt.event.dom.client.MouseOutHandler, com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsWidget, com.google.gwt.user.client.ui.SourcesClickEvents, com.google.gwt.user.client.ui.SourcesLoadEvents, com.google.gwt.user.client.ui.SourcesMouseEvents

public class OperationArea
extends com.google.gwt.user.client.ui.Image
implements com.google.gwt.event.dom.client.MouseOverHandler, com.google.gwt.event.dom.client.MouseOutHandler

Since:
GWT 1.4
Version:
0.1
Author:
ssksn

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
protected  String activeImageURL
           
protected  int endX
           
protected  int endY
           
protected  String inactiveImageURL
           
protected  int startX
           
protected  int startY
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
OperationArea(int startX, int startY, int endX, int endY)
           
OperationArea(int startX, int startY, int endX, int endY, String activeImageURL, String inactiveImageURL)
           
 
Method Summary
static void add(com.google.gwt.user.client.ui.AbsolutePanel absolutePanel, OperationArea operationArea)
           
 void addEventHandler(com.google.gwt.event.shared.EventHandler eventHandler)
           
 int getEndX()
           
 int getEndY()
           
 int getHeight()
           
 int getStartX()
           
 int getStartY()
           
 int getWidth()
           
static OperationArea newInstance(com.google.gwt.xml.client.Node rectAreaNode)
           
 void onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent e)
           
 void onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent e)
           
protected  void setActive()
           
protected  void setInactive()
           
 
Methods inherited from class com.google.gwt.user.client.ui.Image
addClickHandler, addClickListener, addDoubleClickHandler, addDragEndHandler, addDragEnterHandler, addDragHandler, addDragLeaveHandler, addDragOverHandler, addDragStartHandler, addDropHandler, addErrorHandler, addGestureChangeHandler, addGestureEndHandler, addGestureStartHandler, addLoadHandler, addLoadListener, addMouseDownHandler, addMouseListener, addMouseMoveHandler, addMouseOutHandler, addMouseOverHandler, addMouseUpHandler, addMouseWheelHandler, addMouseWheelListener, addTouchCancelHandler, addTouchEndHandler, addTouchMoveHandler, addTouchStartHandler, getAltText, getOriginLeft, getOriginTop, getUrl, onBrowserEvent, onLoad, prefetch, prefetch, removeClickListener, removeLoadListener, removeMouseListener, removeMouseWheelListener, setAltText, setResource, setUrl, setUrl, setUrlAndVisibleRect, setUrlAndVisibleRect, setVisibleRect, wrap
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Field Detail

startX

protected final int startX

startY

protected final int startY

endX

protected final int endX

endY

protected final int endY

activeImageURL

protected final String activeImageURL

inactiveImageURL

protected final String inactiveImageURL
Constructor Detail

OperationArea

public OperationArea(int startX,
                     int startY,
                     int endX,
                     int endY,
                     String activeImageURL,
                     String inactiveImageURL)

OperationArea

public OperationArea(int startX,
                     int startY,
                     int endX,
                     int endY)
Method Detail

newInstance

public static OperationArea newInstance(com.google.gwt.xml.client.Node rectAreaNode)

getStartX

public int getStartX()

getStartY

public int getStartY()

getEndX

public int getEndX()

getEndY

public int getEndY()

getWidth

public int getWidth()
Overrides:
getWidth in class com.google.gwt.user.client.ui.Image

getHeight

public int getHeight()
Overrides:
getHeight in class com.google.gwt.user.client.ui.Image

addEventHandler

public void addEventHandler(com.google.gwt.event.shared.EventHandler eventHandler)

onMouseOver

public void onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent e)
Specified by:
onMouseOver in interface com.google.gwt.event.dom.client.MouseOverHandler

onMouseOut

public void onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent e)
Specified by:
onMouseOut in interface com.google.gwt.event.dom.client.MouseOutHandler

add

public static void add(com.google.gwt.user.client.ui.AbsolutePanel absolutePanel,
                       OperationArea operationArea)

setActive

protected void setActive()

setInactive

protected void setInactive()


Copyright © 2007-2012 utgenome.org. All Rights Reserved.