⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boardlistener.java

📁 设计一个软件的启动过程界面
💻 JAVA
字号:
/** Interface for receiving GraphicalBoard events. Note that the events    must first be enabled using setResizable() and setClickable().        @see GraphicalBoard*/public interface BoardListener {    /** Invoked after the user has dragged the board to a new size. The size        of a KnightBoard object cannot be changed, so the current board should        be dispensed with and a new one of the correct size created.        @param new_width new width of the board in squares.        @param new_height new height of the board in squares.        @see GraphicalBoard#setResizable    */        public void boardResized(int new_width, int new_height);        /** Invoked when the user clicks on a square inside the board.        @param squarex x-index of the selected square.        @param squarey y-index of the selected square.        @see GraphicalBoard#setClickable    */        public void boardClicked(int squarex, int squarey);}

⌨️ 快捷键说明

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