public abstract class ViewVisitor extends java.lang.Object implements Pathfinder.Accumulator
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ViewVisitor.AddAccessibilityEventVisitor
点击事件监听器
|
static class |
ViewVisitor.AddTextChangeListener
Installs a TextWatcher in each matching view.
|
static interface |
ViewVisitor.OnEventListener
OnEvent will be fired when whatever the ViewVisitor installed fires
(For example, if the ViewVisitor installs watches for clicks, then OnEvent will be called
on click)
|
static class |
ViewVisitor.ViewDetectorVisitor
Monitors the view tree for the appearance of matching views where there were not
matching views before.
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
ViewVisitor(java.util.List<Pathfinder.PathElement> path) |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
cleanup()
清除所有事件监听,调用后ViewVisitor将失效
|
protected abstract java.lang.String |
name() |
void |
visit(android.view.View rootView) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccumulateprotected ViewVisitor(java.util.List<Pathfinder.PathElement> path)