public class LoginWebBridge
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
void |
closeQQWindow()
关闭QQ授权窗口
|
void |
closeWindow()
关闭窗口
|
void |
defaultLogin(java.lang.String username,
java.lang.String password,
JSObject callback)
设计器端的用户登录
|
void |
forgetHref()
忘记密码
|
static LoginWebBridge |
getHelper() |
static LoginWebBridge |
getHelper(WebEngine webEngine) |
int |
getMessageCount() |
java.lang.String |
login(java.lang.String userInfo,
java.lang.String password)
登录操作
|
void |
openUrlAtLocalWebBrowser(WebEngine eng,
java.lang.String url) |
void |
registerHref()
注册页面
|
void |
setDialogHandle(UIDialog uiDialog) |
void |
setMessageCount(int count)
设置获取的消息长度,并设置显示
|
void |
setQQDialog(UIDialog qqDialog) |
void |
setUILabel(UILabel uiLabel) |
void |
setWebEngine(WebEngine webEngine) |
void |
showQQ()
弹出QQ授权页面
|
public static LoginWebBridge getHelper()
public static LoginWebBridge getHelper(WebEngine webEngine)
public void setWebEngine(WebEngine webEngine)
public int getMessageCount()
public void setMessageCount(int count)
count
- public void setQQDialog(UIDialog qqDialog)
public void setDialogHandle(UIDialog uiDialog)
public void setUILabel(UILabel uiLabel)
public void registerHref()
public void forgetHref()
public void defaultLogin(java.lang.String username, java.lang.String password, JSObject callback)
username
- 用户名password
- 密码public java.lang.String login(java.lang.String userInfo, java.lang.String password)
userInfo
- 登录信息password
- 密码public void closeWindow()
public void showQQ()
public void closeQQWindow()
public void openUrlAtLocalWebBrowser(WebEngine eng, java.lang.String url)