|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.NativeEvent
com.vaadin.terminal.gwt.client.ui.dd.VHtml5DragEvent
public class VHtml5DragEvent
Helper class to access html5 style drag events. TODO Gears support ?
| Field Summary |
|---|
| Fields inherited from class com.google.gwt.dom.client.NativeEvent |
|---|
BUTTON_LEFT, BUTTON_MIDDLE, BUTTON_RIGHT |
| Constructor Summary | |
|---|---|
protected |
VHtml5DragEvent()
|
| Method Summary | |
|---|---|
String |
getDataAsText(String type)
|
String |
getEffectAllowed()
|
VHtml5File |
getFile(int fileIndex)
|
String |
getFileAsString(int index)
Works on FF 3.6 and possibly with gears. |
int |
getFileCount()
|
com.google.gwt.core.client.JsArrayString |
getTypes()
|
void |
setDragEffect(String effect)
Deprecated. As of Vaadin 6.8, replaced by setDropEffect(String). |
void |
setDropEffect(String effect)
|
void |
setEffectAllowed(String effect)
|
void |
setHtml5DataFlavor(String flavor,
String data)
|
| Methods inherited from class com.google.gwt.dom.client.NativeEvent |
|---|
getAltKey, getButton, getChangedTouches, getCharCode, getClientX, getClientY, getCtrlKey, getCurrentEventTarget, getEventTarget, getKeyCode, getMetaKey, getMouseWheelVelocityY, getRelatedEventTarget, getRotation, getScale, getScreenX, getScreenY, getShiftKey, getString, getTargetTouches, getTouches, getType, preventDefault, stopPropagation |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected VHtml5DragEvent()
| Method Detail |
|---|
public final com.google.gwt.core.client.JsArrayString getTypes()
public final String getDataAsText(String type)
public final String getFileAsString(int index)
index -
@Deprecated public final void setDragEffect(String effect)
setDropEffect(String).
public final void setDropEffect(String effect)
public final String getEffectAllowed()
public final void setEffectAllowed(String effect)
public final int getFileCount()
public final VHtml5File getFile(int fileIndex)
public final void setHtml5DataFlavor(String flavor,
String data)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||