com.phloxui
Version:
PhloxUI Ng2+ Framework
49 lines (48 loc) • 2.1 kB
TypeScript
import { OnInit, ElementRef, EventEmitter } from '@angular/core';
import { AbstractSelectOneItem } from './AbstractSelectOneItem';
import { ValidationResult } from '../../model/ValidationResult';
import { IHasData } from '../../IHasData';
import { NeedFocusService } from '../../../service/NeedFocusService.service';
export declare class MultipleStateCheckBox extends AbstractSelectOneItem implements OnInit {
static readonly TYPE_NAME: string;
static readonly DEFAULT_FIELD: string;
protected beforeClickEvent: EventEmitter<any>;
protected clickEvent: EventEmitter<any>;
protected beforeFocusEvent: EventEmitter<any>;
protected focusEvent: EventEmitter<any>;
protected beforeLostFocusEvent: EventEmitter<any>;
protected lostFocusEvent: EventEmitter<any>;
stateStyleGenerater: Function;
states: any[];
disabled: boolean;
protected field: string;
protected data: any;
protected ignoreParentData: boolean;
protected ignoreParentDisabled: boolean;
protected delegateHistory: boolean;
protected onDisabled: Function;
protected onEnabled: Function;
protected loadingEnabled: boolean;
protected i18nKey: string;
protected bypass: boolean;
protected options: any;
protected dataParent: IHasData;
constructor(elementRef: ElementRef, needFocusService: NeedFocusService);
ngOnInit(): void;
private initEventHandlers();
getCurrentState(): any;
toggleState(): void;
setState(state: number): void;
getStateStyleGenerater(): Function;
setStateStyleGenerater(stateStyleGenerater: Function): void;
onClick($event: any, fireEvent?: boolean): void;
protected emitBeforeClickEvent($event?: any): void;
protected emitClickEvent($event?: any): void;
onFocusing($event: Event): void;
onLostFocusing($event: Event): void;
protected doFocus($event: Event): void;
protected doLostFocus($event: Event): void;
onValidationEnd(inputValue: any, results: ValidationResult[]): void;
protected onDataChange(data: any, inputVal: any): void;
_getClassState(): string;
}