xworker.swt.dnd.DropTarget.xer.txt Maven / Gradle / Ivy
@xworker.swt.dnd.DropTarget
sname
DropTarget
slabel
DropTarget
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription
Class DropTarget
defines the target object for a drag and drop transfer.
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@actions/@create
sname
create
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.swt.dnd.DropTargetCreator
smethodName
create
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@name
sname
name
slabel
名称
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@label
sname
label
slabel
标签
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DROP_NONE
sname
DROP_NONE
sinputtype
truefalse
sdefault
false
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DND_DROP_COPY
sname
DROP_COPY
sinputtype
truefalse
sdefault
false
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DROP_MOVE
sname
DROP_MOVE
sinputtype
truefalse
sdefault
false
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DROP_LINK
sname
DROP_LINK
sinputtype
truefalse
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener
sname
Listener
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.lang.actions.Actions
smany
true
seditCols
2
sinitialization
false
smodifier
public
Sdescription
#$@text#$@
void
dragEnter(DropTargetEvent event)
The cursor has entered the drop target boundaries.
void
dragLeave(DropTargetEvent event)
The cursor has left the drop target boundaries OR the drop has been cancelled OR the data is about to be dropped.
void
dragOperationChanged(DropTargetEvent event)
The operation being performed has changed (usually due to the user changing the selected modifier key(s) while dragging).
void
dragOver(DropTargetEvent event)
The cursor is moving over the drop target.
void
drop(DropTargetEvent event)
The data is being dropped.
void
dropAccept(DropTargetEvent event)
The drop is about to be performed.
#$@text#$@
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@actions/@create
sname
create
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.swt.dnd.DropTargetListenerCreator
smethodName
create
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@name
sname
name
slabel
名称
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@label
sname
label
slabel
标签
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type
sname
type
slabel
类型
sinputtype
select
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type/@DragStart
sname
DragEnter
slabel
DragEnter
svalue
DragEnter
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type/@DragSetData
sname
DragLeave
slabel
DragLeave
svalue
DragLeave
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type/@DragEnd
sname
DragOver
slabel
DragOver
svalue
DragOver
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type/@DragOperationChanged
sname
DragOperationChanged
slabel
DragOperationChanged
svalue
DragOperationChanged
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type/@DropAccept
sname
DropAccept
slabel
DropAccept
svalue
DropAccept
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@type/@Drop
sname
Drop
slabel
Drop
svalue
Drop
sdescriptors
xworker.lang.MetaDescriptor3/@attribute/@value
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Listener/@ref
sname
ref
sinputtype
dataSelector
ssize
60
scolspan
2
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@Transfer
sname
Transfer
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.dnd.Transfer
smany
true
seditCols
2
sinitialization
false
smodifier
public
Sdescription
#$@text#$@
Transfer
provides a mechanism for converting between a java representation of data and a platform specific representation of data and vice versa. It is used in data transfer operations such as drag and drop and clipboard copy/paste.
You should only need to become familiar with this class if you are implementing a Transfer subclass and you are unable to subclass the ByteArrayTransfer class.
#$@text#$@
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DragSourceEffect
sname
DropTargetEffect
sdescriptors
xworker.lang.MetaDescriptor3/@thing
sextends
xworker.swt.dnd.DropTargetEffect
smany
true
seditCols
2
sinitialization
false
smodifier
public
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DropTargetListener
sname
DropTargetListener
sdescriptors
xworker.lang.MetaDescriptor3/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
Sdescription
#$@text#$@
void
dragEnter(DropTargetEvent event)
The cursor has entered the drop target boundaries.
void
dragLeave(DropTargetEvent event)
The cursor has left the drop target boundaries OR the drop has been cancelled OR the data is about to be dropped.
void
dragOperationChanged(DropTargetEvent event)
The operation being performed has changed (usually due to the user changing the selected modifier key(s) while dragging).
void
dragOver(DropTargetEvent event)
The cursor is moving over the drop target.
void
drop(DropTargetEvent event)
The data is being dropped.
void
dropAccept(DropTargetEvent event)
The drop is about to be performed.
#$@text#$@
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DropTargetListener/@actions
sname
actions
sdescriptors
xworker.lang.MetaDescriptor3/@actions
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DropTargetListener/@actions/@create
sname
create
sisSynchronized
false
sthrowException
true
suseOtherAction
false
suseOuterJava
true
souterClassName
xworker.swt.dnd.DropTargetDropTargetListenerCreator
smethodName
create
sdisableGlobalContext
false
sdescriptors
xworker.lang.actions.JavaAction
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DropTargetListener/@actions1
sname
actions
slabel
Actions
sdescriptors
xworker.lang.MetaDescriptor2/@thing
sextends
xworker.lang.actions.Actions
smany
true
seditCols
2
Sdescription
#$@text#$@
如果是自定义的DragSourceEffect,那么可根据需要编写以下动作:
void
dragEnter(DropTargetEvent event)
This implementation of dragEnter
permits the default operation defined in event.detail
to be performed on the current data type defined in event.currentDataType
.
void
dragLeave(DropTargetEvent event)
This implementation of dragLeave
does nothing.
void
dragOperationChanged(DropTargetEvent event)
This implementation of dragOperationChanged
permits the default operation defined in event.detail
to be performed on the current data type defined in event.currentDataType
.
void
dragOver(DropTargetEvent event)
This implementation of dragOver
permits the default operation defined in event.detail
to be performed on the current data type defined in event.currentDataType
.
void
drop(DropTargetEvent event)
This implementation of drop
does nothing.
void
dropAccept(DropTargetEvent event)
This implementation of dropAccept
permits the default operation defined in event.detail
to be performed on the current data type defined in event.currentDataType
.
#$@text#$@
sid
actions
szh_label
动作
@xworker.swt.dnd.DropTarget/@DropTargetListener/@actions1/@name
sname
name
sid
name
sdescriptors
xworker.lang.MetaDescriptor2/@attribute
@xworker.swt.dnd.DropTarget/@DropTargetListener/@name
sname
name
slabel
名称
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
@xworker.swt.dnd.DropTarget/@DropTargetListener/@label
sname
label
slabel
标签
LvalidateOnBlur
false
LallowDecimals
false
LallowNegative
false
sdescriptors
xworker.lang.MetaDescriptor3/@attribute
sth_createIndex
false
© 2015 - 2025 Weber Informatics LLC | Privacy Policy