Package open.dolphin.ui

Examples of open.dolphin.ui.StatusPanel


       
        // 全体をレイアウトする
        MainComponentPanel view = new MainComponentPanel();
        MainComponentPanel.CommandPanel comPanel = view.getCommandPanel();
        MainComponentPanel.MainPanel mainPanel = view.getMainPanel();
        StatusPanel statusPanel = view.getStatusPanel();
       
        comPanel.add(iconLabel);
        comPanel.add(instLabel);
        comPanel.setMargin(4);
       
        mainPanel.add(scroller);
       
        statusPanel.addGlue();
        statusPanel.add(usp);
        statusPanel.addSeparator();
        statusPanel.add(countLabel);
        statusPanel.addSeparator();
        statusPanel.add(dateLabel);
        statusPanel.setMargin(4);
       
        setUI(view);
       
        DropTarget dt = new DropTarget(view, new DropTargetAdapter() {
View Full Code Here


       
        table = new AddressTipsTable();
        MyJScrollPane scroller = new MyJScrollPane(table);
        mainPanel.add(scroller);
       
        StatusPanel statusPanel = getStatusPanel();
       
        progressBar = new JProgressBar();
        Dimension pbSize = new Dimension(100,14);
        progressBar.setMaximumSize(pbSize);
        progressBar.setPreferredSize(pbSize);
        cntLbl = new JLabel("0件");
        dateLbl = new JLabel("2011-11-11(土)");
        statusPanel.addGlue();
        statusPanel.add(progressBar);
        statusPanel.addSeparator();
        statusPanel.add(cntLbl);
        statusPanel.addSeparator();
        statusPanel.add(dateLbl);
        statusPanel.setMargin(4);
    }
View Full Code Here

        table = new RowTipsTable();
        MyJScrollPane scroller = new MyJScrollPane(table);
        scroller.isPermanentScrollBar = true;
        mainPanel.add(scroller);
       
        StatusPanel statusPanel = getStatusPanel();
        checkedTimeLbl = new JLabel("00:00");
        countLbl = new JLabel("来院数10人,待ち10人,待ち時間 00:00");
        dateLbl = new JLabel("2011-11-11(土)");
        intervalLbl = new JLabel("チェック間隔:30秒");       
        statusPanel.add(checkedTimeLbl);
        statusPanel.addSeparator();
        statusPanel.add(intervalLbl);
        statusPanel.addGlue();
        statusPanel.add(dateLbl);
        statusPanel.addSeparator();
        statusPanel.add(countLbl);
        statusPanel.setMargin(4);
    }
View Full Code Here

        periodCombo.setModel(new DefaultComboBoxModel(periodLabels));
        periodCombo.setPreferredSize(new Dimension(76,24));
        periodCombo.setMaximumSize(new Dimension(76,24));
        periodCombo.setMinimumSize(new Dimension(76,24));
       
        StatusPanel statusPanel = new StatusPanel();
        statusPanel.setPanelHeight(26);
        statusPanel.setBackgroundColor(Color.BLACK, 0f, 0.1f);
        statusPanel.setTopLineAlpha(0.4f);
        statusPanel.add(periodCombo);
        statusPanel.addGlue();
        statusPanel.add(cntLbl);
        statusPanel.setMargin(4);
       
        this.add(scroller, BorderLayout.CENTER);
        this.add(statusPanel, BorderLayout.SOUTH);       
    }
View Full Code Here

//          infoArea.setLineWrap(true);
//          infoArea.setPreferredSize(new Dimension(250, 18));
//          Font font = GUIFactory.createSmallFont();
//          infoArea.setFont(font);

            statusPanel = new StatusPanel();
            statusPanel.add("", "infoArea");
            statusPanel.setPanelHeight(18);
            statusPanel.setFontSize(8);
            statusPanel.setBackgroundColor(Color.BLACK, 0f, 0.05f);
            statusPanel.setTopLineAlpha(0.4f);
View Full Code Here

       
        MainFrame frame = windowSupport.getFrame();
        frame.setName("editorFrame");
        frame.removeStatusPanel();
       
        statusPanel = new StatusPanel(); // dummy 表示はしない AbstractChartDocument から呼ばれるので
        statusPanel.add("", "message");
       
        MainFrame.MainPanel mainPanel = frame.getMainPanel();
        mainPanel.setLayout(new BorderLayout(0,0));
        MainFrame.CommandPanel comPanel = frame.getCommandPanel();
View Full Code Here

    }
   
    private void initComponents() {
        commandPanel = new CommandPanel();
        mainPanel = new MainPanel();
        statusPanel = new StatusPanel();
        setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
        add(commandPanel);
        add(mainPanel);
        add(statusPanel);
       
View Full Code Here

        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setSize(600, 800);
       
        MainComponentPanel p = new MainComponentPanel();
        MainComponentPanel.CommandPanel com = p.getCommandPanel();
        StatusPanel status = p.getStatusPanel();
       
        JLabel l1 = new JLabel("TEST1");
        JLabel l2 = new JLabel("TEST2");
        JLabel l3 = new JLabel("TEST3");
        JButton b1 = new JButton("TEST4");
        JButton b2 = new JButton("TEST4");
        JTextField tf = new JTextField();
        tf.setMaximumSize(new Dimension(100,Integer.MAX_VALUE));
        tf.setPreferredSize(new Dimension(100,Integer.MAX_VALUE));
        JProgressBar bar = new JProgressBar();
       
        status.add(l1);
        status.addSeparator();
        status.add(l2);
        status.addGlue();
        status.add(bar);
        status.addSeparator();
        status.add(l3);
        status.setTopLineAlpha(0.4f);
        status.setMargin(8);
       
        com.add(b1);
        com.addGlue();
        com.add(tf);
        com.add(b2);
View Full Code Here

TOP

Related Classes of open.dolphin.ui.StatusPanel

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.