borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.view 

ButtonItemPainter component

java.lang.Object
   +----borland.jbcl.view.ButtonItemPainter
           +----borland.jbcl.view.ImageButtonItemPainter

About the ButtonItemPainter component

Variables  Constructors  Properties  Methods  

Implements ItemPainter

Paints a button with a shaded edge that changes when the button is pressed. For data-aware, model-view buttons. Puts a button border around another item painter. This button-type border can respond to and indicate the state of the enclosed item.


ButtonItemPainter variables

Variables implemented in this class

ButtonItemPainter constructors

ButtonItemPainter properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

ButtonItemPainter methods

Methods implemented in this class

Methods implemented in java.lang.Object


ButtonItemPainter variables

dnBorder

  protected BorderItemPainter dnBorder
A BorderItemPainter with BUTTON_DN, RECT, FILL.

painter

  protected ItemPainter painter

upBorder

  protected BorderItemPainter upBorder
A BorderItemPainter with BUTTON_UP, RECT, FILL.


ButtonItemPainter constructors

ButtonItemPainter()

  public ButtonItemPainter()
Constructs a ButtonItemPainter with a default ItemPainter.

ButtonItemPainter(borland.jbcl.model.ItemPainter)

  public ButtonItemPainter(borland.jbcl.model.ItemPainter painter)
Constructs a ButtonItemPainter with the specified ItemPainter.


ButtonItemPainter properties

painter

 public ItemPainter getPainter()
 public void setPainter(borland.jbcl.model.ItemPainter v)
The painter property uses the painter variable, which is the ItemPainter object for this ButtonItemPainter.