IlvObject | +--IlvInteractor | +--IlvChartPanInteractor
IlvChart
DHTML
component.Constructor Attributes | Constructor Name and Description |
---|---|
IlvChartPanInteractor(actionName)
|
Method Attributes | Method Name and Description |
---|---|
addRectangleDraggedListener(listener)
Adds a listener that is called every time a rectangle is dragged.
|
|
getColor()
Returns the color of the dragged rectangle.
|
|
Returns the line width of the dragged rectangle.
|
|
Returns whether a pan along the x-axis is allowed.
|
|
Returns whether a pan along the y-axis is allowed.
|
|
mouseDown(e)
Handles the 'down' events of the mouse.
|
|
mouseDrag(e)
Handles the 'move' events of the mouse.
|
|
mouseUp(e)
Handles the 'up' events of the mouse.
|
|
removeRectangleDraggedListener(listener)
Removes a listener installed with
addRectangleDraggedListener . |
|
setColor(color)
Sets the color of the dragged rectangle.
|
|
setLineWidth(width)
Sets the line width of the dragged rectangle.
|
|
setXPanAllowed(allowed)
Sets whether a pan along the x-axis is allowed.
|
|
setYPanAllowed(allowed)
Sets whether a pan along the y-axis is allowed.
|
|
Starts the drag.
|
|
stopDragging(e)
Ends the drag.
|
|
When dragging.
|
getCursor, getMenuModelId, getMessage, getView, setCursor, setMenuModelId, setMessage, setView |
dispose, getClassName, hashCode, instanceOf, invoke, registerDispose, registerDisposeByClientId, removeHTML, setClassName, superConstructor, superInvoke, toString, updateVisibility |
event
.
The event
parameter contains three attributes: deltaX
and
deltaY
describe the translation in the view coordinate system.
The third parameter is mouseEvent
, which contains
the mouse event that generated the end drag.
addRectangleDraggedListener
.