public interface IRowPolicy extends IPolicy
Modifier and Type | Method and Description |
---|---|
int |
getRowHeight(Object node,
ITreeTableModel model)
Returns the current height of the row in which the given tree
node gets displayed.
|
int |
getRowHeightMaximum(Object node,
ITreeTableModel model)
Returns the maximum height of the row in which the given tree
node gets displayed.
|
int |
getRowHeightMinimum(Object node,
ITreeTableModel model)
Returns the minimum height of the row in which the given tree
node gets displayed.
|
ICommand |
getRowResizeCommand(Object node,
ITreeTableModel model,
int rowHeight)
Returns a command object that will peform the actual resizing of the row /
node.
|
String |
getRowToolTip(Object node,
ITreeTableModel model,
TreeTableColumn column)
Returns a tooltip text for the given node and column.
|
boolean |
isRowLineVisible(Object node,
boolean expanded,
ITreeTableModel model)
Determines whether or not the horizontal grid line for the row will be
visible or not.
|
boolean |
isRowResizable(Object node,
ITreeTableModel model)
Determines whether or not the row in which the given tree node gets
displayed is resizable at all by the user.
|
int getRowHeight(Object node, ITreeTableModel model)
node
- the tree table node for which the row height gets returnedmodel
- the data source that returned the tree table nodeint getRowHeightMinimum(Object node, ITreeTableModel model)
node
- the tree table node for which the row height gets returnedmodel
- the data source that returned the tree table nodeint getRowHeightMaximum(Object node, ITreeTableModel model)
node
- the tree table node for which the row height gets returnedmodel
- the data source that returned the tree table nodeboolean isRowResizable(Object node, ITreeTableModel model)
node
- the tree table node for which to check resizabilitymodel
- the data source that returned the tree table nodeboolean isRowLineVisible(Object node, boolean expanded, ITreeTableModel model)
node
- the tree table node for wich to check the line visibilityexpanded
- if TRUE the tree node is currently expanded (the visibility
often depends on this information)model
- the data source that returned the tree table nodeString getRowToolTip(Object node, ITreeTableModel model, TreeTableColumn column)
node
- the node / row for which to return a tooltipmodel
- the data source that returned the nodecolumn
- the column for which to return a tooltipICommand getRowResizeCommand(Object node, ITreeTableModel model, int rowHeight)
node
- the node / row that is getting resizedmodel
- the data source that returned the noderowHeight
- the new row height that the command shall applyCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.