All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xworker.swt.xwidgets.QuickMenu.xer.txt Maven / Gradle / Ivy

^1449645360479
@
sname
QuickMenu
slabel
QuickMenu
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@

使用它可以快速制作Menu。

变量

    保存的是QuickMenu这个Java对象,通过它使用名字可以获取节点的MenuItem对象。

事件

    选择事件,可以通过actionContainer和actionName,或实现run方法来实现。

#$@text#$@ snotXmlAttribute false sjson_isArray false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@actions/@create sname create sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.xwidgets.QuickMenu smethodName createQuickMenu sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@JavaAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@actions/@run sname run sdescriptors xworker.lang.actions.Actions/@NOOP sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@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_registDisabled false sth_mark false @/@label sname label 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 @/@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 @/@Menu sname Menu slabel Menu sdescriptors xworker.lang.MetaDescriptor3/@thing smany true seditCols 2 sinitialization false smodifier public sinheritDescription false Sdescription #$@text#$@

使用它可以快速制作Menu。

变量

    保存的是QuickMenu这个Java对象,通过它使用名字可以获取节点的MenuItem对象。

事件

    选择事件,可以通过actionContainer和actionName,或实现run方法来实现。

#$@text#$@ snotXmlAttribute false sjson_isArray false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@Menu/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@Menu/@actions/@create sname create sisSynchronized false sthrowException true suseOtherAction false suseOuterJava true suseInnerJava false souterClassName xworker.swt.xwidgets.QuickMenu smethodName createMenuItem sdisableGlobalContext false sattributeTemplate false sinterpretationType Action svarScope Global screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@JavaAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@Menu/@actions/@run sname run sdescriptors xworker.lang.actions.Actions/@NOOP sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@Menu/@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_registDisabled false sth_mark false @/@Menu/@label sname label 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 @/@Menu/@icon sname icon sinputtype imageSelector sshowLabel true ssize 50 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 @/@Menu/@seperator sname seperator sinputtype truefalse sshowLabel true sreadOnly false sdefault 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 @/@Menu/@actionContainer sname actionContainer 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 @/@Menu/@action sname actionName sshowLabel true ssize 50 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 @/@Menu/@accelerator sname accelerator sshowLabel true sreadOnly false sinheritDescription false sdescription

使用+号分割,可以使用SWT常用常量和字幕,比如:SHIFT+T。

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 @/@Menu/@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 @/@Menu/@Menu sname Menu sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.xwidgets.QuickMenu/@Menu smany true seditCols 2 sinitialization false smodifier public sinheritDescription false snotXmlAttribute false sjson_isArray false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@Menu/@actions1 sname actions slabel Actions sdescriptors xworker.lang.MetaDescriptor2/@thing sextends xworker.lang.actions.Actions smany true seditCols 2 Sdescription #$@text#$@

动作集合

    通过动作可以定义事物的行为,事物的行为即动作,可以用多种语言和方式编写。

self变量

    当一个动作作为一个事物的行为执行时,会把该事物以self变量传给动作。

第一个动作集合生效

    只有事物的第一个actions子节点才被认为是行为的定义集合,第二个及以后不算。

#$@text#$@ sid actions szh_label 动作 sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false Sen_description #$@text#$@

Actions

    Use actions can define behaviors of the thing. Behavior is action, can be defined by many program languages or other things.

Variable self

    When a action is executed as a behavior, in the actionContext will have a virable named 'self', self like this in java, self is it's onwer thing.

First actions is validate

    Only first actions node is behaviros collections.

#$@text#$@ sth_mark false @/@Menu/@actions1/@name sname name sid name sdescriptors xworker.lang.MetaDescriptor2/@attribute




© 2015 - 2025 Weber Informatics LLC | Privacy Policy