Method: moveLayerToTop
Moves the layer for this handler to the top, so mouse events can reach
it.
502507
function() {
        var index = Math.max(this.map.Z_INDEX_BASE['Feature'] - 1,
            this.layer.getZIndex()) + 1;
        this.layer.setZIndex(index);
        
    }
440169
def move_to(x, y):
    
    for b in _button_state:
        if _button_state[b]:
            e = Quartz.CGEventCreateMouseEvent(
                None,
                _button_mapping[b][3], # Drag Event
                (x, y),
                _button_mapping[b][0])
            break
    else:
        e = Quartz.CGEventCreateMouseEvent(
            None,
            Quartz.kCGEventMouseMoved,
            (x, y),
            Quartz.kCGMouseButtonLeft)
    Quartz.CGEventPost(Quartz.kCGHIDEventTap, e)
639379
function handleMousedown(event) {
        scope.broadcast('dragstart');
        downScrollPosition = {
            top: $el.scrollTop(),
            left: $el.scrollLeft()
        };
        downMousePosition = {
            x: event.clientX,
            y: event.clientY
        };
        $window.on('mousemove', handleMousemove);
        $window.on('mouseup', handleMouseup);
        event.preventDefault();
    }
955867
protected void redraw() {

        if (isAttached()) {
            int outerHeight = getElement().getOffsetHeight();
            int innerHeight = m_containerElement.getOffsetHeight();
            if (outerHeight >= innerHeight) {
                setScrollbarVisible(false);
            } else {
                setScrollbarVisible(true);
                adjustKnobHeight(outerHeight, innerHeight);
                setKnobPosition(m_currentValue);
            }
        }
        if (m_slidingMouse) {
            m_mouseSlidingStartY = m_lastMouseY;
            m_mouseSlidingStartValue = m_currentValue;
        }
    }
814735
public synchronized void moveToTop()
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "moveToTop");

    checkEntryParent();

    //record the reference to the parent list because the call to forceRemove
    //will nullify it.
    LinkedList list = parentList;
    synchronized(list)
    {
      //remove the cursor from it's current postion
      forceRemove();
      //reset the parent list reference
      parentList = list;
      //mark this cursor as being at the top
      atTop = true;
      
      //link this cursor to the first cursor in the list's list of cursors
      //which are currently at the top
      next = list.firstTopCursor;
      //link the old first cursor to this one 
      if(next != null) next.previous = this;
      //mark this one as the first cursor in the list
      list.firstTopCursor = this;
    }
    
    if (tc.isEntryEnabled())
      SibTr.exit(tc, "moveToTop");
  }
1131126
function mouseUp_(ev) {
    var e=ev||event;
    if (moving_) {
      setCursor_(false);
      event_.removeListener(mouseMoveEvent_);
      if (src.releaseCapture) {
        src.releaseCapture();
      }
      moving_ = false;
      event_.trigger(me, "dragend", {mouseX: formerMouseX_, mouseY: formerMouseY_, startLeft: originalX_, startTop: originalY_, event:e});
    }
    currentX_ = currentY_ = null;
    event_.trigger(me, "mouseup", e);
  }
279617
protected void moveSelectionTop() {
		final IStructuredSelection selection = this.list.getStructuredSelection();
		final int index = this.conversions.indexOf(selection.getFirstElement());
		if (index > 0) {
			final int endIndex = index + selection.size() - 1;
			for (int i = 0; i < selection.size(); ++i) {
				final ConversionMapping next = this.conversions.remove(endIndex);
				this.conversions.addFirst(next);
			}
			refreshListUI();
			this.list.refresh(true);
			enableButtons();
			preferenceValueChanged();
		}
	}
901395
@Override
    public void onBrowserEvent(Event event) {

        switch (DOM.eventGetType(event)) {
            case Event.ONMOUSEUP:
                Event.releaseCapture(getElement());
                m_capturedMouse = false;
                break;
            case Event.ONMOUSEDOWN:
                Event.setCapture(getElement());
                m_capturedMouse = true;
                //$FALL-THROUGH$
            case Event.ONMOUSEMOVE:
                if (m_capturedMouse) {
                    event.preventDefault();
                    double abolut_top = getAbsoluteTop();
                    int y = ((event.getClientY() - (int)abolut_top) + Window.getScrollTop());
                    setSliderPosition(y);
                    if (m_parent != null) {
                        m_parent.onBarSelected(y);
                    }
                }
                //$FALL-THROUGH$
            default:

        }
    }
52793
def mouseMoveEvent( self, event ):
        
        super(XChartScene, self).mouseMoveEvent(event)
        
        self.updateTrackerItem(event.scenePos())
834194
def mouse_move_event(self, event):
        
        self.example.mouse_position_event(event.x(), event.y())
954807
function() {
        OpenLayers.Control.prototype.draw.apply(this, arguments);
        if (!this.eTop) {
            // stick in the top bar
            this.eTop = document.createElement("div");
            this.eTop.className = this.displayClass + "Top";
            var theLen = this.topInUnits.length;
            this.div.appendChild(this.eTop);
            if((this.topOutUnits == "") || (this.topInUnits == "")) {
                this.eTop.style.visibility = "hidden";
            } else {
                this.eTop.style.visibility = "visible";
            }

            // and the bottom bar
            this.eBottom = document.createElement("div");
            this.eBottom.className = this.displayClass + "Bottom";
            this.div.appendChild(this.eBottom);
            if((this.bottomOutUnits == "") || (this.bottomInUnits == "")) {
                this.eBottom.style.visibility = "hidden";
            } else {
                this.eBottom.style.visibility = "visible";
            }
        }
        this.map.events.register('moveend', this, this.update);
        this.update();
        return this.div;
    }
670067
def mouse_over(self):
        
        self.scroll_to()
        ActionChains(self.parent.driver).move_to_element(self._element).perform()
845132
@Override
    public final Scene moveUp(final Layer layer)
    {
        if ((null != layer) && (LienzoCore.IS_CANVAS_SUPPORTED))
        {
            final int size = getElement().getChildCount();

            if (size < 2)
            {
                return this;
            }
            final DivElement element = layer.getElement();

            for (int i = 0; i < size; i++)
            {
                final DivElement look = getElement().getChild(i).cast();

                if (look == element)
                {
                    if ((i + 1) == size)
                    {
                        break;// already at top
                    }
                    getElement().removeChild(element);

                    getElement().insertAfter(element, getElement().getChild(i + 1));

                    break;
                }
            }
            final NFastArrayList<Layer> layers = getChildNodes();

            if (null != layers)
            {
                layers.moveUp(layer);
            }
        }
        return this;
    }
1207653
def mouse_out(self):
        
        self.scroll_to()
        ActionChains(self.parent.driver).move_by_offset(0, 0).click().perform()
166882
protected void fireLayerMovedDownEvent(MapLayer layer, int newIndex) {
		fireLayerHierarchyChangedEvent(new MapLayerHierarchyEvent(this, layer,
				Type.MOVE_CHILD_DOWN, newIndex, layer.isTemporaryLayer()));
	}
1064910
@Override
    protected void processMouseWheelEvent (MouseWheelEvent event)
    {
        event.translatePoint(_vbounds.x, _vbounds.y);
        super.processMouseWheelEvent(event);
    }
1105751
@Override
    public final Scene moveToTop(final Layer layer)
    {
        if ((null != layer) && (LienzoCore.IS_CANVAS_SUPPORTED))
        {
            final int size = getElement().getChildCount();

            if (size < 2)
            {
                return this;
            }
            final DivElement element = layer.getElement();

            getElement().removeChild(element);

            getElement().appendChild(element);

            final NFastArrayList<Layer> layers = getChildNodes();

            if (null != layers)
            {
                layers.moveToTop(layer);
            }
        }
        return this;
    }