FileDocCategorySizeDatePackage
ExtractButton.javaAPI DocAndroid 5.1 API1660Thu Mar 12 22:22:10 GMT 2015android.inputmethodservice

ExtractButton

public class ExtractButton extends android.widget.Button
Specialization of {@link Button} that ignores the window not being focused.

Fields Summary
Constructors Summary
public ExtractButton(android.content.Context context)

        super(context, null);
    
public ExtractButton(android.content.Context context, android.util.AttributeSet attrs)

        super(context, attrs, com.android.internal.R.attr.buttonStyle);
    
public ExtractButton(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr)

        this(context, attrs, defStyleAttr, 0);
    
public ExtractButton(android.content.Context context, android.util.AttributeSet attrs, int defStyleAttr, int defStyleRes)

        super(context, attrs, defStyleAttr, defStyleRes);
    
Methods Summary
public booleanhasWindowFocus()
Pretend like the window this view is in always has focus, so it will highlight when selected.

        return isEnabled() && getVisibility() == VISIBLE ? true : false;