|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseEvent
com.extjs.gxt.ui.client.event.DomEvent
com.extjs.gxt.ui.client.event.DragEvent
public class DragEvent
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.
Draggable
Field Summary |
---|
Fields inherited from class com.extjs.gxt.ui.client.event.DomEvent |
---|
event |
Constructor Summary | |
---|---|
DragEvent(Draggable draggable)
Creates a new drag event. |
Method Summary | |
---|---|
Component |
getComponent()
Returns the source component. |
Draggable |
getDraggable()
Returns the source draggable. |
int |
getHeight()
Returns the current height. |
com.google.gwt.dom.client.Element |
getStartElement()
Returns the element where the mousedown happened. |
int |
getWidth()
Returns the current width. |
int |
getX()
Returns the current x-coordinate value. |
int |
getY()
Returns the current y-coordinate value |
void |
setComponent(Component component)
Sets the source component. |
void |
setDraggable(Draggable draggable)
Sets the source draggable. |
void |
setHeight(int height)
Sets the current height. |
void |
setStartElement(com.google.gwt.dom.client.Element startElement)
Sets the element where the mousedown happened. |
void |
setWidth(int width)
Sets the current width. |
void |
setX(int x)
Sets the current x-coordinate value. |
void |
setY(int y)
Sets the current y-coordinate value. |
Methods inherited from class com.extjs.gxt.ui.client.event.DomEvent |
---|
cancelBubble, getClientX, getClientY, getEvent, getEventTypeInt, getKeyCode, getTarget, getTarget, getTargetEl, getXY, hasModifier, isAltKey, isControlKey, isNavKeyPress, isNavKeyPress, isRightClick, isShiftKey, isSpecialKey, isSpecialKey, preventDefault, setEvent, stopEvent, within, within |
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent |
---|
getSource, getType, isCancelled, setCancelled, setSource, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DragEvent(Draggable draggable)
draggable
- the draggableMethod Detail |
---|
public Component getComponent()
public Draggable getDraggable()
public int getHeight()
public com.google.gwt.dom.client.Element getStartElement()
public int getWidth()
public int getX()
public int getY()
public void setComponent(Component component)
component
- the componentpublic void setDraggable(Draggable draggable)
draggable
- the draggablepublic void setHeight(int height)
height
- the current heightpublic void setStartElement(com.google.gwt.dom.client.Element startElement)
startElement
- the startElement to setpublic void setWidth(int width)
width
- the widthpublic void setX(int x)
x
- the x-coordinate valuepublic void setY(int y)
y
- the y-coordinate value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |