globalvars.java

来自「Dijkstra algorithm in Java.」· Java 代码 · 共 29 行

JAVA
29
字号
/*
 * GlobalVars.java
 *
 * Created on June 2, 2007, 1:18 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package termproject_dijkstra;

/**
 *
 * @author Peto
 */
public class GlobalVars {
    
    public static final int iINFINITY = 2000000000;  
    public static final int nodeRad = 30;
    public static final int edgeDirRad =7;
    public static final int nodeOffset[] = {120,120};
    public static final int frameDim[] = {800,500};
    public static final boolean bConstCanvasSize = true;    // Whether is canvas resizing with window - it's better not to, 
                                                            // so we can extend window to see more nodes
    public static boolean bDrawOnlyPaths=false;
    
    
}

⌨️ 快捷键说明

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