choicepeer.java

来自「JAVA基本类源代码,大家可以学习学习!」· Java 代码 · 共 29 行

JAVA
29
字号
/* * @(#)ChoicePeer.java	1.16 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.awt.peer;import java.awt.*;/** * The peer interfaces are intended only for use in porting * the AWT. They are not intended for use by application * developers, and developers should not implement peers * nor invoke any of the peer methods directly on the peer * instances. */public interface ChoicePeer extends ComponentPeer {    void add(String item, int index);    void remove(int index);    void removeAll();    void select(int index);    /*     * DEPRECATED:  Replaced by add(String, int).     */    void addItem(String item, int index);}

⌨️ 快捷键说明

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