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

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


    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)));
    submenu.add(editor.bind(mxResources.get("line"), new GridStyleAction(
        mxGraphComponent.GRID_STYLE_LINE)));
    submenu.add(editor.bind(mxResources.get("cross"), new GridStyleAction(
        mxGraphComponent.GRID_STYLE_CROSS)));

    menu.addSeparator();

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("layout")));
View Full Code Here


    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)));
    submenu.add(editor.bind(mxResources.get("line"), new GridStyleAction(
        mxGraphComponent.GRID_STYLE_LINE)));
    submenu.add(editor.bind(mxResources.get("cross"), new GridStyleAction(
        mxGraphComponent.GRID_STYLE_CROSS)));

    menu.addSeparator();

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("layout")));
View Full Code Here

    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)));
    submenu.add(editor.bind(mxResources.get("line"), new GridStyleAction(mxGraphComponent.GRID_STYLE_LINE)));
    submenu.add(editor.bind(mxResources.get("cross"), new GridStyleAction(mxGraphComponent.GRID_STYLE_CROSS)));

    menu.addSeparator();

    submenu = (JMenu) menu.add(new JMenu(mxResources.get("layout")));
View Full Code Here

TOP

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

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.