📄 plugininterface.java
字号:
package jim;
import javax.swing.*;
/* Copyright, 2001 Jason Dominiczak.
*
* This file is part of JIM - The Java Instant Messenger.
* eMailer 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, or (at your option)
* any later version.
* JIM 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 eMailer; see the file COPYING. If not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
* MA 02111-1307, USA.
*/
public interface PluginInterface {
public String TreeName = null;
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:46:34 PM)
* @param buddySN java.lang.String
*/
void callbackBuddyAway(String buddySN);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:47:10 PM)
* @param buddySN java.lang.String
*/
void callbackBuddyBack(String buddySN);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:43:15 PM)
* @param buddySN java.lang.String
*/
void callbackBuddyOff(String buddySN);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:42:47 PM)
* @param buddySN java.lang.String
*/
void callbackBuddyOn(String buddySN);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:39:33 PM)
* @param error int
*/
void callbackDisconnect(int error);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:39:54 PM)
* @param error int
*/
void callbackError(int error);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:56:46 PM)
* @param buddySN java.lang.String
* @param idle long
*/
void callbackGotIdle(String buddySN, long idle);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:52:35 PM)
* @param buddySN java.lang.String
* @param info java.lang.String
* @param warning int
* @param idle int
* @param flags int
*/
void callbackGotInfo(String buddySN, String info, int warning, int idle, int flags);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:59:22 PM)
* @param level int
* @param buddySN java.lang.String
*/
void callbackGotWarned(int level, String buddySN);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:49:25 PM)
* @param buddySN java.lang.String
* @param online int
* @param away int
*/
void callbackListBuddy(String buddySN, int online, int away);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:41:49 PM)
* @param who java.lang.String
* @param text java.lang.String
* @param automessage int
*/
void callbackRecievedMessage(String who, String text, int automessage);
/**
* Insert the method's description here.
* Creation date: (10/10/2001 5:57:09 PM)
* @param idle long
*/
void callbackSetIdle(long idle);
/**
* Insert the method's description here.
* Creation date: (10/7/2001 1:16:27 PM)
* @return boolean
*/
boolean getConnected();
/**
* Insert the method's description here.
* Creation date: (10/15/2001 6:45:35 PM)
* @return jim.Jim
*/
Jim getJim();
/**
* Insert the method's description here.
* Creation date: (11/20/2001 5:00:10 PM)
* @return javax.swing.JPanel
*/
javax.swing.JPanel getProperties();
/**
* Insert the method's description here.
* Creation date: (11/24/2001 9:34:23 PM)
*/
JPanel getPropInst();
/**
* Insert the method's description here.
* Creation date: (11/2/2001 11:36:38 PM)
* @return java.lang.String
*/
String getSN();
/**
* Insert the method's description here.
* Creation date: (10/15/2001 6:34:48 PM)
* @return javax.swing.ImageIcon
*/
javax.swing.ImageIcon getTabIcon();
/**
* Insert the method's description here.
* Creation date: (10/7/2001 1:17:14 PM)
* @return java.lang.String
*/
String getTreeName();
/**
* Insert the method's description here.
* Creation date: (10/9/2001 5:25:40 PM)
* @return java.lang.String
*/
String getURL();
/**
* Insert the method's description here.
* Creation date: (10/7/2001 1:07:49 PM)
* @return int
* @param Username java.lang.String
* @param Password java.lang.String
*/
void login();
/**
* Insert the method's description here.
* Creation date: (11/24/2001 10:38:11 PM)
*/
void logoff();
/**
* Insert the method's description here.
* Creation date: (11/23/2001 10:35:12 AM)
*/
void saveProperties();
/**
* Insert the method's description here.
* Creation date: (11/2/2001 11:33:30 PM)
* @param sname java.lang.String
* @param message java.lang.String
*/
void sendMessage(String sname, String message);
/**
* Insert the method's description here.
* Creation date: (10/15/2001 6:44:52 PM)
* @param localJIM jim.Jim
*/
void setJim(Jim localJIM);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -