^1500346911976
@
sname
IconSelector
slabel
IconSelector
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.widgets.Canvas
smany
true
seditCols
2
sinitialization
false
sgroup
xwidgets
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p>图标选择器，用于选择图片。</p>

<p><strong>返回值和保存的对象</strong></p>

<p>&nbsp;&nbsp;&nbsp; 返回是一个ScrolledComposite，保存是IconSelector对象。</p>

<p><strong>事件</strong></p>

<p>&nbsp;&nbsp;&nbsp; 接受事件SWT.Selection和SWT.DefaultSelection。</p>

<p><strong>IconSelector类的常用方法</strong></p>

<ul>
	<li><strong>void setIcons(File directory, String fileDirectoryPrefix)</strong><br />
	设置一个目录，把目录下的图片文件作为图标的列表。fileDirectoryPrefix用于生产的图标文件的路径的前缀。<br />
	&nbsp;</li>
	<li><strong>void setIcons(List&lt;IconInfo&gt; icons)</strong><br />
	设置要显示的图标列表。<br />
	&nbsp;</li>
	<li><strong>void setMapIcons(List&lt;Map&lt;String, Object&gt; icons)</strong><br />
	设置要显示的图标列表，其中icon是Map对象保存的，Map的结构同IconInfo的结构。</li>
</ul>

<p><strong>IconFino的必要字段</strong></p>

<ul>
	<li><strong>String name</strong><br />
	名字。</li>
	<li><strong>String iconPath</strong><br />
	图标路径，从这个路径系统可以读取图片。</li>
	<li><strong>String toolTip</strong><br />
	提示信息。</li>
</ul>

<p>&nbsp;</p>
#$@text#$@
snotXmlAttribute
false
sjson_isArray
false
sth_createIndex
false
sth_registMyChilds
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@create
    sname
    create
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.swt.xwidgets.IconSelector
    smethodName
    create
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    create
    @/@actions/@getIconMaxWidth
    sname
    getIconMaxWidth
    sattributeName
    iconMaxWidth
    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/@GetInt
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getIconMaxWidth
    @/@actions/@getIconMaxHeight
    sname
    getIconMaxHeight
    sattributeName
    iconMaxHeight
    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/@GetInt
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getIconMaxHeight
    @/@actions/@getIconDirectory
    sname
    getIconDirectory
    sattributeName
    iconDirectory
    snotNull
    false
    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/@GetFile
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getIconDirectory
    @/@actions/@getIconDirectoryPrefix
    sname
    getIconDirectoryPrefix
    sattributeName
    iconDirectoryPrefix
    snotNull
    false
    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
    getIconDirectoryPrefix
    @/@actions/@getColumn
    sname
    getColumn
    sattributeName
    column
    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/@GetInt
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_registDisabled
    false
    sth_mark
    false
    sid
    getColumn
  @/@name
  sname
  name
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  name
  @/@column
  sname
  column
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  -1
  sinheritDescription
  false
  sdescription
  <p>要显示的列数。如果是-1将会自动调整列数。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_mark
  false
  sid
  column
  @/@iconMaxWidth
  sname
  iconMaxWidth
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  64
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  iconMaxWidth
  @/@iconMaxHeight
  sname
  iconMaxHeight
  sshowLabel
  true
  sreadOnly
  false
  sdefault
  64
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  iconMaxHeight
  @/@iconDirectory
  sname
  iconDirectory
  sinputtype
  filePath
  sshowLabel
  true
  ssize
  60
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  iconDirectory
  @/@iconDirectoryPrefix
  sname
  iconDirectoryPrefix
  sshowLabel
  true
  ssize
  40
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  iconDirectoryPrefix
  @/@description
  sname
  description
  sinputtype
  html
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_registMyChilds
  false
  sth_registDisabled
  false
  sth_mark
  false
  sid
  description
