Package com.rakaiz.tailorbills.model.thoub

Examples of com.rakaiz.tailorbills.model.thoub.ThoubSpecification


    setColumnsNames(new String[] { "ID", "Count", "Fabric", "Notes" });
  }

  @Override
  public Object getValueAt(int rowIndex, int columnIndex) {
    ThoubSpecification specification = (ThoubSpecification) data
        .get(rowIndex);
    switch (columnIndex) {
    case 0:

      return specification.getId();
    case 1:
      return specification.getCount();
    case 2:
      return specification.getFabric();
    case 3:
      return specification.getNotes();
    default:
      return null;
    }
  }
View Full Code Here


    }

    @Override
    protected DBObject createDBObject() {
  return new ThoubSpecification();
    }
View Full Code Here

    }

    @Override
    public void setDBObject(DBObject dbObject) {
  super.setDBObject(dbObject);
  ThoubSpecification spic = (ThoubSpecification) dbObject;
  this.collarPanel.setSelectedSpic(spic.getCollar());
  this.collarPanel.setSelectedThikness(spic.getCollarType());
 
  this.sleevsPanel.setSelectedSpic(spic.getSleev());
  this.chestPanel.setSelectedSpic(spic.getChest());
  this.frontBagPanel.setSelectedSpic(spic.getFrontBag());
  this.thoubCountAndFabric.setCount(spic.getCount());
  this.thoubCountAndFabric.setSelectedFabric(spic.getFabric());
  this.typePanel.setSelectedSpic(spic.getThoubType());
  this.typePanel.setSelectedSpic1(spic.getThoubType1());
    }
View Full Code Here

TOP

Related Classes of com.rakaiz.tailorbills.model.thoub.ThoubSpecification

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.