复习:1.封装、继承、多态2.里氏替换3.继承中构造函数的问题 :base(xxx,xx,xxx):this(sssss)4.多态:多态是面向对象中的一个特征 虚方法 静态 接口 增加程序的可扩展性5.静态成员-静态类6.访问修饰符7.抽象类 abstract 代码重用 虚方法父类有实现 可以不.....
分类:
Web程序 时间:
2014-07-22 22:53:53
阅读次数:
215
PressKeyCode
package io.appium.android.bootstrap.handler;
import com.android.uiautomator.core.UiDevice;
import io.appium.android.bootstrap.AndroidCommand;
import io.appium.android.bootstrap.Andr...
分类:
其他好文 时间:
2014-07-19 23:48:19
阅读次数:
493
ScrollTo
package io.appium.android.bootstrap.handler;
import com.android.uiautomator.core.UiObject;
import com.android.uiautomator.core.UiObjectNotFoundException;
import com.android.uiautomato...
分类:
其他好文 时间:
2014-07-19 23:37:28
阅读次数:
376
GetName
package io.appium.android.bootstrap.handler;
import com.android.uiautomator.core.UiObjectNotFoundException;
import io.appium.android.bootstrap.*;
import org.json.JSONException;
/**
* T...
分类:
其他好文 时间:
2014-07-19 23:33:29
阅读次数:
439
extern static const abstract virtual
const
const,常量,初始化过后值不能再变化的变量。
{CSDN:CODE:430745}...
分类:
其他好文 时间:
2014-07-19 23:33:27
阅读次数:
220
DumpWindowHierarchy
package io.appium.android.bootstrap.handler;
import android.os.Environment;
import com.android.uiautomator.core.UiDevice;
import io.appium.android.bootstrap.AndroidCommand;
i...
Handler的实质就是异步消息处理。实例一:Handler的基本用法XML布局代码:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<T..
分类:
移动开发 时间:
2014-07-19 16:28:30
阅读次数:
334
继承和多态@class Complex 声明类(同C++)子类函数成员 super 访问父类 同C++类似1.通过继承 在子类中添加新方法2.通过继承 在子类中添加新成员3.通过继承 实现多态(实现比较简单,通过Id通用类型作为父类)4.重载5.抽象类abstract作用:创建子类更容易;提...
分类:
其他好文 时间:
2014-07-19 16:17:02
阅读次数:
270
ashx文件和aspx文件有什么不同? 我们先新建一个ashx文件看看: 1 2 using System; 3 using System.Web; 4 public class Handler : IHttpHandler 5 { 6 public void ProcessRequest ...
分类:
Web程序 时间:
2014-07-19 14:17:24
阅读次数:
186
Swipe
我定义为滑动,但它字面的意思又不是,事件的形式类似于小时候拿着一块石头片,朝水面飞过去,如果你手法可以那么就是swipe走的路线,如果你手法不行,接触水面的时候就没再飞起来那就会被人嘲笑的。
package io.appium.android.bootstrap.handler;
import com.android.uiautomator.core.UiDevi...
分类:
其他好文 时间:
2014-07-19 02:12:25
阅读次数:
282