Package org.hxzon.swing.layout.simple

Examples of org.hxzon.swing.layout.simple.SimpleLayout


    private final AntiAliasCheckBox antiAlias;

    public StatisticsControlPanel(final StatisticsPaintPanel paintPanel) {
//    this.setBackground(backgroundColor);
        final JPanel packetPanel = new JPanel();
        packetPanel.setLayout(new SimpleLayout());
        goose = new PacketCheckBox(paintPanel, "GOOSE", "GOOSE");
        mms = new PacketCheckBox(paintPanel, "MMS", "MMS");
        smv = new PacketCheckBox(paintPanel, "采样值", "采样值");
        other = new PacketCheckBox(paintPanel, "其它报文", "其它报文");
        all = new PacketCheckBox(paintPanel, "全部", "全部");
View Full Code Here


//        if (!e.getValueIsAdjusting()) {
                paintPanel.setViewSize(jsp.getViewport().getViewRect());
//        }
            }
        });
        setLayout(new SimpleLayout(true));
        add(jsp, SimpleLayoutData.fillPercent(100));
        controlPanel = new StatisticsControlPanel(paintPanel);
        add(controlPanel, SimpleLayoutData.fixedSize(110));
    }
View Full Code Here

TOP

Related Classes of org.hxzon.swing.layout.simple.SimpleLayout

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.