public boolean mouseMoved(MouseEvent e){
  EsriGraphicList list=getEsriGraphicList();
  boolean ret=false;
  if (list != null) {
    OMGraphic omg=list.findClosest(e.getX(),e.getY(),4);
    if (omg != null) {
      int index;
      Integer I=((Integer)omg.getAttribute(SHAPE_INDEX_ATTRIBUTE));
      if (I != null) {
        index=I.intValue();
      }
 else {
        index=list.indexOf(omg);
      }
      if (parentLayer == null) {
        Component comp=getComponent();
        if (comp instanceof Layer) {
          parentLayer=(Layer)comp;
        }
      }
      if (parentLayer != null) {
        parentLayer.fireRequestToolTip(getDescription(index));
      }
      ret=true;
    }
 else     if (parentLayer != null) {
      parentLayer.fireHideToolTip();
    }
  }
  return ret;
}

public boolean mouseMoved ( MouseEvent e ) { EsriGraphicList list = getEsriGraphicList ( ) ; boolean ret = false ; if ( list != null ) { OMGraphic omg = list . findClosest ( e . getX ( ) , e . getY ( ) , 4 ) ; if ( omg != null ) { int index ; Integer I = ( ( Integer ) omg . getAttribute ( SHAPE_INDEX_ATTRIBUTE ) ) ; if ( I != null ) { index = I . intValue ( ) ; } else { index = list . indexOf ( omg ) ; } if ( parentLayer == null ) { Component comp = getComponent ( ) ; if ( comp instanceof Layer ) { parentLayer = ( Layer ) comp ; } } if ( parentLayer != null ) { parentLayer . fireRequestToolTip ( getDescription ( index ) ) ; } ret = true ; } else if ( parentLayer != null ) { parentLayer . fireHideToolTip ( ) ; } } return ret ; }
handle mouse moved events ( used for firing tool tip descriptions over graphics )
