Examples of StatusPanel


Examples of ch.tatool.core.display.swing.status.StatusPanel

    }
   
    /** Updates the level status panel. */
    protected void updateStatusRegion(ExecutionContext context) {
      // update the level status panel if one such exists
      StatusPanel levelPanel = StatusRegionUtil.getStatusPanel(StatusPanel.STATUS_PANEL_LEVEL);
      if (levelPanel != null) {
        levelPanel.setProperty(StatusPanel.PROPERTY_VALUE, Level.getLevelProperty().getValueOrDefault(this));
      }
    }
View Full Code Here

Examples of ch.tatool.core.display.swing.status.StatusPanel

    StatusRegionImpl statusRegion = StatusRegionUtil.getInstance();
   
    // reset
    if (resetIds != null) {
      for (String id : resetIds) {
        StatusPanel panel = statusRegion.getStatusPanel(id);
        if (panel != null) {
          panel.reset();
        }
      }
    }
   
    // disable
    if (disableIds != null) {
      for (String id : disableIds) {
        StatusPanel panel = statusRegion.getStatusPanel(id);
        if (panel != null) {
          panel.setEnabled(false);
        }
      }
    }
   
    // enable
    if (enableIds != null) {
      for (String id : enableIds) {
        StatusPanel panel = statusRegion.getStatusPanel(id);
        if (panel != null) {
          panel.setEnabled(true);
        }
      }
    }
  }
View Full Code Here

Examples of ch.tatool.core.display.swing.status.StatusPanel

      // calculate the remaining time and then update the status panel
      long now = System.nanoTime() / convertRateToMillis;// System.currentTimeMillis();
      final long remainingTime = getDefaultTimerDuration()
          + getTimerStartTimestamp() - now;
     
      final StatusPanel statPanel = statusPanel;
      SwingUtilities.invokeLater(new Runnable() {
        public void run() {
          statPanel.setProperty(StatusPanel.PROPERTY_VALUE,
              remainingTime);
          statPanel.setEnabled(true);
        }
      });
    }
  }
View Full Code Here

Examples of ch.tatool.core.display.swing.status.StatusPanel

  /**
   * Updates the statuspanel with the current trial count.
   */
  private void updateStatusPanel(ExecutionContext context) {
    // get the status panel if available
    StatusPanel panel = StatusRegionUtil.getStatusPanel(statusPanelId);
    if (panel != null) {
      panel.setEnabled(true);
      panel.setProperty(StatusPanel.PROPERTY_VALUE, trialCounter);
    }
  }
View Full Code Here

Examples of com.apress.progwt.client.college.gui.status.StatusPanel

        // setup the StatusPanel. There will be just one DIV for this, no
        // matter how many apps we have in the same page.
        try {
            RootPanel status = RootPanel.get("gwt-status");
            if (status.getWidgetCount() == 0) {
                StatusPanel sp = new StatusPanel();
                status.add(sp);
                StdAsyncCallback.setManager(sp);
            }

        } catch (Exception e) {
View Full Code Here

Examples of jp.go.aist.sot.client.gui.panel.StatusPanel

    private JDialog dialog;
    private StatusPanel statusPanel;
   
    public StatusDetailWindow(Frame frame) {
       
        statusPanel = new StatusPanel();

        dialog = new JDialog(frame);
        dialog.setTitle(mh.getMessage("title"));       
        Container pane = dialog.getContentPane();
View Full Code Here

Examples of net.sf.jftp.gui.base.StatusPanel

        setLayout(new BorderLayout());

        setBackground(GUIDefaults.mainBack);
        setForeground(GUIDefaults.front);

        statusP = new StatusPanel(this);
        add("North", statusP);

        localDir = (Dir) new LocalDir(Settings.defaultWorkDir);
        localDir.setDownloadList(dList);
View Full Code Here

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

Examples of open.dolphin.ui.StatusPanel

       
        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

Examples of open.dolphin.ui.StatusPanel

        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
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.