Examples of DiscountManager


Examples of sg.edu.nus.iss.se07.bc.DiscountManager

  private TextField txtPeriod;
  private TextField txtDiscPercentage;
 
  public ViewDiscountDetailDialog(Frame parent, String title,String discCd) {
    super(parent, title,new Dimension(400,400));
    this.discountManager = new DiscountManager();
    this.discount=discountManager.getSelectedDiscount(discCd);
   
    WindowListener l = new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        dispose();
View Full Code Here

Examples of sg.edu.nus.iss.se07.bc.DiscountManager

 
  public ViewDiscountPanel(){
    setLayout(new BorderLayout(10,20));

    Label lblDiscount=new Label("List of Discounts       \t\t\t\t    ");
    discountManager = new DiscountManager();
    discounts = discountManager.getDiscounts();
    lstDiscount=new java.awt.List(10);
    lstDiscount.setMultipleMode(false);
   
   
View Full Code Here

Examples of sg.edu.nus.iss.se07.bc.DiscountManager

    save();
    return false;
  }
 
  private void save(){
    discountManager = new DiscountManager();
    String discCd = txtDiscountCode.getText();
    String description = txtDescription.getText();
    String startDt = txtStartDate.getText();
    String period = txtPeriod.getText();
    String discPercentage = txtDiscPercentage.getText();
View Full Code Here

Examples of sg.edu.nus.iss.se07.bc.DiscountManager

      return false;
    }
  }
 
  private void save(){
    discountManager = new DiscountManager();
    String discCd = txtDiscountCode.getText();
    String description = txtDescription.getText();
    String startDt = txtStartDate.getText();
    String period = txtPeriod.getText();
    String discPercentage = txtDiscPercentage.getText();
View Full Code Here

Examples of sg.edu.nus.iss.se07.bc.DiscountManager

  private TextField txtPeriod;
  private TextField txtDiscPercentage;
 
  public ViewDiscountDetailDialog(Frame parent, String title,String discCd) {
    super(parent, title,new Dimension(400,400));
    this.discountManager = new DiscountManager();
    this.discount=discountManager.getSelectedDiscount(discCd);
   
    WindowListener l = new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
        dispose();
View Full Code Here

Examples of sg.edu.nus.iss.se07.bc.DiscountManager

 
  public ViewDiscountPanel(){
    setLayout(new BorderLayout(10,20));

    Label lblDiscount=new Label("List of Discounts       \t\t\t\t    ");
    discountManager = new DiscountManager();
    discounts = discountManager.getDiscounts();
    lstDiscount=new java.awt.List(10);
    lstDiscount.setMultipleMode(false);
   
   
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.