borland Packages Class Hierarchy jbcl.model Package Index
borland.jbcl.model.ItemPaintSite +----borland.jbcl.model.CustomPaintSite +----borland.jbcl.model.ItemEditSite
Properties
Implemented by ButtonControl, DatasetColumnView, FieldControl, ImageControl, TabsetControl, TabsetPanel, ButtonView, ColumnView, CustomItemEditor, CustomItemPainter, DataToolTip, FieldView, HeaderView, SelectableItemPainter, SelectableTextItemPainter, 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, the margins for the item being painted, and transparent state.
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.
public Component getSiteComponent()Returns the component representing the ItemPaintSite.
public boolean isTransparent()The transparent state of the host container. If transparent is true, the container is transparent; otherwise, the container is opaque.