Interface UITable
- All Superinterfaces:
UIWidget
This interface represents a table component.
The target node must be an association node.
JavaScript type
Javascript call to get or set value on this component are not supported.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the programmatic toolbar to display on row.Returns the name of the toolbar to display on row.Returns the programmatic toolbar to display on top.Returns the name of the toolbar to display on top.booleanReturnstrueif row toolbars are hidden.booleanReturnstrueif table toolbar is hidden.voidsetPageSize(int newPageSize) Sets the number of entries on each page of the table component.voidsetRowToolbar(Toolbar rowToolbar) Specifies the programmatic toolbar to display on row.voidsetRowToolbarHidden(boolean rowToolbarHidden) Specifies if table should display its toolbars on rows.voidsetRowToolbarName(String rowToolbarName) Specifies the name of the toolbar to display on row.voidsetTopToolbar(Toolbar topToolbar) Specifies the programmatic toolbar to display on top.voidsetTopToolbarHidden(boolean topToolbarHidden) Specifies if table should display its toolbar.voidsetTopToolbarName(String topToolbarName) Specifies the name of the toolbar to display on top.Methods inherited from interface com.orchestranetworks.ui.form.widget.UIWidget
isEditorDisabled, setEditorDisabled
-
Method Details
-
getPageSize
Integer getPageSize()- Returns:
- the page size of list of the table component,
or
nullif it has not been defined.
-
setPageSize
void setPageSize(int newPageSize) Sets the number of entries on each page of the table component.- Parameters:
newPageSize- the number of entries on each page of the table component, must be greater than zero.
-
isTopToolbarHidden
boolean isTopToolbarHidden()Returnstrueif table toolbar is hidden.- Since:
- 6.0.0
-
setTopToolbarHidden
void setTopToolbarHidden(boolean topToolbarHidden) Specifies if table should display its toolbar. The pagination toolbar and filter button will still be displayed.- Parameters:
topToolbarHidden- set totrueto hide table toolbar.- Since:
- 6.0.0
-
isRowToolbarHidden
boolean isRowToolbarHidden()Returnstrueif row toolbars are hidden.- Since:
- 6.0.0
-
setRowToolbarHidden
void setRowToolbarHidden(boolean rowToolbarHidden) Specifies if table should display its toolbars on rows.- Parameters:
rowToolbarHidden- set totrueto hide table rows toolbar.- Since:
- 6.0.0
-
getTopToolbarName
String getTopToolbarName()Returns the name of the toolbar to display on top.- Since:
- 6.0.0
-
setTopToolbarName
Specifies the name of the toolbar to display on top. This is incompatible withsetTopToolbar(Toolbar)and will remove any configuration made by this method.- Since:
- 6.0.0
-
getTopToolbar
Toolbar getTopToolbar()Returns the programmatic toolbar to display on top.- Since:
- 6.0.0
-
setTopToolbar
Specifies the programmatic toolbar to display on top. This is incompatible withsetTopToolbarName(String)and will remove any configuration made by this method.- Since:
- 6.0.0
-
getRowToolbarName
String getRowToolbarName()Returns the name of the toolbar to display on row.- Since:
- 6.0.0
-
setRowToolbarName
Specifies the name of the toolbar to display on row. This is incompatible withsetRowToolbar(Toolbar)and will remove any configuration made by this method.- Since:
- 6.0.0
-
getRowToolbar
Toolbar getRowToolbar()Returns the programmatic toolbar to display on row.- Since:
- 6.0.0
-
setRowToolbar
Specifies the programmatic toolbar to display on row. This is incompatible withsetRowToolbarName(String)and will remove any configuration made by this method.- Since:
- 6.0.0
-