All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.trumphurst.controls.ObjectPainter

public interface ObjectPainter
Interface which paints each cell of a column and the column title in a MultiColumnList. An ObjectPainter has to be provided for each column when constructing a MultiColumnList. Some ready-made ObjectPainters are provided.

See Also:
MultiColumnList, StringPainter, TreePainter, StringArrayPainter

Variable Index

 o version

Method Index

 o paintObject(Graphics, Rectangle, Object, boolean)
Paint the cell.
 o paintTitle(Graphics, Rectangle, boolean)
Paint the title.

Variables

 o version
 public static final RCSVersion version

Methods

 o paintTitle
 public abstract void paintTitle(Graphics g,
                                 Rectangle r,
                                 boolean clip)
Paint the title.

Parameters:
g - Graphics onto which to paint it.
r - The area to contain the title.
clip - Whether to clip to the Rectangle.
 o paintObject
 public abstract void paintObject(Graphics g,
                                  Rectangle r,
                                  Object o,
                                  boolean clip)
Paint the cell.

Parameters:
g - Graphics onto which to paint it.
r - The area of the cell.
o - Object (row) to paint.
clip - Whether to clip to the Rectangle.

All Packages  Class Hierarchy  This Package  Previous  Next  Index