Package inexp.extjsexam.model

Examples of inexp.extjsexam.model.CarModel


    public void fillTableWithData()
    {
        CarModel[] cars = extJSDoc.getDataModel().getCarModelList();
        for(int i = 0; i < cars.length; i++)
        {
            CarModel car = cars[i];
            addRow(car);
        }
    }
View Full Code Here


        }
    }

    public void updateName(String name,Object modelObj)
    {
        CarModel car = (CarModel)modelObj;
        car.setName(name);
        extJSDoc.getDataModel().updateCarModel(car);
    }
View Full Code Here

        extJSDoc.getDataModel().updateCarModel(car);
    }

    public void updateDescription(String desc,Object modelObj)
    {
        CarModel car = (CarModel)modelObj;
        car.setDescription(desc);
        extJSDoc.getDataModel().updateCarModel(car);
    }
View Full Code Here

        extJSDoc.getDataModel().updateCarModel(car);
    }

    public void addNewItem(String name,String desc)
    {
        CarModel car = new CarModel(name,desc);
        getDataModel().addCarModel(car);

        addRow(car);
    }
View Full Code Here

TOP

Related Classes of inexp.extjsexam.model.CarModel

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.