|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSimplePanel
com.vaadin.client.ui.VCustomComponent
com.vaadin.client.ui.VDragAndDropWrapper
public class VDragAndDropWrapper
Must have features pending: drop details: locations + sizes in document hierarchy up to wrapper
| Nested Class Summary | |
|---|---|
class |
VDragAndDropWrapper.CustomDropHandler
|
| Field Summary | |
|---|---|
protected java.lang.String[] |
acceptedTypes
|
ApplicationConnection |
client
For internal use only. |
protected static int |
COMPONENT
|
protected static int |
COMPONENT_OTHER
|
protected static java.lang.String |
DRAGGABLE
|
int |
dragStartMode
For internal use only. |
VAbstractDropHandler |
dropHandler
For internal use only. |
java.util.List<java.lang.Integer> |
fileIds
For internal use only. |
java.util.Map<java.lang.String,java.lang.String> |
fileIdToReceiver
For internal use only. |
java.util.List<VHtml5File> |
files
For internal use only. |
boolean |
hasTooltip
For internal use only. |
protected com.vaadin.shared.ui.dd.HorizontalDropLocation |
horizontalDropLocation
|
protected static int |
HTML5
|
ValueMap |
html5DataFlavors
For internal use only. |
protected static int |
NONE
|
protected com.vaadin.shared.ui.dd.VerticalDropLocation |
verticalDropLocation
|
protected static int |
WRAPPER
|
| Constructor Summary | |
|---|---|
VDragAndDropWrapper()
|
|
| Method Summary | |
|---|---|
protected void |
deEmphasis(boolean doLayout)
|
protected void |
emphasis(VDragEvent drag)
|
ComponentConnector |
getConnector()
|
Widget |
getDragImageWidget()
|
protected com.google.gwt.user.client.Element |
getDragStartElement()
|
VDropHandler |
getDropHandler()
|
protected void |
hookHtml5DragStart(com.google.gwt.user.client.Element el)
Deprecated. As of 7.2, call or override hookHtml5DragStart(Element) instead |
protected void |
hookHtml5DragStart(Element el)
|
protected void |
hookHtml5Events(com.google.gwt.user.client.Element el)
Deprecated. As of 7.2, call or override hookHtml5Events(Element)
instead |
protected void |
hookHtml5Events(Element el)
Prototype code, memory leak risk. |
boolean |
html5DragDrop(VHtml5DragEvent event)
|
boolean |
html5DragEnter(VHtml5DragEvent event)
|
boolean |
html5DragLeave(VHtml5DragEvent event)
|
boolean |
html5DragOver(VHtml5DragEvent event)
|
boolean |
html5DragStart(VHtml5DragEvent event)
|
void |
initDragStartMode()
For internal use only. |
void |
setDragAndDropWidget(Widget widget)
Set the widget that will be used as the drag image when using DragStartMode COMPONENT_OTHER . |
void |
startNextUpload()
For internal use only. |
boolean |
updateDropDetails(VDragEvent drag)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final java.lang.String DRAGGABLE
public boolean hasTooltip
protected static final int NONE
protected static final int COMPONENT
protected static final int WRAPPER
protected static final int HTML5
protected static final int COMPONENT_OTHER
public int dragStartMode
public ApplicationConnection client
public VAbstractDropHandler dropHandler
public java.util.Map<java.lang.String,java.lang.String> fileIdToReceiver
public ValueMap html5DataFlavors
protected java.lang.String[] acceptedTypes
public java.util.List<java.lang.Integer> fileIds
public java.util.List<VHtml5File> files
protected com.vaadin.shared.ui.dd.VerticalDropLocation verticalDropLocation
protected com.vaadin.shared.ui.dd.HorizontalDropLocation horizontalDropLocation
| Constructor Detail |
|---|
public VDragAndDropWrapper()
| Method Detail |
|---|
public void initDragStartMode()
protected com.google.gwt.user.client.Element getDragStartElement()
public void startNextUpload()
public boolean html5DragStart(VHtml5DragEvent event)
public boolean html5DragEnter(VHtml5DragEvent event)
public boolean html5DragLeave(VHtml5DragEvent event)
public boolean html5DragOver(VHtml5DragEvent event)
public boolean html5DragDrop(VHtml5DragEvent event)
public VDropHandler getDropHandler()
getDropHandler in interface VHasDropHandlerpublic ComponentConnector getConnector()
@Deprecated protected void hookHtml5DragStart(com.google.gwt.user.client.Element el)
hookHtml5DragStart(Element) instead
protected void hookHtml5DragStart(Element el)
@Deprecated protected void hookHtml5Events(com.google.gwt.user.client.Element el)
hookHtml5Events(Element)
instead
el - protected void hookHtml5Events(Element el)
el - public boolean updateDropDetails(VDragEvent drag)
protected void deEmphasis(boolean doLayout)
protected void emphasis(VDragEvent drag)
public void setDragAndDropWidget(Widget widget)
COMPONENT_OTHER .
widget - public Widget getDragImageWidget()
null if no
widget is set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||