Canvas Toolkit
← Class index

CSplitterHandle

Widgets · extends CWidget

Implements the splitter handle widget.

Module widgets/CSplitterHandle.js. This class is available through the browser modules in the download.

Declared members

constructor(orientation: COrientation, splitter: CSplitter, index: number);

Creates a new instance.

orientation(): COrientation;

Provides orientation behavior.

setOrientation(orientation: COrientation): void;

Sets the orientation.

splitter(): CSplitter;

Provides splitter behavior.

index(): number;

Provides index behavior.

sizeHint(): CSize;

Returns the preferred size of the widget.

protected paintEvent(painter: CPainter): void;

Handles the paint event.

protected keyPressEvent(event: CKeyEvent): void;
protected mousePressEvent(event: CMouseEvent): void;

Handles the mouse press event.

protected mouseMoveEvent(event: CMouseEvent): void;

Handles the mouse move event.

protected mouseReleaseEvent(event: CMouseEvent): void;

Handles the mouse release event.

protected mouseEnterEvent(event: CMouseEvent): void;

Handles the mouse enter event.

protected mouseLeaveEvent(event: CMouseEvent): void;

Handles the mouse leave event.