Class ActiveViewName
- java.lang.Object
-
- com.deque.axe.android.AxeRule
-
- com.deque.axe.android.AxeRuleViewHierarchy
-
- com.deque.axe.android.rules.hierarchy.base.ActiveView
-
- com.deque.axe.android.rules.hierarchy.ActiveViewName
-
public class ActiveViewName extends ActiveView
-
-
Constructor Summary
Constructors Constructor Description ActiveViewName()
-
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)java.lang.StringrunRule(com.deque.axe.android.wrappers.AxeProps axeProps)returns AxeStatus.IGNORED if the view is ignored.-
Methods inherited from class com.deque.axe.android.AxeRuleViewHierarchy
setup, tearDown
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(com.deque.axe.android.wrappers.AxeProps axeProps)
- Overrides:
isApplicablein classActiveView
-
collectProps
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 classActiveView- Parameters:
axeView- to collect props from.axeProps- to which props will be stored in.
-
runRule
public java.lang.String runRule(com.deque.axe.android.wrappers.AxeProps axeProps)
Description copied from class:AxeRuleViewHierarchyreturns AxeStatus.IGNORED if the view is ignored.- Overrides:
runRulein classAxeRuleViewHierarchy- Parameters:
axeProps- the props.- Returns:
- IGNORED or empty string.
-
-