📄 fchatinfo.java
字号:
import javax.swing.*;
import java.awt.*;
import java.io.*;
import java.util.*;
public class FChatInfo implements Serializable
{
String fromUser;
String command;
Vector users;
String chatText;
String font;
Color color;
int X;
String toUser;
public FChatInfo(String fu,String com,Vector v,String ct,String f,Color C,int x,String to)
{
fromUser=fu;
command=com;
users=v;
chatText=ct;
font=f;
color=C;
X=x;
toUser=to;
}
public String getUser()//取得用户名
{
return fromUser;
}
public void setCommand(String s)//设置命令
{
command=s;
}
public String getCommand()//取得命令
{
return command;
}
public Vector getVector()//取得收集的对象
{
return users;
}
public String getChatText()//取得对话内容
{
return chatText;
}
public void setChatText(String s)//设置对话内容
{
chatText=s;
}
public String getF()//取得字体
{
return font;
}
public Color getColor()//取得颜色
{
return color;
}
public int getx()//取得表情
{
return X;
}
public String gettoUser()//取得说话的对象
{
return toUser;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -