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_TabWidget extends ClassDescViewBased
{
public ClassDescView_widget_TabWidget(ClassDescViewMgr classMgr, ClassDescView_widget_LinearLayout parentClass)
{
super(classMgr,"android.widget.TabWidget",parentClass);
}
@SuppressWarnings("unchecked")
protected void init()
{
super.init();
// android:divider es un atributo definido en LinearLayout
addAttrDescAN(new AttrDescReflecMethodBoolean(this, "tabStripEnabled", "setStripEnabled", true));
addAttrDescAN(new AttrDescReflecMethodDrawable(this, "tabStripLeft", "setLeftStripDrawable", "@null")); // existe un Drawable por defecto
addAttrDescAN(new AttrDescReflecMethodDrawable(this, "tabStripRight", "setRightStripDrawable", "@null"));
}
}