Class: FrameControl

StockChartX. FrameControl


<abstract> new FrameControl()

Represents abstract control with frame.

Extends

Members


<readonly> frame :StockChartX.Rect

Returns frame rectangle.
Type:

<readonly> rootDiv :jQuery

The root div element.
Type:
  • jQuery

Methods


destroy()

Destroys and removes control from the parent element.
Inherited From:

draw()

Draws control.
Inherited From:

handleEvent(event)

Handles event.
Parameters:
Name Type Description
event StockChartX.WindowEvent The event object.
Inherited From:
Returns:
Type
boolean

hitTest(point)

Checks if a given point belongs to a frame rectangle.
Parameters:
Name Type Description
point StockChartX.Point The point.
Inherited From:
Returns:
Type
boolean

layout(frame)

Layouts controls.
Parameters:
Name Type Description
frame StockChartX.Rect The frame rectangle related to parent container.
Inherited From: