?? popupcanvas.java
字號:
package myGame.gui;
import javax.microedition.lcdui.Canvas;
import myGame.gui.popup.Popup;
/**
* Represents a canvas that can show popups.
*
* @author YuBingxing
*/
public abstract class PopupCanvas extends Canvas {
/** The popup in this canvas */
protected Popup m_popup;
/**
* Returns the popup in this canvas or null if popup.
*
* @return The current popup or null.
*/
public Popup getPopup() {
return m_popup;
}
/**
* Sets the popup in this canvas.
*
* @param p
* The popup.
*/
public void setPopup(Popup p) {
m_popup = p;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -