Package beans.report.selectors.disease

Examples of beans.report.selectors.disease.DiseaseLine


}//GEN-LAST:event_lineListValueChanged

private void addLineButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addLineButtonActionPerformed

    if (table != null){
      DiseaseLine      line = new DiseaseLine();
      line.setLineTitle("Ноавя линия (" + (lineCount++) + ")");
      int      idx = lineList.getSelectedIndex();
      if (idx >= 0) {
        idx++;
      }
      if (table.getLines().size() < idx){
View Full Code Here


      for (int i = 0; i < sorted.length; i++) {
        int id = sorted[i];
        if (id > limit && id < lineListModel.getSize()){
          resould = true;
          if (aply){
            DiseaseLine    tmp = lines.get(id - 1);
            lines.set(id - 1, lines.get(id));
            lines.set(id, tmp);
          }
        }
        else{
          limit = id + 1;
        }
      }
    }
    else{
      limit = lineListModel.getSize() - 1;
      for (int i = sorted.length - 1; i >= 0; i--) {
        int id = sorted[i];
        if (id >= 0 && id < limit){
          resould = true;
          if (aply){
            DiseaseLine    tmp = lines.get(id + 1);
            lines.set(id + 1, lines.get(id));
            lines.set(id, tmp);
          }
        }
        else{
View Full Code Here

TOP

Related Classes of beans.report.selectors.disease.DiseaseLine

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.