Package | Description |
---|---|
org.gwt.advanced.client.datamodel | |
org.gwt.advanced.client.ui.widget | |
org.gwt.advanced.client.ui.widget.cell |
Modifier and Type | Class and Description |
---|---|
class |
LazyTreeGridRow
This class implements lazy loadable tree row.
|
Modifier and Type | Method and Description |
---|---|
TreeGridRow |
TreeGridRow.getParent()
Getter for property 'parent'.
|
TreeGridRow |
CompositeModelEvent.getParent()
Gets a link to a parent row.
|
protected TreeGridRow[] |
TreeGridDataModel.getRootRows()
Gets a list of root rows.
|
TreeGridRow |
TreeGridDataModel.getRow(TreeGridRow parent,
int index)
Gets a grid row of the subtree by index.
|
TreeGridRow |
Composite.getRow(TreeGridRow parent,
int index)
Gets a grid row of the subtree by index.
|
TreeGridRow[] |
TreeGridDataModel.getRows(TreeGridRow parent)
Gets a list of child rows.
|
TreeGridRow[] |
Composite.getRows(TreeGridRow parent)
Gets a list of child rows.
|
Modifier and Type | Method and Description |
---|---|
protected List<TreeGridRow> |
TreeGridDataModel.getChildrenList(TreeGridRow parent)
Gets a list of children of the specified parent or creates if it doesn't exist.
|
protected Map<TreeGridRow,Boolean> |
TreeGridDataModel.getPagingFlags()
Getter for property 'pagingFlags'.
|
protected List<TreeGridRow> |
TreeGridDataModel.getRemovedRowsList(TreeGridRow parent)
Gets a list of removed rows for the specified parent row or creates a new one if it doesn't exist.
|
protected Map<TreeGridRow,List<TreeGridRow>> |
TreeGridDataModel.getRemovedRowsMap() |
protected Map<TreeGridRow,List<TreeGridRow>> |
TreeGridDataModel.getRemovedRowsMap() |
protected Map<TreeGridRow,List<TreeGridRow>> |
TreeGridDataModel.getSubRows()
Getter for property 'subRows'.
|
protected Map<TreeGridRow,List<TreeGridRow>> |
TreeGridDataModel.getSubRows()
Getter for property 'subRows'.
|
Modifier and Type | Method and Description |
---|---|
int |
TreeGridDataModel.addRow(TreeGridRow parent,
Object[] child)
Adds a child row.
|
int |
LazyTreeGridDataModel.addRow(TreeGridRow parent,
Object[] row)
Adds a child row.
|
int |
Composite.addRow(TreeGridRow parent,
Object[] child)
Adds a child row.
|
void |
TreeGridDataModel.clearRemovedRows(TreeGridRow parent)
Cleans the list of removed rows.
|
void |
Composite.clearRemovedRows(TreeGridRow parent)
Cleans the list of removed rows.
|
protected void |
TreeGridDataModel.fireRowEvent(EditableModelEvent.EventType eventType,
TreeGridRow parent,
int row)
This method fires the
CompositeModelEvent . |
protected List<TreeGridRow> |
TreeGridDataModel.getChildrenList(TreeGridRow parent)
Gets a list of children of the specified parent or creates if it doesn't exist.
|
int |
TreeGridDataModel.getCurrentPageNumber(TreeGridRow parent)
This method gets a current page number in the subtree.
|
int |
Composite.getCurrentPageNumber(TreeGridRow parent)
This method gets a current page number in the subtree.
|
int |
TreeGridDataModel.getDisplayedPages(TreeGridRow parent)
This method gets the number of pages links to be displayed in the subtree.
|
int |
Composite.getDisplayedPages(TreeGridRow parent)
This method gets the number of pages links to be displayed in the subtree.
|
int |
TreeGridDataModel.getEndPage(TreeGridRow parent)
This method returns an end page number in the subtree.
|
int |
Composite.getEndPage(TreeGridRow parent)
This method returns an end page number in the subtree.
|
int |
TreeGridDataModel.getEndRow(TreeGridRow parent)
Returns an end row number of the subgrid.
|
int |
LazyTreeGridDataModel.getEndRow(TreeGridRow parent)
Returns an end row number of the subgrid.
|
int |
Composite.getEndRow(TreeGridRow parent)
Returns an end row number of the subgrid.
|
int |
TreeGridDataModel.getPageSize(TreeGridRow parent)
Gets a page size of the subtree.
|
int |
Composite.getPageSize(TreeGridRow parent)
Gets a page size of the subtree.
|
Object[][] |
TreeGridDataModel.getRemovedRows(TreeGridRow parent)
Gets an array of removed rows data.
|
Object[][] |
Composite.getRemovedRows(TreeGridRow parent)
Gets an array of removed rows data.
|
protected List<TreeGridRow> |
TreeGridDataModel.getRemovedRowsList(TreeGridRow parent)
Gets a list of removed rows for the specified parent row or creates a new one if it doesn't exist.
|
TreeGridRow |
TreeGridDataModel.getRow(TreeGridRow parent,
int index)
Gets a grid row of the subtree by index.
|
TreeGridRow |
Composite.getRow(TreeGridRow parent,
int index)
Gets a grid row of the subtree by index.
|
TreeGridRow[] |
TreeGridDataModel.getRows(TreeGridRow parent)
Gets a list of child rows.
|
TreeGridRow[] |
Composite.getRows(TreeGridRow parent)
Gets a list of child rows.
|
int |
TreeGridDataModel.getStartPage(TreeGridRow parent)
This method returns a start page number in the subtree.
|
int |
Composite.getStartPage(TreeGridRow parent)
This method returns a start page number in the subtree.
|
int |
TreeGridDataModel.getStartRow(TreeGridRow parent)
Returns a subgrid start row number.
|
int |
Composite.getStartRow(TreeGridRow parent)
Returns a subgrid start row number.
|
int |
TreeGridDataModel.getTotalPagesNumber(TreeGridRow parent)
This method returns a number of existing pages in the subtree.
|
int |
Composite.getTotalPagesNumber(TreeGridRow parent)
This method returns a number of existing pages in the subtree.
|
int |
TreeGridDataModel.getTotalRowCount(TreeGridRow parent)
This method gets a total row count for the specified subtree.
|
int |
LazyTreeGridDataModel.getTotalRowCount(TreeGridRow parent)
This method gets a total row count for the specified subtree.
|
int |
Composite.getTotalRowCount(TreeGridRow parent)
This method gets a total row count for the specified subtree.
|
boolean |
TreeGridDataModel.isSubtreePagingEnabled(TreeGridRow parent)
Checks whether subtree paging is enabled.
|
boolean |
Composite.isSubtreePagingEnabled(TreeGridRow parent)
Checks whether subtree paging is enabled.
|
protected void |
TreeGridDataModel.remapIndexes(TreeGridRow parent)
This method remaps indexes in the subtree.
|
void |
TreeGridDataModel.removeAll(TreeGridRow parent)
Removes all the children of the specified row.
|
void |
LazyTreeGridDataModel.removeAll(TreeGridRow parent)
Removes all the children of the specified row.
|
void |
Composite.removeAll(TreeGridRow parent)
Removes all the children of the specified row.
|
void |
TreeGridDataModel.removeRow(TreeGridRow parent,
int row)
Removes the child row.
|
void |
LazyTreeGridDataModel.removeRow(TreeGridRow parent,
int rowNumber)
Removes the child row.
|
void |
Composite.removeRow(TreeGridRow parent,
int row)
Removes the child row.
|
void |
TreeGridDataModel.setCurrentPageNumber(TreeGridRow parent,
int currentPageNumber)
This method sets the current page number in the subtree.
|
void |
Composite.setCurrentPageNumber(TreeGridRow parent,
int currentPageNumber)
This method sets the current page number in the subtree.
|
void |
TreeGridDataModel.setDisplayedPages(TreeGridRow parent,
int displayedPages)
This method sets the number of pages links to be displayed in the subtree.
|
void |
Composite.setDisplayedPages(TreeGridRow parent,
int displayedPages)
This method sets the number of pages links to be displayed in the subtree.
|
void |
TreeGridDataModel.setPageSize(TreeGridRow parent,
int size)
Sets a page size value.
|
void |
Composite.setPageSize(TreeGridRow parent,
int size)
Sets a page size value.
|
void |
TreeGridRow.setParent(TreeGridRow parent)
Setter for property 'parent'.
|
void |
TreeGridDataModel.setParent(TreeGridRow parent,
TreeGridRow child)
Links the child row to the parent.
|
void |
Composite.setParent(TreeGridRow parent,
TreeGridRow child)
Links the child row to the parent.
|
void |
TreeGridDataModel.setSortColumn(TreeGridRow parent,
int column,
Comparator<Object> comparator)
This method sets the sort column of the model and sorts the data in the subtree using the specified comparator.
|
void |
Composite.setSortColumn(TreeGridRow parent,
int column,
Comparator<Object> comparator)
This method sets the sort column of the model and sorts the data in the subtree using the specified comparator.
|
void |
TreeGridDataModel.setSubtreePagingEnabled(TreeGridRow parent,
boolean enabled)
Sets subtree paging enabled or disabled.
|
void |
Composite.setSubtreePagingEnabled(TreeGridRow parent,
boolean enabled)
Sets subtree paging enabled or disabled.
|
void |
LazyTreeGridDataModel.setTotalRowCount(TreeGridRow gridRow,
int totalRowCount)
Sets a total gridRow count of the subtree rows.
|
void |
LazyLoadableComposite.setTotalRowCount(TreeGridRow gridRow,
int totalRowCount)
Sets a total gridRow count of the subtree rows.
|
void |
TreeGridDataModel.update(TreeGridRow parent,
int row,
int column,
Object data)
Updates the specified cell of the subtree with a new value.
|
void |
Composite.update(TreeGridRow parent,
int row,
int column,
Object data)
Updates the specified cell of the subtree with a new value.
|
void |
TreeGridDataModel.update(TreeGridRow parent,
Object[][] children)
Adds a list of child rows.
|
void |
LazyTreeGridDataModel.update(TreeGridRow parent,
Object[][] children)
Adds a list of child rows.
|
void |
Composite.update(TreeGridRow parent,
Object[][] children)
Adds a list of child rows.
|
void |
TreeGridDataModel.updateRow(TreeGridRow parent,
int rowNumber,
Object[] row)
This method updates a row with the specified data set.
|
void |
Composite.updateRow(TreeGridRow parent,
int rowNumber,
Object[] row)
This method updates a row with the specified data set.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TreeGridDataModel.setPagingFlags(Map<TreeGridRow,Boolean> pagingFlags)
Setter for property 'pagingFlags'.
|
protected void |
TreeGridDataModel.setSubRows(Map<TreeGridRow,List<TreeGridRow>> subRows)
Setter for property 'subRows'.
|
protected void |
TreeGridDataModel.setSubRows(Map<TreeGridRow,List<TreeGridRow>> subRows)
Setter for property 'subRows'.
|
Constructor and Description |
---|
CompositeModelEvent(EditableModelEvent.EventType eventType,
TreeGridRow parent)
Creates an instance of this class and initializes mandatory fields.
|
CompositeModelEvent(EditableModelEvent.EventType eventType,
TreeGridRow parent,
int row)
Creates an instance of this class and initializes internal fields.
|
Modifier and Type | Method and Description |
---|---|
TreeGridRow |
TreeGrid.getGridRow(int parentIndex,
int rowIndex)
Gets a tree grid row by parent and child row indexes.
|
TreeGridRow[] |
TreeGrid.getGridRows(int parentIndex)
Gets a list of tree grid rows by the parent index.
|
protected TreeGridRow |
SubtreePager.getRow()
Getter for property 'row'.
|
Modifier and Type | Method and Description |
---|---|
protected Stack<TreeGridRow> |
TreeGridRenderer.getCurrentRows()
Getter for property 'currentRows'.
|
protected Map<Integer,TreeGridRow> |
TreeGridRenderer.getRowMapping()
Getter for property 'rowMapping'.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TreeGrid.drawContent(TreeGridRow parent)
This method safely draws the subtree specified by its parent row.
|
protected int |
TreeGridRenderer.drawRow(TreeGridRow row,
int rowNumber)
This method draws tree grid rows recusrsively.
|
int |
TreeGridRenderer.getRowByModelRow(TreeGridRow parent,
int modelRow)
This method gets a row number in the grid for the specified model row number.
|
protected List<Object> |
TreeGrid.getSubtreeColumnData(TreeGridRow parent,
int column,
int count)
This method gets a list of column data values of the specified subtree recursively.
|
protected void |
TreeGrid.sortOnClient(TreeGridRow parent)
This method performs client sorting of the subtree.
|
void |
GridPanel.unlock(TreeGridRow parent)
This method unlocks the subtree and repaints it.
|
Constructor and Description |
---|
SubtreePager(TreeGrid grid,
TreeGridRow row,
String style)
This constructor draws a pager for the specified subtree.
|
Modifier and Type | Method and Description |
---|---|
TreeGridRow |
TreeCell.getGridRow() |
Modifier and Type | Method and Description |
---|---|
void |
TreeCell.setGridRow(TreeGridRow gridRow)
Setter for property 'gridRow'.
|
Copyright © 2008–2013. All rights reserved.