Method declaration


@param e
@param x
@param y
196575
public boolean mouseExit(Event e, int x, int y) {

        if (bDrag) {
            setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

            bDrag = false;
        }

        return true;
    }
916255
public void actionPerformed(ActionEvent e)
    {
        if (e.getSource() == this)
        {
            Container container = this.getParent();
            if (container instanceof JCalendarDualField)
                container = container.getParent();
            if (container instanceof JTable)
            {   // Always
                JTable jtable = (JTable)container;
                int iRow = jtable.getSelectedRow();
                Object value = jtable.getValueAt(iRow, m_iColumn);
                this.setControlValue(value);    // Make sure I have the right value
            }
            //Date dateTarget = this.getTargetDate();
            
            JCalendarPopup popup = JCalendarPopup.createCalendarPopup(this.getDateParam(), this.getTargetDate(), this, this.getLanguage());
            popup.setTransferFocus(false);
            popup.addPropertyChangeListener(this);
        }
    }
610235
public void setXY(double x, double y) {
		_touch();

		if (m_attributes == null)
			_setToDefault();

		m_attributes[0] = x;
		m_attributes[1] = y;
	}
877738
public static void error(Throwable e) throws JMapperException{
		logger.error("{}: {}",e.getClass().getSimpleName(),e.getMessage());
		throw new JMapperException(e);
	}
1030542
function(c) {
      c = c.getc(true);
      this.x = c.x; 
      this.y = c.y;
    }
1076721
@Override
    public void addVertex(InterproceduralCallGraphVertex v) {
        super.addVertex(v);
        methodDescToVertexMap.put(v.getXmethod().getMethodDescriptor(), v);
    }
1036945
private void handleChildMethod(ExecutableElement methodElement) {
    String methodIdentifier = stitchMethodIdentifier(methodElement);
    MethodReferenceNode node = (MethodReferenceNode) elementReferenceMap.get(methodIdentifier);
    if (node == null) {
      node = new MethodReferenceNode(methodElement);
    }
    node.invoked = true;
    elementReferenceMap.put(methodIdentifier, node);
    addToOverrideMap(methodElement);
  }
827447
private void canvasClick(int x, int y)
    {
        //always called listeners
        for (CanvasClickListener listener : canvasClickAlwaysListeners)
            listener.canvasClicked(x, y);
        //selected listener by toggle buttons
        for (JToggleButton button : canvasClickToggleListeners.keySet())
        {
            if (button.isSelected())
                canvasClickToggleListeners.get(button).canvasClicked(x, y);
        }
        
        /*if (lookupButton.isSelected())
        {
            if (proc.getAreaTree() != null)
            {
                Area node = proc.getAreaTree().getAreaAt(x, y);
                if (node != null)
                {
                    showAreaInTree(node);
                    showAreaInLogicalTree(node);
                }
            }
            //lookupButton.setSelected(false);
        }
        if (boxLookupButton.isSelected())
        {
            Box node = proc.getPage().getBoxAt(x, y);
            if (node != null)
                showBoxInTree(node);
            //boxLookupButton.setSelected(false);
        }
        if (sepLookupButton.isSelected())
        {
            showSeparatorAt(x, y);
        }
        if (extractButton.isSelected())
        {
            AreaNode node = proc.getAreaTree().getAreaAt(x, y);
            if (node != null)
            {
                proc.getExtractor().findArticleBounds(node);
                try {
                    PrintStream exs = new PrintStream(new FileOutputStream("test/extract.html"));
                    proc.getExtractor().dumpTo(exs);
                    exs.close();
                } catch (java.io.IOException e) {
                    System.err.println("Output failed: " + e.getMessage());
                }
                
                //String s = ex.getDescriptionX(node, 2);
                //System.out.println("Extracted: " + s);
            }
            extractButton.setSelected(false);
        }*/
    }
969868
public void actionPerformed(ActionEvent e) {
		JButton button = (JButton) e.getSource();
		String buttonText = button.getText();
		int day = new Integer(buttonText).intValue();
		setDay(day);
	}
1040260
public Matrix<E> set(E element, int x, int y) {
		if (this.columns.size() < x) {
			columns.set(x, new ArrayList<>());
		}
		this.columns.get(x).set(y, element);
		return this;
	}
360448
@SuppressWarnings("unchecked")
public void mouseReleased(MouseEvent e) {
    if(checkModifiers(e)) {
        final VisualizationViewer<String,String> vv = (VisualizationViewer<String,String>)e.getSource();
        final Point2D p = e.getPoint();
        Layout<String,String> layout = vv.getModel().getGraphLayout();
        GraphElementAccessor<String,String> pickSupport = vv.getPickSupport();
        if(pickSupport != null) {
            final String vertex = pickSupport.getVertex(layout, p.getX(), p.getY());
            if(vertex != null && startVertex != null) {
                Graph<String,String> graph = vv.getGraphLayout().getGraph();
                try{
                	if(graph.addEdge(startVertex+"-"+vertex, startVertex, vertex, EdgeType.DIRECTED)){
                		notifyListeners(startVertex, vertex);
                	}
                } catch(Exception ex){
                	ex.printStackTrace();
                }
            }
            vv.repaint();
        }
        startVertex = null;
        down = null;
        vv.removePostRenderPaintable(edgePaintable);
        vv.removePostRenderPaintable(arrowPaintable);
    }
}
1082462
public void add(double x, double y) {
    data.add(x);
    data.add(y);
    minx = Math.min(minx, x);
    maxx = Math.max(maxx, x);
    miny = Math.min(miny, y);
    maxy = Math.max(maxy, y);
  }
253768
public void handle(Emitter e, Object data) {
        org.yecht.Node n = (org.yecht.Node)((IRubyObject)data).dataGetStructChecked();
        switch(n.kind) {
        case Map:
            Data.Map dm = (Data.Map)n.data;
            e.emitMap(n.type_id, dm.style);
            for(int i = 0; i < dm.idx; i++) {
                e.emitItem(n.mapRead(MapPart.Key, i));
                e.emitItem(n.mapRead(MapPart.Value, i));
            }
            e.emitEnd();
            break;
        case Seq:
            Data.Seq ds = (Data.Seq)n.data;
            e.emitSeq(n.type_id, ds.style);
            for(int i = 0; i < ds.idx; i++) {
                e.emitItem(n.seqRead(i));
            }
            e.emitEnd();
            break;
        case Str:
            Data.Str dss = (Data.Str)n.data;
            e.emitScalar(n.type_id, dss.style, 0, 0, 0, dss.ptr, dss.len);
            break;
        }
    }
1269012
double error(int[] x, int[] y) {
        int e = 0;

        for (int i = 0; i < x.length; i++) {
            if (x[i] != y[i]) {
                e++;
            }
        }

        return (double) e / x.length;
    }
374268
public static void e(String tag, String pattern, Object... parameters) {
        e(SUBSYSTEM.MAIN, tag, pattern, parameters);
    }
1121460
function(x, y) {
        if (this._translateX === undefined) { this._translateX = 0; }
        if (this._translateY === undefined) { this._translateY = 0; }

        if (x !== null && x !== undefined) { this._translateX = unit(x, 'px'); }
        if (y !== null && y !== undefined) { this._translateY = unit(y, 'px'); }

        this.translate = this._translateX + "," + this._translateY;
      }
197042
function _tE(e, c) {
        var eT = new Y.EventTarget().publish('transaction:' + e),
            a = c.arguments,
            cT = c.context || Y;

        if (a) {
            eT.on(c.on[e], cT, a);
        }
        else {
            eT.on(c.on[e], cT);
        }

        return eT;
    }