menuitem.java

来自「j2me的1套UI框架,可以帮助开发者迅速的开发j2me应用程序.」· Java 代码 · 共 18 行

JAVA
18
字号
package org.j4me.ui;

/**
 * Implementing classes can be used as menu choices in a <code>Menu</code>.
 */
public interface MenuItem
{
	/**
	 * @return The text displayed by the menu.
	 */
	public String getText ();
	
	/**
	 * Called when the user selects this choice from the menu.
	 */
	public void onSelection ();
}

⌨️ 快捷键说明

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