private static StateUpdater createCheck ( Cursor cursor , SelectorModel model , AtomicReference < StateUpdater > start ) { return ( extrp , current ) -> { if ( model . isEnabled ( ) && cursor . getClick ( ) == 0 ) { return start . get ( ) ; } return current ; } ; }
Create check action .