Package open.dolphin.impl.scheam

Examples of open.dolphin.impl.scheam.SchemaCanvasDialog


    }

    public void expand() {

        ExpandPanel panel = new ExpandPanel();
        SchemaCanvasDialog dialog = new SchemaCanvasDialog(context.getCanvasView(), true);
        dialog.setTitle("拡大・縮小率");
        dialog.addContent(panel);
        dialog.setVisible(true);

        if (dialog.getResult() == JOptionPane.CANCEL_OPTION) return;

        double ratio = (double) panel.getValue()/100;
        undoMgr.storeExpand(ratio);

        //DrawingHolder
View Full Code Here


        TextPanel textPanel = new TextPanel();
        textPanel.setFontSizeList(fontSizeList);
        textPanel.setFontSize(properties.getFontSize());

        SchemaCanvasDialog dialog = new SchemaCanvasDialog(context.getCanvasView(), true);
        dialog.addContent(textPanel);
        dialog.setTitle("テキスト入力");
        dialog.setVisible(true);
       
        int result = dialog.getResult();
        inputText = textPanel.getText();
        properties.setFontSize(textPanel.getFontSize());

        if (result == JOptionPane.OK_OPTION && inputText != null && !inputText.equals("")) {
            start = p;
View Full Code Here

TOP

Related Classes of open.dolphin.impl.scheam.SchemaCanvasDialog

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.