private StateUpdater createStart ( Cursor cursor , SelectorModel model , StateUpdater check , StateUpdater select ) { return ( extrp , current ) -> { StateUpdater next = current ; if ( ! model . isEnabled ( ) ) { next = check ; } else if ( model . getSelectionClick ( ) == cursor . getClick ( ) ) { checkBeginSelection ( cursor , model ) ; if ( model . isSelecting ( ) ) { next = select ; } } return next ; } ; }
Create start action .