com.paf.rn.view.KeyView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-native Show documentation
Show all versions of react-native Show documentation
A framework for building native apps with React
/*
* 文件名: KeyView.java
* 版 权: Copyright PingAn Technology All Rights Reserved.
* 描 述: [该类的简要描述]
* 创建人: ex-xujiao001
* 创建时间: 2012-3-9
*
* 修改人:
* 修改时间:
* 修改内容:[修改内容]
*/
package com.paf.rn.view;
import android.view.View;
import android.view.ViewGroup;
import android.widget.PopupWindow;
import android.widget.TextView;
import com.facebook.react.R;
/**
* [一句话功能简述]
* [功能详细描述]
*
* @author ex-xujiao001
* @version [Android PABank C01, 2012-3-9]
*/
public class KeyView extends PopupWindow {
private TextView textView;
public TextView getTextView() {
return textView;
}
public void setTextView(TextView textView) {
this.textView = textView;
}
public KeyView(View contentView, int width, int height) {
super(contentView, width, height);
init();
}
private void init() {
ViewGroup group = (ViewGroup) getContentView();
textView = (TextView) group.findViewById(R.id.key_text);
}
}