1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/test/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>ViewFinderImpl</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183<div class="sum-details-links"> 184 185Summary: 186 187 188 189 190 191 192 193 194 195 196 197 <a href="#pubmethods">Methods</a> 198 199 200 201 202 | <a href="#inhmethods">Inherited Methods</a> 203 204| <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> 205 206</div><!-- end sum-details-links --> 207</div><!-- end api-info-block --> 208 209<div class="api apilevel-" id="jd-content"> 210 211<!-- ======== START OF CLASS DATA ======== --> 212 213<h1 class="api-title">ViewFinderImpl</h1> 214<p> 215<code class="api-signature"> 216 public 217 218 final 219 220 class 221 ViewFinderImpl 222</code> 223<br> 224 225 226<code class="api-signature"> 227 228 extends Object 229 230 231 232</code> 233 234<code class="api-signature"> 235 236 237 implements 238 239 <a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a> 240 241 242 243</code> 244 245</p><table class="jd-inheritance-table"> 246 247 248 <tr> 249 250 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object 251 </td> 252 </tr> 253 254 255 <tr> 256 257 <td class="jd-inheritance-space"> ↳</td> 258 259 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.base.ViewFinderImpl 260 </td> 261 </tr> 262 263 264</table> 265 266 267 268 269<br><hr> 270 271 272 <p>Implementation of <code><a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a></code>. 273</p> 274 275 276 277 278 279 280 281<h2 class="api-section">Summary</h2> 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309<!-- ========== METHOD SUMMARY =========== --> 310<table id="pubmethods" class="responsive methods"> 311<tr><th colspan="2"><h3>Public methods</h3></th></tr> 312 313 314 315 316 <tr class="api apilevel-" > 317 318 319 <td><code> 320 321 322 323 324 325 View</code> 326 </td> 327 328 <td width="100%"> 329 <code> 330 <a href="/reference/android/support/test/espresso/base/ViewFinderImpl.html#getView()">getView</a>() 331 </code> 332 333 <p>Immediately locates a single view within the provided view hierarchy. 334 335 336</p> 337 338 </td> 339 </tr> 340 341 342 343</table> 344 345 346 347 348 349 350 351<!-- ========== METHOD SUMMARY =========== --> 352<table id="inhmethods" class="methods inhtable"> 353<tr><th><h3>Inherited methods</h3></th></tr> 354 355 356<tr class="api apilevel-" > 357<td colspan="2"> 358 359 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" 360 ><img height="34" id="inherited-methods-java.lang.Object-trigger" 361 src="/assets/images/styles/disclosure_down.png" 362 class="jd-expando-trigger-img" /></a>From 363class 364<code> 365 366 java.lang.Object 367 368</code> 369<div id="inherited-methods-java.lang.Object"> 370 <div id="inherited-methods-java.lang.Object-list" 371 class="jd-inheritedlinks"> 372 </div> 373 <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> 374 <table class="jd-sumtable-expando responsive"> 375 376 377 378 379 <tr class="api apilevel-" > 380 381 382 <td><code> 383 384 385 386 387 388 Object</code> 389 </td> 390 391 <td width="100%"> 392 <code> 393 clone() 394 </code> 395 396 </td> 397 </tr> 398 399 400 401 <tr class="api apilevel-" > 402 403 404 <td><code> 405 406 407 408 409 410 boolean</code> 411 </td> 412 413 <td width="100%"> 414 <code> 415 equals(Object arg0) 416 </code> 417 418 </td> 419 </tr> 420 421 422 423 <tr class="api apilevel-" > 424 425 426 <td><code> 427 428 429 430 431 432 void</code> 433 </td> 434 435 <td width="100%"> 436 <code> 437 finalize() 438 </code> 439 440 </td> 441 </tr> 442 443 444 445 <tr class="api apilevel-" > 446 447 448 <td><code> 449 450 451 452 final 453 454 Class<?></code> 455 </td> 456 457 <td width="100%"> 458 <code> 459 getClass() 460 </code> 461 462 </td> 463 </tr> 464 465 466 467 <tr class="api apilevel-" > 468 469 470 <td><code> 471 472 473 474 475 476 int</code> 477 </td> 478 479 <td width="100%"> 480 <code> 481 hashCode() 482 </code> 483 484 </td> 485 </tr> 486 487 488 489 <tr class="api apilevel-" > 490 491 492 <td><code> 493 494 495 496 final 497 498 void</code> 499 </td> 500 501 <td width="100%"> 502 <code> 503 notify() 504 </code> 505 506 </td> 507 </tr> 508 509 510 511 <tr class="api apilevel-" > 512 513 514 <td><code> 515 516 517 518 final 519 520 void</code> 521 </td> 522 523 <td width="100%"> 524 <code> 525 notifyAll() 526 </code> 527 528 </td> 529 </tr> 530 531 532 533 <tr class="api apilevel-" > 534 535 536 <td><code> 537 538 539 540 541 542 String</code> 543 </td> 544 545 <td width="100%"> 546 <code> 547 toString() 548 </code> 549 550 </td> 551 </tr> 552 553 554 555 <tr class="api apilevel-" > 556 557 558 <td><code> 559 560 561 562 final 563 564 void</code> 565 </td> 566 567 <td width="100%"> 568 <code> 569 wait(long arg0, int arg1) 570 </code> 571 572 </td> 573 </tr> 574 575 576 577 <tr class="api apilevel-" > 578 579 580 <td><code> 581 582 583 584 final 585 586 void</code> 587 </td> 588 589 <td width="100%"> 590 <code> 591 wait(long arg0) 592 </code> 593 594 </td> 595 </tr> 596 597 598 599 <tr class="api apilevel-" > 600 601 602 <td><code> 603 604 605 606 final 607 608 void</code> 609 </td> 610 611 <td width="100%"> 612 <code> 613 wait() 614 </code> 615 616 </td> 617 </tr> 618 619 620 621 </table> 622 </div> 623</div> 624</td></tr> 625 626 627 628<tr class="api apilevel-" > 629<td colspan="2"> 630 631 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.support.test.espresso.ViewFinder" class="jd-expando-trigger closed" 632 ><img height="34" id="inherited-methods-android.support.test.espresso.ViewFinder-trigger" 633 src="/assets/images/styles/disclosure_down.png" 634 class="jd-expando-trigger-img" /></a>From 635interface 636<code> 637 638 <a href="/reference/android/support/test/espresso/ViewFinder.html">android.support.test.espresso.ViewFinder</a> 639 640</code> 641<div id="inherited-methods-android.support.test.espresso.ViewFinder"> 642 <div id="inherited-methods-android.support.test.espresso.ViewFinder-list" 643 class="jd-inheritedlinks"> 644 </div> 645 <div id="inherited-methods-android.support.test.espresso.ViewFinder-summary" style="display: none;"> 646 <table class="jd-sumtable-expando responsive"> 647 648 649 650 651 <tr class="api apilevel-" > 652 653 654 <td><code> 655 abstract 656 657 658 659 660 View</code> 661 </td> 662 663 <td width="100%"> 664 <code> 665 <a href="/reference/android/support/test/espresso/ViewFinder.html#getView()">getView</a>() 666 </code> 667 668 <p>Immediately locates a single view within the provided view hierarchy. 669 670 671</p> 672 673 </td> 674 </tr> 675 676 677 678 </table> 679 </div> 680</div> 681</td></tr> 682 683 684</table> 685 686 687 688<!-- XML Attributes --> 689 690 691<!-- Enum Values --> 692 693 694<!-- Constants --> 695 696 697<!-- Fields --> 698 699 700<!-- Public ctors --> 701 702 703 704<!-- ========= CONSTRUCTOR DETAIL ======== --> 705<!-- Protected ctors --> 706 707 708 709<!-- ========= METHOD DETAIL ======== --> 710<!-- Public methdos --> 711 712<h2 class="api-section">Public methods</h2> 713 714 715 716<A NAME="getView()"></A> 717 718<div class="api apilevel-"> 719 <h3 class="api-name">getView</h3> 720 <div class="api-level"> 721 <div></div> 722 723 724 725 </div> 726<pre class="api-signature no-pretty-print"> 727View getView ()</pre> 728 729 730 731 732 <p>Immediately locates a single view within the provided view hierarchy. 733 734 If multiple views match, or if no views match the appropriate exception is thrown.</p> 735 <table class="responsive"> 736 <tr><th colspan=2>Returns</th></tr> 737 <tr> 738 <td><code>View</code></td> 739 <td width="100%">A singular view which matches the matcher we were constructed with.</td> 740 </tr> 741 </table> 742 <table class="responsive"> 743 <tr><th colspan=2>Throws</th></tr> 744 <tr> 745 <td><code><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></code></td> 746 <td width="100%"></td> 747 </tr> 748 <tr> 749 <td><code><a href="/reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></code></td> 750 <td width="100%"></td> 751 </tr> 752 </table> 753 754 755</div> 756 757 758 759 760 761<!-- ========= METHOD DETAIL ======== --> 762 763 764 765<!-- ========= END OF CLASS DATA ========= --> 766 767</div><!-- end jd-content --> 768 769 770 771<div class="data-reference-resources-wrapper"> 772 773 <ul data-reference-resources> 774 775 <li><h2>Annotations</h2> 776 <ul> 777 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/Default.html">Default</a></li> 778 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/MainThread.html">MainThread</a></li> 779 </ul> 780 </li> 781 782 <li><h2>Interfaces</h2> 783 <ul> 784 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/ActiveRootLister.html">ActiveRootLister</a></li> 785 </ul> 786 </li> 787 788 <li><h2>Classes</h2> 789 <ul> 790 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.html">BaseLayerModule</a></li> 791 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/BaseLayerModule.FailureHandlerHolder.html">BaseLayerModule.FailureHandlerHolder</a></li> 792 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/DefaultFailureHandler.html">DefaultFailureHandler</a></li> 793 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/IdlingResourceRegistry.html">IdlingResourceRegistry</a></li> 794 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/RootViewPicker.html">RootViewPicker</a></li> 795 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/base/UiControllerModule.html">UiControllerModule</a></li> 796 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/base/ViewFinderImpl.html">ViewFinderImpl</a></li> 797 </ul> 798 </li> 799 800 801 802 </ul> 803 804</div> 805 806 807 808</body> 809</html> 810