license /**
 * Defines the shape of the adapter expected by the foundation.
 * Implement this adapter for your framework of choice to delegate updates to
 * the component in your framework of choice. See architecture documentation
 * for more details.
 * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md
 */ export interface MDCListAdapter { /**
     * Returns the attribute value of list item at given `index`.
     */ getAttributeForElementIndex ( index , attr ) : string | null ; getListItemCount ( ) : number ; getFocusedElementIndex ( ) : number ; setAttributeForElementIndex ( index , attribute , value ) : void ; addClassForElementIndex ( index , className ) : void ; removeClassForElementIndex ( index , className ) : void ; /**
     * Focuses list item at the index specified.
     */ focusItemAtIndex ( index ) : void ; /**
     * Sets the tabindex to the value specified for all button/a element children of
     * the list item at the index specified.
     */ setTabIndexForListItemChildren ( listItemIndex , tabIndexValue ) : void ; return hasRadioAtIndex ( index ) : boolean ; return hasCheckboxAtIndex ( index ) : boolean ; return isCheckboxCheckedAtIndex ( index ) : boolean ; return isRootFocused ( ) : boolean ; param index param className return listItemAtIndexHasClass ( index , className ) : boolean ; /**
     * Sets the checked status of checkbox or radio at given list item index.
     */ setCheckedCheckboxOrRadioAtIndex ( index , isChecked ) : void ; /**
     * Notifies user action on list item.
     */ notifyAction ( index ) : void ; /**
     * Notifies that items at the given indices have changed its
     * selection state through user interaction (e.g. click).
     *
     * This is invoked only for changes caused by user interaction
     * to match with the native `change` event semantics.
     */ notifySelectionChange ( changedIndices ) : void ; return isFocusInsideList ( ) : boolean ; return getPrimaryTextAtIndex ( index ) : string ; }