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

xworker.swt.widgets.Control.xer.txt Maven / Gradle / Ivy

^1448950069272
@
sname
Control
slabel
Control
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.swt.widgets.Widget,xworker.swt.layout.LayoutDatas
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
sdescription

Control is the abstract superclass of all windowed user interface classes.

@/@actions sname actions sdescriptors xworker.lang.MetaDescriptor3/@actions @/@actions/@init sname init sisSynchronized false sthrowException false suseOtherAction false suseOuterJava true souterClassName xworker.swt.widgets.ControlCreator smethodName init sdisableGlobalContext false sdescription

参数 :control

sdescriptors xworker.lang.actions.JavaAction @/@actions/@menu_viewimageinbrowser sname menu_viewimageinbrowser sisSynchronized false sthrowException true suseOtherAction false svarScope Local sdisableGlobalContext false Scode #$@text#$@ import xworker.util.XWorkerUtils; def shellThing = getShellThing(currentThing); if(shellThing != null){ def url = XWorkerUtils.getWebUrl() + "do?sc=xworker.ide.worldExplorer.swt.http.SwtImage"; url = url + "&shell=" + shellThing.getMetadata().getPath(); url = url + "&control=" + currentThing.getMetadata().getName(); XWorkerUtils.ideOpenUrl(url); } def getShellThing(thing){ if(thing.isThingByName("Shell")){ return thing; } def parent = thing.getParent(); if(parent != null){ return getShellThing(parent); } return null; } #$@text#$@ sinterpretationType Action screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@GroovyAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@actions/@menu_openInIde sname menu_openInIde sisSynchronized false sthrowException true suseOtherAction false svarScope Local sdisableGlobalContext false Scode #$@text#$@ import xworker.util.XWorkerUtils; XWorkerUtils.ideOpenComposite(currentThing); #$@text#$@ sinterpretationType Action screateLocalVarScope false ssaveReturn false sdebugLog false sdescriptors xworker.lang.actions.Actions/@GroovyAction sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@cls sname cls ssize 60 scolspan 2 sgroup Control Sdescription #$@text#$@

样式名称。

目前的样式只是Control的公共属性的集合,可以设置Control的属性,功能仅限SWT的Control。

样式定义在StyleManager下,样式的目的类似HTML中的样式单,即在一个地方定义样式其他地方可以通过引用的方式实现样式的效果。

#$@text#$@ LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute sth_createIndex false @/@background sname background sgroup Control sdescription

Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@background/@SwtObject sname SwtObject sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject @/@background/@SwtObject/@inputEditor sname inputEditor sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputEditor @/@background/@SwtObject/@inputEditor/@ColorEditor sname ColorEditor sdescriptors xworker.lang.MetaThing/@thing,xworker.swt.xworker.attributeEditor.ColorEditor sth_createIndex false @/@backgroundImage sname backgroundImage sgroup Control sdescription

Sets the receiver's background image to the image specified by the argument, or to the default system color for the control if the argument is null.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@bounds sname bounds sgroup Control sdescription

Sets the receiver's size and location to the rectangular area specified by the arguments.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@bounds/@SwtObject sname SwtObject sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject @/@bounds/@SwtObject/@inputEditor sname inputEditor sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputEditor @/@bounds/@SwtObject/@inputEditor/@RectangleEditor sname RectangleEditor sdescriptors xworker.lang.MetaThing/@thing,xworker.swt.xworker.attributeEditor.RectangleEditor sth_createIndex false @/@capture sname capture sinputtype truefalse sgroup Control sdefault false sdescription

If the argument is true, causes the receiver to have all mouse events delivered to it until the method is called with false as the argument.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@cursor sname cursor sinputtype inputSelect sgroup Control sdescription

Sets the receiver's cursor to the cursor specified by the argument, or to the default cursor for that kind of control if the argument is null.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@cursor/@CURSOR_APPSTARTING sname CURSOR_APPSTARTING slabel CURSOR_APPSTARTING svalue CURSOR_APPSTARTING sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_ARROW sname CURSOR_ARROW slabel CURSOR_ARROW svalue CURSOR_ARROW sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_CROSS sname CURSOR_CROSS slabel CURSOR_CROSS svalue CURSOR_CROSS sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_HAND sname CURSOR_HAND slabel CURSOR_HAND svalue CURSOR_HAND sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_HELP sname CURSOR_HELP slabel CURSOR_HELP svalue CURSOR_HELP sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_IBEAM sname CURSOR_IBEAM slabel CURSOR_IBEAM svalue CURSOR_IBEAM sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_NO sname CURSOR_NO slabel CURSOR_NO svalue CURSOR_NO sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZEALL sname CURSOR_SIZEALL slabel CURSOR_SIZEALL svalue CURSOR_SIZEALL sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZEE sname CURSOR_SIZEE slabel CURSOR_SIZEE svalue CURSOR_SIZEE sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZEN sname CURSOR_SIZEN slabel CURSOR_SIZEN svalue CURSOR_SIZEN sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZENE sname CURSOR_SIZENE slabel CURSOR_SIZENE svalue CURSOR_SIZENE sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZENESW sname CURSOR_SIZENESW slabel CURSOR_SIZENESW svalue CURSOR_SIZENESW sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZENS sname CURSOR_SIZENS slabel CURSOR_SIZENS svalue CURSOR_SIZENS sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZENW sname CURSOR_SIZENW slabel CURSOR_SIZENW svalue CURSOR_SIZENW sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZENWSE sname CURSOR_SIZENWSE slabel CURSOR_SIZENWSE svalue CURSOR_SIZENWSE sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZES sname CURSOR_SIZES slabel CURSOR_SIZES svalue CURSOR_SIZES sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZESE sname CURSOR_SIZESE slabel CURSOR_SIZESE svalue CURSOR_SIZESE sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZESW sname CURSOR_SIZESW slabel CURSOR_SIZESW svalue CURSOR_SIZESW sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZEW sname CURSOR_SIZEW slabel CURSOR_SIZEW svalue CURSOR_SIZEW sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_SIZEWE sname CURSOR_SIZEWE slabel CURSOR_SIZEWE svalue CURSOR_SIZEWE sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_UPARROW sname CURSOR_UPARROW slabel CURSOR_UPARROW svalue CURSOR_UPARROW sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@cursor/@CURSOR_WAIT sname CURSOR_WAIT slabel CURSOR_WAIT svalue CURSOR_WAIT sdescriptors xworker.lang.MetaDescriptor3/@attribute/@value @/@enabled sname enabled sinputtype truefalse sgroup Control sdefault true sdescription

Enables the receiver if the argument is true, and disables it otherwise.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@font sname font sinputtype fontSelect sgroup Control sdescription

Sets the font that the receiver will use to paint textual information to the font specified by the argument, or to the default font for that kind of control if the argument is null.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@foreground sname foreground sgroup Control sdescription

Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@foreground/@SwtObject sname SwtObject sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject @/@foreground/@SwtObject/@inputEditor sname inputEditor sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputEditor @/@foreground/@SwtObject/@inputEditor/@ColorEditor sname ColorEditor sdescriptors xworker.lang.MetaThing/@thing,xworker.swt.xworker.attributeEditor.ColorEditor sth_createIndex false @/@layoutData sname layoutData sgroup Control sdescription

Sets the layout data associated with the receiver to the argument.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@location sname location sgroup Control sdescription

Sets the receiver's location to the point specified by the arguments which are relative to the receiver's parent (or its display if its parent is null), unless the receiver is a shell.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@location/@SwtObject sname SwtObject sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject @/@location/@SwtObject/@inputEditor sname inputEditor sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputEditor @/@location/@SwtObject/@inputEditor/@PointEditor sname PointEditor sdescriptors xworker.lang.MetaThing/@thing,xworker.swt.xworker.attributeEditor.PointEditor sth_createIndex false @/@menu sname menu sgroup Control sdescription

Sets the receiver's pop up menu to the argument.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@parent sname parent sgroup Control sdescription

Changes the parent of the widget to be the one provided if the underlying operating system supports this feature.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@redraw sname redraw sinputtype truefalse sgroup Control sdefault true sdescription

If the argument is false, causes subsequent drawing operations in the receiver to be ignored.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@region sname region sgroup Control sdescription

Sets the shape of the control to the region specified by the argument.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@region/@SwtObject sname SwtObject sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject @/@region/@SwtObject/@inputEditor sname inputEditor sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputEditor @/@region/@SwtObject/@inputEditor/@RectangleEditor sname RectangleEditor sdescriptors xworker.lang.MetaThing/@thing,xworker.swt.xworker.attributeEditor.RectangleEditor sth_createIndex false @/@size sname size sgroup Control sdescription

Sets the receiver's size to the point specified by the arguments.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@size/@SwtObject sname SwtObject sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject @/@size/@SwtObject/@inputEditor sname inputEditor sdescriptors xworker.lang.MetaDescriptor3/@attribute/@SwtObject/@inputEditor @/@size/@SwtObject/@inputEditor/@PointEditor sname PointEditor sdescriptors xworker.lang.MetaThing/@thing,xworker.swt.xworker.attributeEditor.PointEditor sth_createIndex false @/@toolTipText sname toolTipText sshowLabel true ssize 60 sgroup Control sreadOnly false sinheritDescription false sdescription

Sets the receiver's tool tip text to the argument, which may be null indicating that no tool tip text should be shown.

svalidateAllowBlank true LvalidateOnBlur false LallowDecimals false LallowNegative false snotXmlAttribute false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@visible sname visible sinputtype truefalse sgroup Control sdefault true sdescription

Marks the receiver as visible if the argument is true, and marks it invisible otherwise.

LvalidateOnBlur false LallowDecimals false LallowNegative false sdescriptors xworker.lang.MetaDescriptor3/@attribute @/@ControlListener sname ControlListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.ControlListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true Sdescription #$@text#$@

Classes which implement this interface provide methods that deal with the events that are generated by moving and resizing controls.

After creating an instance of a class that implements this interface it can be added to a control using the addControlListener method and removed using the removeControlListener method. When a control is moved or resized, the appropriate method will be invoked.

#$@text#$@ snotXmlAttribute false @/@DragDetectListener sname DragDetectListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.DragDetectListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@FocusListener sname FocusListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.FocusListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@HelpListener sname HelpListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.HelpListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@KeyListener sname KeyListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.KeyListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@MenuDetectListener sname MenuDetectListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.MenuDetectListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@MouseListener sname MouseListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.MouseListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@MouseMoveListener sname MouseMoveListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.MouseMoveListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@MouseTrackListener sname MouseTrackListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.MouseTrackListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@MouseWheelListener sname MouseWheelListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.MouseWheelListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@PaintListener sname PaintListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.PaintListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@TraverseListener sname TraverseListener sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.events.TraverseListener smany true seditCols 2 sinitialization false sgroup events smodifier public sinheritDescription true snotXmlAttribute false @/@DragSource sname DragSource sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.dnd.DragSource smany true seditCols 2 sinitialization false sgroup dnd smodifier public sinheritDescription true sth_createIndex false @/@DropTarget sname DropTarget sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.dnd.DropTarget smany true seditCols 2 sinitialization false sgroup dnd smodifier public sinheritDescription true sth_createIndex false @/@Menu sname Menu sdescriptors xworker.lang.MetaDescriptor3/@thing sextends xworker.swt.widgets.Menu smany true seditCols 2 sinitialization false smodifier public sinheritDescription true sth_createIndex false sth_mark false @/@swtMenus sname swtMenus sid swtMenus slabel swtMenus sdescriptors xworker.lang.MetaDescriptor3/@swtMenus @/@swtMenus/@menuDefine sname menuDefine sid menuDefine slabel menuDefine sdescriptors xworker.lang.MetaDescriptor3/@swtMenus/@menuDefine @/@swtMenus/@menuDefine/@swt sname Control slabel Control sid swt sdescriptors xworker.lang.ThingMenu/@menuDefine/@menu @/@swtMenus/@runShell sname runShell stype data smenuType Control sid runShell slabel runShell sdescriptors xworker.lang.MetaDescriptor3/@swtMenus/@menuSetting @/@swtMenus/@runShell/@runShellAnotherThread sname runShellAnotherThread slabel 在浏览器中查看控件图片 surl xworker.swt.widgets.Control/@actions/@menu_viewimageinbrowser sisSplit false sattachParam true sid runShellAnotherThread sen_label Run in new Thread sdescriptors xworker.lang.ThingMenu/@menuSetting/@menu sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false @/@swtMenus/@runShell/@openInIde sname openInIde slabel 在IDE中打开运行 surl xworker.swt.widgets.Control/@actions/@menu_openInIde sisSplit false sattachParam true sdescriptors xworker.lang.ThingMenu/@menuSetting/@menu sinheritDescription false sth_createIndex false sth_registMyChilds false sth_registDisabled false sth_mark false




© 2015 - 2025 Weber Informatics LLC | Privacy Policy