Procboy's BLog

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

          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 閱讀(494) 評論(1)  編輯  收藏 所屬分類: Eclipse

          評論

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

          可不可以多發(fā)一點啊??  回復  更多評論   


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


          網(wǎng)站導航:
           
          主站蜘蛛池模板: 新巴尔虎右旗| 鸡泽县| 昆山市| 兴隆县| 崇义县| 荆门市| 渑池县| 汝城县| 临颍县| 邯郸县| 莎车县| 合阳县| 宾川县| 揭西县| 全椒县| 娱乐| 徐闻县| 芜湖市| 收藏| 天门市| 三都| 无锡市| 沙雅县| 桑植县| 香格里拉县| 株洲县| 汉源县| 嵊泗县| 休宁县| 长沙市| 收藏| 左云县| 安达市| 信丰县| 高淳县| 淮北市| 三河市| 沙湾县| 万源市| 浦县| 巴东县|