Class ModifiableViewName
- java.lang.Object
-
- com.deque.axe.android.AxeRule
-
- com.deque.axe.android.AxeRuleViewHierarchy
-
- com.deque.axe.android.rules.hierarchy.base.ModifiableViewName
-
- Direct Known Subclasses:
CheckBoxName,EditTextName,SwitchName
public abstract class ModifiableViewName extends AxeRuleViewHierarchy
-
-
Constructor Summary
Constructors Constructor Description ModifiableViewName(java.lang.String standard, int impact, java.lang.String className)Views that have modifiable Values should get their name from a nearby Label.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectProps(com.deque.axe.android.AxeView axeView, com.deque.axe.android.wrappers.AxeProps axeProps)Collects Props for each view.booleanisApplicable(com.deque.axe.android.wrappers.AxeProps axeProps)protected booleanisTextInputWidget(java.lang.String className)-
Methods inherited from class com.deque.axe.android.AxeRuleViewHierarchy
runRule, setup, tearDown
-
-
-
-
Method Detail
-
collectProps
@CallSuper public void collectProps(com.deque.axe.android.AxeView axeView, com.deque.axe.android.wrappers.AxeProps axeProps)Description copied from class:AxeRuleViewHierarchyCollects Props for each view.- Overrides:
collectPropsin classAxeRuleViewHierarchy- Parameters:
axeView- to collect props from.axeProps- to which props will be stored in.
-
isApplicable
@CallSuper public boolean isApplicable(com.deque.axe.android.wrappers.AxeProps axeProps)
- Overrides:
isApplicablein classAxeRuleViewHierarchy
-
isTextInputWidget
protected boolean isTextInputWidget(java.lang.String className)
-
-