Files
android_translation_layer/src/api-impl/android/widget/CompoundButton.java

30 lines
602 B
Java
Raw Normal View History

package android.widget;
import android.content.Context;
import android.util.AttributeSet;
public abstract class CompoundButton extends Button {
2023-09-19 23:22:21 +02:00
private boolean checked;
public CompoundButton(Context context) {
super(context);
}
public CompoundButton(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public static interface OnCheckedChangeListener {}
public void setOnCheckedChangeListener(OnCheckedChangeListener listener) {}
2023-09-19 23:22:21 +02:00
public void setChecked(boolean checked) {
this.checked = checked;
}
public boolean isChecked() {
return checked;
}
}