^1570528567932
@
sname
Transfer
slabel
Transfer
sdescriptors
xworker.lang.MetaDescriptor3,xworker.lang.MetaDescriptor3/@thing
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p><code>Transfer</code> 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.</p>

<p>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.</p>

<p><strong>可以重写的方法：</strong></p>

<ul>
	<li><strong>String getType()</strong><br />
	返回Transfer的类型，默认从type属性上获取。</li>
</ul>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sth_createIndex
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sid
  actions
    @/@actions/@create
    sname
    create
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.dnd.TransferCreator
    smethodName
    create
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.JavaAction
    sth_createIndex
    false
    sid
    create
    @/@actions/@getType
    sname
    getType
    sattributeName
    type
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdebugLog
    false
    sdescriptors
    xworker.lang.actions.ActionUtil/@GetString
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getType
  @/@name
  sname
  name
  slabel
  名称
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  name
  @/@label
  sname
  label
  slabel
  标签
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  label
  @/@type
  sname
  type
  slabel
  类型
  sinputtype
  inputSelect
  Sdescription
#$@text#$@
<p>可以选择已有的类型也可以输入新的类型。</p>
<p>如果选择已有的类型，那么返回swt定义的类型。如果输入新的类型，那么必须要实现以下方法：</p>
<h3>getSupportedTypes</h3>
<pre>
public abstract <a title="org.eclipse.swt.dnd 中的类" href="file.///E./文档/swt/org/eclipse/swt/dnd/TransferData.html">TransferData</a>[] <b>getSupportedTypes</b>()</pre>
<dl><dd>Returns a list of the platform specific data types that can be converted using this transfer agent.
<p>Only the data type fields of the <code>TransferData</code> objects are filled in.</p>
<p>&nbsp;</p>
</dd><dd><dl><dt><b>返回：</b> </dt><dd>a list of the data types that can be converted using this transfer agent</dd></dl></dd></dl><hr />
<p><a name="isSupportedType(org.eclipse.swt.dnd.TransferData)"><!-- --></a></p>
<h3>isSupportedType</h3>
<pre>
public abstract boolean <b>isSupportedType</b>(<a title="org.eclipse.swt.dnd 中的类" href="file.///E./文档/swt/org/eclipse/swt/dnd/TransferData.html">TransferData</a>&nbsp;transferData)</pre>
<dl><dd>Returns true if the <code>TransferData</code> data type can be converted using this transfer agent, or false otherwise (including if transferData is <code>null</code>).
<p>&nbsp;</p>
</dd><dd><dl><dt><b>参数：</b> </dt><dd><code>transferData</code> - a platform specific description of a data type; only the data type fields of the <code>TransferData</code> object need to be filled in </dd><dt><b>返回：</b> </dt><dd>true if the transferData data type can be converted using this transfer agent</dd></dl></dd></dl>
<p>另外程序会自动调用<strong>registerType</strong>方法注册新类型，类型的id号放在type字段里。</p>
#$@text#$@
  LvalidateOnBlur
  false
  LallowDecimals
  false
  LallowNegative
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sid
  type
    @/@type/@File
    sname
    File
    slabel
    File
    svalue
    File
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    File
    @/@type/@HTML
    sname
    HTML
    slabel
    HTML
    svalue
    HTML
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    HTML
    @/@type/@Image
    sname
    Image
    slabel
    Image
    svalue
    Image
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    Image
    @/@type/@RTF
    sname
    RTF
    slabel
    RTF
    svalue
    RTF
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    RTF
    @/@type/@Text
    sname
    Text
    slabel
    Text
    svalue
    Text
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    Text
    @/@type/@URL
    sname
    URL
    slabel
    URL
    svalue
    URL
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sth_createIndex
    false
    sid
    URL
    @/@type/@Thing
    sname
    Thing
    svalue
    Thing
    sdescriptors
    xworker.lang.MetaDescriptor3/@attribute/@value
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    Thing
  @/@actions1
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@thing
  sextends
  xworker.lang.actions.Actions
  szh_label
  动作
  sid
  actions1
    @/@actions1/@name
    sname
    name
    sdescriptors
    xworker.lang.MetaDescriptor2/@attribute
    sid
    name
  @/@VariablesDescs
  sname
  VariablesDescs
  sdescriptors
  xworker.lang.MetaThing/@VariablesDesc
  sinheritDescription
  false
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_fileMonitor
  false
  sth_mark
  false
  sid
  VariablesDescs
    @/@VariablesDescs/@shell
    sname
    var
    svarName
    ognl:thing.getMetadata().getName()
    stype
    object
    sclassName
    org.eclipse.swt.dnd.Transfer
    sdescriptors
    xworker.lang.MetaThing/@VariablesDesc/@Object
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_fileMonitor
    false
    sth_mark
    false
    sid
    shell
