/**@class android.widget.CompoundButton implements android.widget.Checkable @extends android.widget.Button <p> A button with two states, checked and unchecked. When the button is pressed or clicked, the state changes automatically. </p> <p><strong>XML attributes</strong></p> <p> See {@link android.R.styleable#android.widget.CompoundButton android.widget.CompoundButton Attributes}, {@link android.R.styleable#android.widget.Button android.widget.Button Attributes}, {@link android.R.styleable#android.widget.TextView android.widget.TextView Attributes}, {@link android.R.styleable#View View Attributes} </p> */ var CompoundButton = { /** */ toggle : function( ) {}, /** */ performClick : function( ) {}, /** */ isChecked : function( ) {}, /**<p>Changes the checked state of this button.</p> @param {Boolean} checked true to check the button, false to uncheck it */ setChecked : function( ) {}, /**Register a callback to be invoked when the checked state of this button changes. @param {Object {CompoundButton.OnCheckedChangeListener}} listener the callback to call on checked state change */ setOnCheckedChangeListener : function( ) {}, /**Sets a drawable as the compound button image given its resource identifier. @param {Number} resId the resource identifier of the drawable @attr ref android.R.styleable#CompoundButton_button */ setButtonDrawable : function( ) {}, /**Sets a drawable as the compound button image. @param {Object {Drawable}} drawable the drawable to set @attr ref android.R.styleable#CompoundButton_button */ setButtonDrawable : function( ) {}, /** @hide */ onResolveDrawables : function( ) {}, /** @return {Object {android.graphics.drawable.Drawable}} the drawable used as the compound button image @see #setButtonDrawable(Drawable) @see #setButtonDrawable(int) */ getButtonDrawable : function( ) {}, /**Applies a tint to the button drawable. Does not modify the current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. <p> Subsequent calls to {@link #setButtonDrawable}(Drawable) will automatically mutate the drawable and apply the specified tint and tint mode using {@link Drawable#setTintList(ColorStateList)}. @param {Object {ColorStateList}} tint the tint to apply, may be {@code null} to clear tint @attr ref android.R.styleable#CompoundButton_buttonTint @see #setButtonTintList(ColorStateList) @see Drawable#setTintList(ColorStateList) */ setButtonTintList : function( ) {}, /** @return {Object {android.content.res.ColorStateList}} the tint applied to the button drawable @attr ref android.R.styleable#CompoundButton_buttonTint @see #setButtonTintList(ColorStateList) */ getButtonTintList : function( ) {}, /**Specifies the blending mode used to apply the tint specified by {@link #setButtonTintList}(ColorStateList)} to the button drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}. @param {Object {PorterDuff.Mode}} tintMode the blending mode used to apply the tint, may be {@code null} to clear tint @attr ref android.R.styleable#CompoundButton_buttonTintMode @see #getButtonTintMode() @see Drawable#setTintMode(PorterDuff.Mode) */ setButtonTintMode : function( ) {}, /**Specifies the blending mode used to apply the tint specified by {@link #setButtonTintList}(ColorStateList)} to the button drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}. @param {Object {BlendMode}} tintMode the blending mode used to apply the tint, may be {@code null} to clear tint @attr ref android.R.styleable#CompoundButton_buttonTintMode @see #getButtonTintMode() @see Drawable#setTintBlendMode(BlendMode) */ setButtonTintBlendMode : function( ) {}, /** @return {Object {android.graphics.PorterDuff.Mode}} the blending mode used to apply the tint to the button drawable @attr ref android.R.styleable#CompoundButton_buttonTintMode @see #setButtonTintMode(PorterDuff.Mode) */ getButtonTintMode : function( ) {}, /** @return {Object {android.graphics.BlendMode}} the blending mode used to apply the tint to the button drawable @attr ref android.R.styleable#CompoundButton_buttonTintMode @see #setButtonTintBlendMode(BlendMode) */ getButtonTintBlendMode : function( ) {}, /** */ getAccessibilityClassName : function( ) {}, /** @hide */ onInitializeAccessibilityEventInternal : function( ) {}, /** @hide */ onInitializeAccessibilityNodeInfoInternal : function( ) {}, /** */ getCompoundPaddingLeft : function( ) {}, /** */ getCompoundPaddingRight : function( ) {}, /** @hide */ getHorizontalOffsetForDrawables : function( ) {}, /** */ drawableHotspotChanged : function( ) {}, /** */ jumpDrawablesToCurrentState : function( ) {}, /** */ onSaveInstanceState : function( ) {}, /** */ onRestoreInstanceState : function( ) {}, /** */ autofill : function( ) {}, /** */ getAutofillType : function( ) {}, /** */ getAutofillValue : function( ) {}, };