All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.extjs.gxt.ui.client.event.DragEvent Maven / Gradle / Ivy

There is a newer version: 2.3.1-gwt22
Show newest version
/*
 * Ext GWT - Ext for GWT
 * Copyright(c) 2007, 2008, Ext JS, LLC.
 * [email protected]
 * 
 * http://extjs.com/license
 */
package com.extjs.gxt.ui.client.event;

import com.extjs.gxt.ui.client.fx.Draggable;
import com.extjs.gxt.ui.client.widget.Component;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.Element;

/**
 * Draggable event type.
 * 
 * 

Note: For a given event, only the fields which are appropriate will be * filled in. The appropriate fields for each event are documented by the event * source. * * @see Draggable */ public class DragEvent extends DomEvent { /** * The draggable instance. */ public Draggable draggable; /** * The component being dragged. */ public Component component; /** * The current height. */ public int height; /** * The current width. */ public int width; /** * The current x-coordinate value. */ public int x; /** * The current y-coordinate value. */ public int y; /** * Returns the event target. * * @return the target */ public Element getTarget() { return DOM.eventGetTarget(event); } public DragEvent(Draggable draggable) { this.draggable = draggable; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy