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

📄 treelayoutcontroller.java

📁 用JGraph编的软件
💻 JAVA
字号:
// This file is part of the Echidna project
// (C) 2002 Forschungszentrum Informatik (FZI) Karlsruhe
// Please visit our website at http://echidna.sf.net
package org.jgraph.layout;

import java.util.Properties;

/**
 * Responsible for administrating the TreeLayoutAlgorithm.<br>
 *<br>
 *<br>
 * @author Sven Luzar
 * @version 1.0 init
 */
public class TreeLayoutController implements LayoutController {

    private Properties properties;

    /**
     *
     */
    public TreeLayoutController() {
       properties = new Properties();
    }

    /**
     * Implementation.
     */
    public String toString() {
        return "Tree";
    }

    /**
     * Implementation.
     */
    public boolean isConfigurable() {
        return false;
    }

    /**
     * Implementation.
     */
    public void configure() {
    }

    /**
     * Implementation.
     */
    public Properties getConfiguration() {
        return properties;
    }

    /**
     * Implementation.
     */
    public LayoutAlgorithm getLayoutAlgorithm() {
        return new TreeLayoutAlgorithm();
    }
}

⌨️ 快捷键说明

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