Package com.mxgraph.examples.swing.editor.EditorActions

Examples of com.mxgraph.examples.swing.editor.EditorActions.GridColorAction


    submenu = (JMenu) menu.add(new JMenu(mxResources.get("grid")));

    submenu.add(editor.bind(mxResources.get("gridSize"),
        new PromptPropertyAction(graph, "Grid Size", "GridSize")));
    submenu.add(editor.bind(mxResources.get("gridColor"),
        new GridColorAction()));

    submenu.addSeparator();

    submenu.add(editor.bind(mxResources.get("dashed"), new GridStyleAction(
        mxGraphComponent.GRID_STYLE_DASHED)));
View Full Code Here


    submenu = (JMenu) menu.add(new JMenu(mxResources.get("grid")));

    submenu.add(editor.bind(mxResources.get("gridSize"),
        new PromptPropertyAction(graph, "Grid Size", "GridSize")));
    submenu.add(editor.bind(mxResources.get("gridColor"),
        new GridColorAction()));

    submenu.addSeparator();

    submenu.add(editor.bind(mxResources.get("dashed"), new GridStyleAction(
        mxGraphComponent.GRID_STYLE_DASHED)));
View Full Code Here

    submenu.add(editor.bind(mxResources.get("pageBackground"), new PageBackgroundAction()));

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("grid")));

    submenu.add(editor.bind(mxResources.get("gridSize"), new PromptPropertyAction(graph, "Grid Size", "GridSize")));
    submenu.add(editor.bind(mxResources.get("gridColor"), new GridColorAction()));

    submenu.addSeparator();

    submenu.add(editor.bind(mxResources.get("dashed"), new GridStyleAction(mxGraphComponent.GRID_STYLE_DASHED)));
    submenu.add(editor.bind(mxResources.get("dot"), new GridStyleAction(mxGraphComponent.GRID_STYLE_DOT)));
View Full Code Here

TOP

Related Classes of com.mxgraph.examples.swing.editor.EditorActions.GridColorAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.