📄 platform.java
字号:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.cnxinshe.noteview;import javax.microedition.lcdui.Font;public class Platform { /** 方向键向上键键值 */ public static final byte KEY_UP = -1; /** 方向键向下键键值 */ public static final byte KEY_DOWN = -2; /** 方向键向左键键值 */ public static final byte KEY_LEFT = -3; /** 方向键向右键键值 */ public static final byte KEY_RIGHT = -4; /** 中间选择键键值 */ public static final byte KEY_SELECT = -5; /** 做软件键键值 */ public static final byte KEY_SOFT_LEFT = -6; /** 右软件键键值 */ public static final byte KEY_SOFT_RIGHT = -7; /** "*"(星)键键值 */ public static final byte KEY_SHIFT = 42; /** "#"(井)键键值 */ public static final byte KEY_SPACE = 35; /** 屏幕全屏后的宽度 */ public static final int FULL_SCREEN_WIDTH = 240; /** 屏幕全屏后的高度 */ public static final int FULL_SCREEN_HEIGHT = 320; static Font font = Font.getDefaultFont(); public static final int FONT_HEIGHT = font.getHeight(); public static final int FONT_WIDHT_ZH = font.charWidth('中'); public static final int FONT_WIDHT_EN = font.charWidth('a');}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -