package org.itsnat.droid.impl.xmlinflater.layout.attr.view; import android.view.View; import android.view.ViewGroup; import org.itsnat.droid.impl.util.MapSmart; import org.itsnat.droid.impl.xmlinflater.layout.AttrLayoutContext; import org.itsnat.droid.impl.xmlinflater.layout.classtree.ClassDescViewBased; import org.itsnat.droid.impl.xmlinflater.shared.attr.AttrDescReflecMethodNameSingle; /** * Created by jmarranz on 30/04/14. */ public class AttrDescView_view_ViewGroup_descendantFocusability extends AttrDescReflecMethodNameSingle<Integer,ClassDescViewBased,View,AttrLayoutContext> { public static final MapSmart<String,Integer> nameValueMap = MapSmart.<String,Integer>create( 3 ); static { nameValueMap.put("beforeDescendants", ViewGroup.FOCUS_BEFORE_DESCENDANTS); nameValueMap.put("afterDescendants", ViewGroup.FOCUS_AFTER_DESCENDANTS); nameValueMap.put("blocksDescendants", ViewGroup.FOCUS_BLOCK_DESCENDANTS); } public AttrDescView_view_ViewGroup_descendantFocusability(ClassDescViewBased parent) { super(parent,"descendantFocusability",int.class, nameValueMap,"beforeDescendants"); } }