de.jaret.util.ui.table.renderer
Interface IHierarchyRenderer

All Superinterfaces:
ICellRenderer
All Known Implementing Classes:
TableHierarchyRenderer

public interface IHierarchyRenderer
extends ICellRenderer

Interface specifying extensions to the ICellRenderer interface necessary for hierarchy handling.

Version:
$Id: IHierarchyRenderer.java 179 2007-01-07 17:37:50Z olk $
Author:
Peter Kliem

Method Summary
 boolean isInActiveArea(IRow row, org.eclipse.swt.graphics.Rectangle drawingarea, int x, int y)
          Should return true if a click on the coordinates x,y should toggle expanded state.
 
Methods inherited from interface de.jaret.util.ui.table.renderer.ICellRenderer
createPrintRenderer, dispose, draw, getPreferredHeight, getPreferredWidth, getTooltip
 

Method Detail

isInActiveArea

boolean isInActiveArea(IRow row,
                       org.eclipse.swt.graphics.Rectangle drawingarea,
                       int x,
                       int y)
Should return true if a click on the coordinates x,y should toggle expanded state.

Parameters:
row - row
drawingarea - drawing area of the hierarchy section of the row
x - x coordinate to check
y - y coordinate to check
Returns:
true if the click is in the acive area


Copyright © 2012. All Rights Reserved.