JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.higrid
Interface HiGridNodeRenderer

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultNodeRenderer, TableNodeRenderer

public interface HiGridNodeRenderer
extends Serializable

Interface to render tree nodes in HiGrid.


Field Summary
static long serialVersionUID
           
 
Method Summary
 void draw(Graphics gc, com.klg.jclass.cell.JCCellInfo cellFormat, com.klg.jclass.higrid.NodeStatus nodeStatus, boolean selected)
          Used to draw the cell.
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

draw

public void draw(Graphics gc,
                 com.klg.jclass.cell.JCCellInfo cellFormat,
                 com.klg.jclass.higrid.NodeStatus nodeStatus,
                 boolean selected)
Used to draw the cell. Note that the size of the cell comes from JCCellInfo.getDrawingArea(). When the renderer's draw method is called, the gc is translated to the upper-left corner of the drawing area for the cell. The "drawing area" of the cell is the region inside the borders and the margins.

Parameters:
gc - Graphics context to use for drawing.
cellFormat - Cell property information.
nodeStatus - Information about the object to be rendered.
selected - Boolean value indicating whether the cell is selected.

Copyright © 2004 Quest Software Inc..
All rights reserved.