Procboy's BLog

          計算機技術交流,大家都來聊聊看^_^

          SWT常用的一些界面類

          Widget
          ?Purpose
          ?Styles
          ?Events
          ?
          Button
          ?A standard push button.
          ?BORDER, CHECK, PUSH, RADIO, TOGGLE, FLAT, LEFT, RIGHT, CENTER, ARROW (with UP, DOWN)
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection
          ?
          Canvas
          ?A composite control that can contain other controls, and also is a drawing surface. Often the foundation of custom controls.
          ?BORDER, H_SCROLL, V_SCROLL, NO_BACKGROUND, NO_FOCUS, NO_MERGE_PAINTS, NO_REDRAW_RESIZE, NO_RADIO_GROUP
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          Caret
          ?The standard I-beam caret used to indicate the insertion point for text.
          ?? Dispose
          ?
          Combo
          ?A standard combo box—that is, the combination of a text control and a drop-down list.
          ?BORDER, DROP_DOWN, READ_ONLY, SIMPLE
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, DefaultSelection, Modify, Selection
          ?
          Composite
          ?Control that can contain other widgets.
          ?BORDER, H_SCROLL, V_SCROLL
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          CoolBar
          ?A composite control that allows users to reposition contained items dynamically.
          ?BORDER
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          CoolItem
          ?A UI element that represents a positionable area of a cool bar.
          ?DROP_DOWN
          ?Dispose
          ?
          Group
          ?A composite control that groups other widgets together. Can enclose them in an etched border and display a label.
          ?BORDER, SHADOW_ETCHED_IN, SHADOW_ETCHED_OUT, SHADOW_IN, SHADOW_OUT, SHADOW_NONE
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          Label
          ?The standard label control—displays text or an image.
          ?BORDER, CENTER, LEFT, RIGHT, WRAP, SEPARATOR (with HORIZONTAL, SHADOW_IN, SHADOW_OUT, SHADOW_NONE, VERTICAL)
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          List
          ?The standard list control—allows the user to choose items from a list of items.
          ?BORDER, H_SCROLL, V_SCROLL, SINGLE, MULTI
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection, DefaultSelection
          ?
          Menu
          ?The standard menu control—contains selectable menu items.
          ?BAR, DROP_DOWN, NO_RADIO_GROUP, POP_UP
          ?Dispose, Help, Hide, Show
          ?
          MenuItem
          ?UI object that represents an item in a menu.
          ?CHECK, CASCADE, PUSH, RADIO, SEPARATOR
          ?Dispose, Arm, Help, Selection
          ?
          ProgressBar
          ?The standard progress bar—displays progress of a task to the user, usually as a bar graph.
          ?BORDER, INDETERMINATE, SMOOTH, HORIZONTAL, VERTICAL
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          Sash
          ?Allows the user to drag a "rubber-banded" outline of the sash within the parent window to allow users to resize child widgets by moving their dividing lines.
          ?BORDER, HORIZONTAL, VERTICAL
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection
          ?
          Scale
          ?Control that represents a range of numeric values.
          ?BORDER, HORIZONTAL, VERTICAL
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection
          ?
          ScrollBar
          ?The standard scrollbar—represents a range of positive numeric values.
          ?HORIZONTAL, VERTICAL
          ?Dispose, Selection
          ?
          Shell
          ?A window that is managed by the operating system window manager.
          ?BORDER, H_SCROLL, V_SCROLL, CLOSE, MIN, MAX, NO_TRIM, RESIZE, TITLE (see also SHELL_TRIM,DIALOG_TRIM)
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Activate, Close, Deactivate,Deiconify, Iconify
          ?
          Slider
          ?Control that represents a range of numeric values, which the user can select by positioning a draggable thumb.
          ?BORDER, HORIZONTAL, VERTICAL
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection
          ?
          TabFolder
          ?Composite control that groups controls into pages that the user can select using labeled tabs.
          ?BORDER
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection
          ?
          TabItem
          ?Control corresponding to a tab in a tab folder.
          ?? Dispose
          ?
          Table
          ?Control that displays a list of table items.
          ?BORDER, H_SCROLL, V_SCROLL, SINGLE, MULTI, CHECK, FULL_SELECTION, HIDE_SELECTION
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection, DefaultSelection
          ?
          TableColumn
          ?UI object that represents a column in a table.
          ?LEFT, RIGHT, CENTER
          ?Dispose, Move, Resize, Selection
          ?
          TableItem
          ?UI object that represents an item in a table.
          ?? Dispose
          ?
          Text
          ?The standard text control, which allows the user to type text into it.
          ?BORDER, SINGLE, READ_ONLY, LEFT, CENTER, RIGHT, WRAP, MULTI (with H_SCROLL, V_SCROLL)
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, DefaultSelection, Modify, Verify
          ?
          ToolBar
          ?The standard toolbar—a composite control that contains toolbar items.
          ?BORDER, FLAT, WRAP, RIGHT, SHADOW_OUT HORIZONTAL, VERTICAL
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize
          ?
          ToolItem
          ?UI object that represents an item in a toolbar.
          ?PUSH, CHECK, RADIO, SEPARATOR, DROP_DOWN
          ?Dispose, Selection
          ?
          Tracker
          ?UI object that implements "rubber-banding" rectangles.
          ?LEFT, RIGHT, UP, DOWN, RESIZE
          ?Dispose, Move, Resize
          ?
          Tree
          ?Control that displays a hierarchical list of tree items.
          ?BORDER, H_SCROLL, V_SCROLL, SINGLE, MULTI, CHECK
          ?Dispose, FocusIn, FocusOut, Help, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseHover, MouseUp, MouseMove, Move, Paint, Resize, Selection, DefaultSelection, Collapse, Expand
          ?
          TreeItem
          ?UI object that represents a tree item in a tree.
          ?? Dispose
          ?

          posted on 2006-10-30 23:17 Procboy 閱讀(495) 評論(1)  編輯  收藏 所屬分類: Eclipse

          評論

          # re: SWT常用的一些界面類 2006-10-31 12:45 菜鳥[匿名]

          可不可以多發一點啊??  回復  更多評論   


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 昭通市| 乐山市| 古蔺县| 安福县| 桓仁| 吕梁市| 瓮安县| 洱源县| 项城市| 北票市| 都安| 清原| 舟曲县| 道孚县| 泸溪县| 青岛市| 临夏县| 策勒县| 仙居县| 康马县| 扎赉特旗| 调兵山市| 中江县| 策勒县| 德惠市| 镇平县| 河东区| 通河县| 商城县| 扎囊县| 阿克苏市| 巍山| 塔城市| 天全县| 永清县| 绥芬河市| 建昌县| 台东市| 屏东市| 盈江县| 临沂市|