import InputTagData from './InputTagData'; import { AccessibleDisplayObject } from './AccessibilityObject'; import { ROLES } from '../Roles'; /** * Base class for role objects that use the img HTML tag. * This contains only setters/getters for fields that are common to all img tags * regardless of the type attribute. */ export default class CheckBoxData extends InputTagData { constructor(displayObject: AccessibleDisplayObject, role: ROLES, domIdPrefix: string); /** * @inheritdoc */ set enableKeyEvents(enable: boolean); /** * @inheritdoc */ get enableKeyEvents(): boolean; /** * Sets whether the element is checked * @access public * @param {boolean} check - true if the element is checked, false otherwise */ set checked(check: boolean); /** * Retrieves whether the element is checked * @access public * @returns {boolean} true if the element is checked, false otherwise */ get checked(): boolean; /** * @inheritdoc */ _onKeyDown(evt: KeyboardEvent): void; /** * Event listener for change events * @access protected */ _onChange(): void; }