All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.trumphurst.controls.StringArrayPainter

java.lang.Object
   |
   +----com.trumphurst.controls.StringPainter
           |
           +----com.trumphurst.controls.StringArrayPainter

public class StringArrayPainter
extends StringPainter
ObjectPainter to paint a column of a MultiColumnList whose elements are String arrays.

See Also:
MultiColumnList

Constructor Index

 o StringArrayPainter(int, String)
Constructor.

Method Index

 o paintObject(Graphics, Rectangle, Object, boolean)
Paints the String returned by o.toString().

Constructors

 o StringArrayPainter
 public StringArrayPainter(int item,
                           String title)
Constructor.

Parameters:
item - Which element in the array corresponds to this column.
title - The column title.

Methods

 o paintObject
 public void paintObject(Graphics g,
                         Rectangle r,
                         Object o,
                         boolean clip)
Paints the String returned by o.toString().

Overrides:
paintObject in class StringPainter

All Packages  Class Hierarchy  This Package  Previous  Next  Index