package org.itsnat.droid.impl.xmlinflater.layout.classtree; import org.itsnat.droid.impl.xmlinflater.layout.ClassDescViewMgr; import org.itsnat.droid.impl.xmlinflater.shared.attr.AttrDescReflecMethodBoolean; import org.itsnat.droid.impl.xmlinflater.shared.attr.AttrDescReflecMethodDrawable; /** * Created by jmarranz on 30/04/14. */ public class ClassDescView_widget_CompoundButton extends ClassDescViewBased { public ClassDescView_widget_CompoundButton(ClassDescViewMgr classMgr,ClassDescViewBased parentClass) { super(classMgr,"android.widget.CompoundButton",parentClass); } @SuppressWarnings("unchecked") protected void init() { super.init(); addAttrDescAN(new AttrDescReflecMethodDrawable(this, "button", "setButtonDrawable", null)); // Android suele tener un drawable por defecto addAttrDescAN(new AttrDescReflecMethodBoolean(this, "checked", false)); // No está documentado pero existe en la implementación } }