installlistener.java
来自「有关j2me的很好的例子可以研究一下」· Java 代码 · 共 35 行
JAVA
35 行
/** * * @(#)InstallListener.java 1.1 01/08/14 * * Copyright 2001 by Sun Microsystems, Inc., * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. * All rights reserved. */package com.sun.midp.midletsuite;/** Enables a MIDlet to respond installation warnings and status updates. */public interface InstallListener { /** * Called with the current state of the install so the user can be * asked to override the warning. To get the warning from the state * call {@link InstallState#getLastException()}. If false is returned, * the last exception in the state will be thrown and * {@link Installer#wasStopped()} will return true if called. * * @param state current state of the install. * * @return true if the user wants to continue, false to stop the install */ public boolean warnUser(InstallState state); /** * Called with the current status of the install. See * {@link Installer} for the status codes. * * @param status current status of the install. */ public void updateStatus(int status);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?