BiOlapGridStateManager
A simple class that is used internally with the BiOlapGrid to keep track of active and hover cell
This class extends BiEventTarget and therefore all methods and fields available for BiEventTarget are also available for BiOlapGridStateManager .
Constructor
new BiOlapGridStateManager ( )
Parameters
No parameters.
Properties
| Name | Type | get | set | Descripton |
active | | ![]() | ![]() | The active cell info |
drag | | ![]() | The cell info for the cell where the user started the drag on | |
dragOver | | ![]() | This is used to allow specific feedback during drag and drop. This returns the cell info for the cell that the user is dragging over | |
hover | | ![]() | The hover cell info |
Methods
| Name | Description |
setDrag | Sets the drag state |
setDragOver | Sets the drag over state |
setHover | Sets the hover state |
updateState | Updates the internal state given the argument |
Events
| Name | Type | Bubbles | Descripton |
dropoverchanged | | This event is fired when the user is doing drag and drop and the cell that the user is over changes. | |
hoverchanged | | When the user hovers over a different part of the OLAP grid |
Static Methods
None.
Static Fields
None.
Remarks
None.
Method Details
setDrag
Sets the drag state
Syntax
object.setDrag ( oCellInfo,e ) Parameters
| Name | Type | Optional | Default | Descripton |
oCellInfo | | Information about the cell | ||
e | | The mouse event causing this change |
Return Type
void
setDragOver
Sets the drag over state
Syntax
object.setDragOver ( oCellInfo,e ) Parameters
| Name | Type | Optional | Default | Descripton |
oCellInfo | | Information about the cell | ||
e | | The mouse event causing this change |
Return Type
void
setHover
Sets the hover state
Syntax
object.setHover ( oCellInfo,e ) Parameters
| Name | Type | Optional | Default | Descripton |
oCellInfo | | Information about the cell | ||
e | | The mouse event causing this change |
Return Type
void
updateState
Updates the internal state given the argument
Syntax
object.updateState ( sType,oCellInfo,e ) Parameters
| Name | Type | Optional | Default | Descripton |
sType | String | The event type that caused this to be called | ||
oCellInfo | | Information about the cell | ||
e | | The mouse event causing this change |
Return Type
void
