Package open.dolphin.impl.scheam

Examples of open.dolphin.impl.scheam.SchemaCanvasDialog.addContent()


    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;
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();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.