borland.jbcl Packages  borland.jbcl Class Hierarchy  borland.jbcl.model 

ItemEditSite interface

borland.jbcl.model.ItemPaintSite
   +----borland.jbcl.model.ItemEditSite

About the ItemEditSite interface

Properties  Methods  

Implemented by DatasetColumnView, FieldControl, ImageControl, ColumnView, FieldView

Classes that implement the ItemEditSite interface can provide item editors with information about the host container and the details of a particular edit session.


ItemEditSite properties

*Read-only properties **Write-only properties

Properties defined in this interface

`

Properties implemented in borland.jbcl.model.ItemPaintSite

ItemEditSite methods

Methods defined in this interface


ItemEditSite properties

editClickPoint

 public Point getEditClickPoint()
Returns the point where the user clicked to initiate the edit session for this item. This is used to determine where to place text cursor in a TextField, or which editor to start when using a CompositeItemEditor.

siteGraphics

 public Graphics getSiteGraphics()
Returns a correctly assembled Graphics object for coordinate comparisons with item painter coordinate calculations.

ItemEditSite methods

endEdit(boolean)

  public void endEdit(boolean post)
Requests to end the edit session. If the value of the post parameter is true, the edit session ends; otherwise, the edit session continues.

Parameters:

post
If true, editing ends; if false, editing continues.