📄 iqqnode.java
字号:
/*
* LumaQQ - Java QQ Client
*
* Copyright (C) 2004 luma <stubma@163.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package edu.tsinghua.lumaqq.models;
import edu.tsinghua.swt.models.INode;
/**
* <pre>
* 属性常量定义接口,属性的详细说明参看各个model的注释
* </pre>
*
* @author 马若劼
*/
public interface IQQNode extends INode {
// FriendModel 属性常量
/** QQ号 */
public static final String QQ_NUMBER = "qq";
/** 昵称 */
public static final String NICK = "nick";
/** 真名 */
public static final String REAL_NAME = "realName";
/** 头像 */
public static final String HEAD = "head";
/** 详细信息 */
public static final String CONTACT = "contact";
/** 是否会员 */
public static final String MEMBER = "member";
/** 在线状态 */
public static final String STATUS = "status";
/** 当前是否有未读消息 */
public static final String HAS_MESSAGE = "hasMessage";
/** ip地址 */
public static final String IP = "ip";
/** 端口 */
public static final String PORT = "port";
/** 登录时间 */
public static final String LOGIN_TIME = "loginTime";
/** 是否聊天模式 */
public static final String TALK_MODE = "talkMode";
/** 窗口X位置 */
public static final String LOCATION_X = "locationX";
/** 窗口Y位置 */
public static final String LOCATION_Y = "locationY";
/** 父model */
public static final String PARENT = "parent";
// 临时属性
/** 临时属性 */
public static final String TEMP = "temp";
/** 原始model */
public static final String ORIGINAL_MODEL = "originalModel";
/** 是否原始model */
public static final String ORIGINAL = "original";
// GroupModel 属性
/** 是否好友组 */
public static final String FRIENDLY = "friendly";
/** 是否黑名单组 */
public static final String BLACKLIST = "blacklist";
/** 是否要上传 */
public static final String UPLOAD = "upload";
/** 是否群 */
public static final String CLUSTER = "cluster";
/** 是否可见 */
public static final String VISIBLE = "visible";
/** 在线好友数 */
public static final String ONLINE_USER = "onlineUser";
/** 组内好友总数 */
public static final String USERS = "users";
// ClusterModel 属性
/** 群内部ID */
public static final String CLUSTER_ID = "clusterId";
/** 群信息 */
public static final String INFO = "info";
/** 群类型 */
public static final String TYPE = "type";
/** 消息设定 */
public static final String MESSAGE = "message";
/** 群内成员 */
public static final String MEMBERS = "members";
/** 未读的消息条数 */
public static final String MESSAGE_COUNT = "message count";
// MobileModel属性
/** 手机号码 */
public static final String MOBILE = "mobile";
// 消息设定值
/** 接受群消息 */
public static final String VALUE_ACCEPT = "accept";
/** 自动弹出群消息 */
public static final String VALUE_EJECT = "eject";
/** 记录但不提示群消息 */
public static final String VALUE_RECORD = "record";
/** 阻止群消息 */
public static final String VALUE_BLOCK = "block";
/** 显示消息条数 */
public static final String VALUE_SHOW_NUMBER = "shownumber";
// 在线状态值
/** 在线 */
public static final String VALUE_ONLINE = "online";
/** 下线 */
public static final String VALUE_OFFLINE = "offline";
/** 隐身 */
public static final String VALUE_HIDDEN = "hidden";
/** 离开 */
public static final String VALUE_AWAY = "away";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -