public interface TreeCellRenderer extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Chip |
getHeaderRendererChip(TreeChip tree,
Chip parent,
int row)
Returns header renderer chip.
|
int |
getRowCount()
Returns number of rows if tree table is used.
|
Chip |
getSelectionHeaderRendererChip(TreeChip tree,
Chip parent)
Returns header renderer chip for the selection column.
|
Chip |
getTreeCellRendererChip(TreeChip tree,
TreeChip.TreeNodeChip parent,
TreePath path,
int row)
Returns renderer chip for the given object.
|
int |
getTreeRow()
Returns the row which displays the tree.
|
boolean |
hasHeader()
Returns
true if this cell renderer provides header renderers and false otherwise. |
Chip getTreeCellRendererChip(TreeChip tree, TreeChip.TreeNodeChip parent, TreePath path, int row)
tree - the tree this renderer is used byparent - the tree node chip representing the tree node for which the renderer chip is asked; this chip will be a
parent of the renderer chippath - the path provided by the tree model for this noderow - the row for which the renderer chip should be returnedChip getHeaderRendererChip(TreeChip tree, Chip parent, int row)
null and be sure to
implement hasHeader() to return false.tree - the tree this renderer is used byparent - the parent chip of the renderer chiprow - the row for which the header renderer chip should be returnedhasHeader()Chip getSelectionHeaderRendererChip(TreeChip tree, Chip parent)
tree - the tree this renderer is used byparent - the parent chip of the renderer chipgetHeaderRendererChip(TreeChip, Chip, int)boolean hasHeader()
true if this cell renderer provides header renderers and false otherwise.true if this cell renderer provides header renderers and false otherwisegetHeaderRendererChip(TreeChip, Chip, int)int getRowCount()
1 to show only the tree.1 to show only the treeint getTreeRow()
0 if you don't use the tree table.0 if you don't use the tree tableCopyright © 2017 SAP SE. All Rights Reserved.