C# Класс Rhino.Tools.Debugger.Treetable.JTreeTable.TreeTableCellRenderer

Наследование: JTree, TableCellRenderer
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
visibleRow int

Открытые методы

Метод Описание
GetTableCellRendererComponent ( JTable table, object value, bool isSelected, bool hasFocus, int row, int column ) : Component

TreeCellRenderer method.

TreeCellRenderer method. Overridden to update the visible row.

Paint ( Graphics g ) : void

Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0.

Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0.

SetBounds ( int x, int y, int w, int h ) : void

This is overridden to set the height to match that of the JTable.

This is overridden to set the height to match that of the JTable.

SetRowHeight ( int rowHeight ) : void

Sets the row height of the tree, and forwards the row height to the table.

Sets the row height of the tree, and forwards the row height to the table.

TreeTableCellRenderer ( JTreeTable _enclosing, TreeModel model ) : Java.Awt
UpdateUI ( ) : void

updateUI is overridden to set the colors of the Tree's renderer to match that of the table.

updateUI is overridden to set the colors of the Tree's renderer to match that of the table.

Описание методов

GetTableCellRendererComponent() публичный Метод

TreeCellRenderer method.
TreeCellRenderer method. Overridden to update the visible row.
public GetTableCellRendererComponent ( JTable table, object value, bool isSelected, bool hasFocus, int row, int column ) : Component
table JTable
value object
isSelected bool
hasFocus bool
row int
column int
Результат Component

Paint() публичный Метод

Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0.
Sublcassed to translate the graphics such that the last visible row will be drawn at 0,0.
public Paint ( Graphics g ) : void
g Graphics
Результат void

SetBounds() публичный Метод

This is overridden to set the height to match that of the JTable.
This is overridden to set the height to match that of the JTable.
public SetBounds ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
Результат void

SetRowHeight() публичный Метод

Sets the row height of the tree, and forwards the row height to the table.
Sets the row height of the tree, and forwards the row height to the table.
public SetRowHeight ( int rowHeight ) : void
rowHeight int
Результат void

TreeTableCellRenderer() публичный Метод

public TreeTableCellRenderer ( JTreeTable _enclosing, TreeModel model ) : Java.Awt
_enclosing JTreeTable
model TreeModel
Результат Java.Awt

UpdateUI() публичный Метод

updateUI is overridden to set the colors of the Tree's renderer to match that of the table.
updateUI is overridden to set the colors of the Tree's renderer to match that of the table.
public UpdateUI ( ) : void
Результат void

Описание свойств

visibleRow защищенное свойство

Last table/tree row asked to renderer.
Last table/tree row asked to renderer.
protected int visibleRow
Результат int