popuplistener.java

来自「手机应用程序之蓝牙编程源代码。。蓝牙编程爱好者课用」· Java 代码 · 共 26 行

JAVA
26
字号
// Copyright (c) 2005 Sony Ericsson Mobile Communications AB
//
// This software is provided "AS IS," without a warranty of any kind. 
// ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, 
// INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A 
// PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 
//
// THIS SOFTWARE IS COMPLEMENTARY OF JAYWAY AB (www.jayway.se)

package bluegammon.gui.popup;

/**
 * Implementations of this class are reported when users selects
 * an alternative in a popup.
 * @author Peter Andersson
 */
public interface PopupListener
{
    /**
     * Called when an selection has been made.
     * @param choice	The index of the alternatives that were chosen.
     * @param timeOut	True if the choice was made because of a time out.
     */
	public void selectedChoice(byte choice, boolean timeOut);
}

⌨️ 快捷键说明

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