Package jmt.gui.common.panels

Examples of jmt.gui.common.panels.WarningScrollTable


    JPanel tmpPanel = new JPanel(new BorderLayout());
    tmpPanel.add(addPanel, BorderLayout.NORTH);
    stationPanel.add(tmpPanel, BorderLayout.EAST);
    // Creates table to display stations
    stationTable = new StationTable();
    WarningScrollTable warning = new WarningScrollTable(stationTable, WARNING_STATIONS);
    warning.addCheckVector(sd.getStationKeysNoSourceSink());
    stationPanel.add(warning);
    add(stationPanel);

    // Creates blocking region panel
    blockingPanel = new BlockingRegionParameterPanel(cd, bd, regionKey);
View Full Code Here


    initComponents();
    setData(sd, cs, stationKey, classKey);
  }

  private void initComponents() {
    rtPane = new WarningScrollTable(routingTable, WARNING_ROUTING);
    noOptLabelPanel.setBorder(new TitledBorder(new EtchedBorder(), "Routing Options"));
    noOptLabel.setOpaque(false);
    noOptLabel.setEditable(false);
    noOptLabel.setLineWrap(true);
    noOptLabel.setWrapStyleWord(true);
View Full Code Here

    //build upper part of central panel
    JLabel descrLabel = new JLabel(CONNECTIONS_DESCRIPTION);

    //add all panels to the mail panel
    componentsPanel.add(descrLabel, BorderLayout.NORTH);
    componentsPanel.add(new WarningScrollTable(connTab, WARNING_STATIONS), BorderLayout.CENTER);
    hBox.add(componentsPanel);
    hBox.add(Box.createHorizontalStrut(20));
    this.setLayout(new GridLayout(1, 1));
    this.add(vBox);
  }
View Full Code Here

  private void initComponents() {
    refSourceTable = new RefSourceTable();
    setLayout(new BorderLayout());
    //setBorder(new TitledBorder(new EtchedBorder(), "Reference Stations"));
    warning = new WarningScrollTable(refSourceTable, WARNING_CLASS_STATION);
    warning.addCheckVector(classData.getClassKeys());
    warning.addCheckVector(stationData.getStationKeys());
    add(warning, BorderLayout.CENTER);
  }
View Full Code Here

TOP

Related Classes of jmt.gui.common.panels.WarningScrollTable

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.