Class ColorContrast

    • Constructor Summary

      Constructors 
      Constructor Description
      ColorContrast()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void collectProps​(com.deque.axe.android.AxeView axeView, com.deque.axe.android.wrappers.AxeProps axeProps)
      Collects Props for each view.
      boolean isApplicable​(com.deque.axe.android.wrappers.AxeProps axeProps)  
      java.lang.String runRule​(com.deque.axe.android.wrappers.AxeProps axeProps)
      returns AxeStatus.IGNORED if the view is ignored.
      void setup​(com.deque.axe.android.AxeContext axeContext, com.deque.axe.android.wrappers.AxeProps axeProps)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ColorContrast

        public ColorContrast()
    • Method Detail

      • setup

        public void setup​(com.deque.axe.android.AxeContext axeContext,
                          com.deque.axe.android.wrappers.AxeProps axeProps)
        Overrides:
        setup in class AxeRuleViewHierarchy
      • collectProps

        public void collectProps​(com.deque.axe.android.AxeView axeView,
                                 com.deque.axe.android.wrappers.AxeProps axeProps)
        Description copied from class: AxeRuleViewHierarchy
        Collects Props for each view.
        Overrides:
        collectProps in class InformativeView
        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: AxeRuleViewHierarchy
        returns AxeStatus.IGNORED if the view is ignored.
        Overrides:
        runRule in class AxeRuleViewHierarchy
        Parameters:
        axeProps - the props.
        Returns:
        IGNORED or empty string.
      • isApplicable

        public boolean isApplicable​(com.deque.axe.android.wrappers.AxeProps axeProps)
        Overrides:
        isApplicable in class InformativeView