📄 menueventlistener.java
字号:
package no.auc.one.portableplayer.userinterface;
public interface MenuEventListener {
/**
* Default menu action. Does nothing
*/
public static final int MENUACTION_DO_NOTHING = 0;
/**
* Menu will repaint itself. Useful for a MenuElement which redraws itself.
*/
public static final int MENUACTION_REPAINT = 2;
/**
* Menu should display the children of this MenuElement.
*/
public static final int MENUACTION_DISPLAY_CHILDREN = 3;
/**
* Menu should display the elements of the grandparent for this MenuElement.
*/
public static final int MENUACTION_DISPLAY_GRANDPARENT = 4;
/**
* User activated the MenuElement.
*
* @return The return value describes what the MenuElement wants the Menu
* to do next. Possible values are the MENUACTION_* constants.
*/
public int menuAction(MenuElementBase me);
/**
* User wants to move back / up one level in the hierarchy.
*
* @return The return value describes what the MenuElement wants the Menu
* to do next. Possible values are the MENUACTION_* constants.
*/
public int menuNavigateBack(MenuElementBase me);
/**
* User wants to move into / down one level in the hierarchy.
*
* @return The return value describes what the MenuElement wants the Menu
* to do next. Possible values are the MENUACTION_* constants.
*/
public int menuNavigateInto(MenuElementBase me);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -