CSectionLineEdit
Implements the section line edit widget.
Module widgets/CSectionLineEdit.js. This class is available through the browser modules in the download.
Declared members
readonly sectionChanged: CSignal<[number]>;Signal emitted when section changes.
readonly stepRequested: CSignal<[number, number]>;Public step requested member.
readonly digitEntered: CSignal<[number, number]>;Emitted when a numeric digit is entered for the active section.
readonly previousSectionRequested: CSignal<[number, number]>;Public previous section requested member.
readonly nextSectionRequested: CSignal<[number, number]>;Public next section requested member.
constructor(parent?: CWidget | null);Creates a new instance.
sections(): readonly CLineEditSection[];Provides sections behavior.
setSections(sections: CLineEditSection[]): void;Sets the sections.
currentSection(): number;Returns the current section.
setCurrentSection(section: number): void;Sets the current section.
protected focusOutEvent(event: CFocusEvent): void;Handles the focus out event.
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 keyPressEvent(event: CKeyEvent): void;Handles the key press event.