⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multicallbackable.java

📁 ErGo是一个很早的Java通用围棋服务器(IGS/NNGS)客户端程序。有全部源码和文档
💻 JAVA
字号:
package ergo.ui;

// $Id: MultiCallBackable.java,v 1.3 1999/08/13 01:20:09 sigue Exp $

/*
 *  Copyright (C) 1999  Carl L. Gay and Antranig M. Basman.
 *  See the file copyright.txt, distributed with this software,
 *  for further information.
 */

import java.awt.Event;
import java.awt.event.MouseEvent;

/**
 * A MultiCallBackable object is required for each MultiBox that is created.
 * It is called back when sorting of elements is required, and when events
 * are received. 
 * <P>
 * The MultiCallBackable things are currently the two Containers.
 * Currently, MultiCallBackable also associates to a MultiWindow, or its equivalent, and
 * provides various information, as well as processing of actions.
 * This allows MultiBox and MultiWindow to be generic, while all processing
 * is centralised in the MultiCallBackable Object.
 *
 * @see ServerPlayerContainer
 * @see ServerGameContainer
 * @version $Revision: 1.3 $ - $Date: 1999/08/13 01:20:09 $
 */
public interface MultiCallBackable {
  int compare (int compareMethod, Object n1, Object n2); 
  int eventOn (Object theUseful, MouseEvent event, int fieldNo);
  boolean actionOn (Event e, Object arg);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -