borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.model
borland.jbcl.model.ItemPaintSite +----borland.jbcl.model.ItemEditSite
Properties
Implemented by ButtonControl, DatasetColumnView, FieldControl, ImageControl, TabsetControl, TabsetPanel, ButtonView, ColumnView, FieldView, TabsetView
Classes that implement the ItemPaintSite interface can provide item painters with information about the host container in which the painting occurs. ItemPaintSite has the methods to return the background color, the foreground color, the font, the alignment setting, and the margins for the item being painted.
public int getAlignment()Returns the alignment setting for the item being painted. The alignment value returned is one of the alignment variables in jbcl.util.Alignment.
public Color getBackground()Returns the background color for the item being painted.
public Font getFont()Returns the font to use for the item being painted.
public Color getForeground()Returns the foreground color for the item being painted.
public Insets getItemMargins()Returns the item margins for the item being painted.