BiAttachedComponentModel

This class is used to handle BiComponent objects inside BiTreeView and BiOlapGrid. An attached component will be positioned at the same place as the cell it is attached to and have the same size as that cell.

This class extends BiEventTarget and therefore all methods and fields available for BiEventTarget are also available for BiAttachedComponentModel .

Constructor

new BiAttachedComponentModel ( )

Parameters

No parameters.

Properties

None.

Methods

NameDescription
getAttachedComponentReturns the attached component for the given cell
getHasAttachedComponentWhether the given cell has an attached component
updateAttachedComponentUpdates the attached component for the given cell

Events

None.

Static Methods

None.

Static Fields

None.

Remarks

None.

Method Details

getAttachedComponent

Returns the attached component for the given cell

Syntax

object.getAttachedComponent ( x,y )

Parameters

NameTypeOptionalDefaultDescripton
xNumberThe column of the cell
yNumberThe row of the cell

Return Type

BiComponent

getHasAttachedComponent

Whether the given cell has an attached component

Syntax

object.getHasAttachedComponent ( x,y )

Parameters

NameTypeOptionalDefaultDescripton
xNumberThe column of the cell
yNumberThe row of the cell

Return Type

Boolean

updateAttachedComponent

Updates the attached component for the given cell

Syntax

object.updateAttachedComponent ( x,y )

Parameters

NameTypeOptionalDefaultDescripton
xNumberThe column of the cell
yNumberThe row of the cell

Return Type

void