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
-
version
-
-
paintObject(Graphics, Rectangle, Object, boolean)
- Paint the cell.
-
paintTitle(Graphics, Rectangle, boolean)
- Paint the title.
version
public static final RCSVersion version
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.
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