📜  GWT-复杂小部件

📅  最后修改于: 2020-10-25 04:40:01             🧑  作者: Mango


“复杂窗口小部件”使用户能够与应用程序进行高级交互。每个Complex小部件都从Widget类继承属性,而Widget类又从UIObject继承属性。

Sr.No. Widget & Description
1 GWT UIObject Class

This widget contains text, not interpreted as HTML using a

element, causing it to be displayed with block layout.

2 GWT Widget Class

This widget can contain HTML text and displays the html content using a

element, causing it to be displayed with block layout.

复杂的小部件

以下是一些重要的复杂小部件-

Sr.No. Widget & Description
1 Tree

This widget represents a standard hierarchical tree widget. The tree contains a hierarchy of TreeItems that the user can open, close, and select.

2 MenuBar

This widget represents a standard menu bar widget. A menu bar can contain any number of menu items, each of which can either fire a Command or open a cascaded menu bar.

3 DatePicker

This widget represents a standard GWT date picker.

4 CellTree

This widget represents a view of a tree. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit declaration.

5 CellList

This widget represents a single column list of cells.

6 CellTable

This widget represents a tabular view that supports paging and columns.

7 CellBrowser

This widget represents a browsable view of a tree in which only a single node per level may be open at one time. This widget will only work in standards mode, which requires that the HTML page in which it is run have an explicit declaration.