public class TreeCellContainer extends Object implements IndexedCellContainer<JTree,Integer>
Constructor and Description |
---|
TreeCellContainer(JTree tree,
DarkTreeUI ui) |
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundAt(Integer position,
Component renderer) |
Rectangle |
getCellBoundsAt(Integer position,
boolean isEditing) |
Component |
getCellEditorComponent(Integer position) |
Integer |
getCellPosition(Point p) |
Component |
getCellRendererComponent(Integer row) |
JTree |
getComponent() |
boolean |
isEditing() |
boolean |
isEditingCell(Integer row) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCellBoundsAt, getEffectiveCellRendererComponent
getAllocation
public TreeCellContainer(JTree tree, DarkTreeUI ui)
public Rectangle getCellBoundsAt(Integer position, boolean isEditing)
getCellBoundsAt
in interface IndexedCellContainer<JTree,Integer>
public Integer getCellPosition(Point p)
getCellPosition
in interface IndexedCellContainer<JTree,Integer>
public JTree getComponent()
getComponent
in interface CellContainer<JTree>
public Color getBackgroundAt(Integer position, Component renderer)
getBackgroundAt
in interface IndexedCellContainer<JTree,Integer>
public boolean isEditingCell(Integer row)
isEditingCell
in interface IndexedCellContainer<JTree,Integer>
public Component getCellRendererComponent(Integer row)
getCellRendererComponent
in interface IndexedCellContainer<JTree,Integer>
public Component getCellEditorComponent(Integer position)
getCellEditorComponent
in interface IndexedCellContainer<JTree,Integer>
public boolean isEditing()
isEditing
in interface CellContainer<JTree>