Package ArrayWithGrid

Examples of ArrayWithGrid.Helicopter


        // Explicitly call the superclass constructor to prevent the implicit call
        super();
        this.initialize();
        this.setHeliList(new Array_Of_Helicopter<Helicopter>());

        Helicopter aHeli = new Helicopter();
        aHeli.setMake("Robinson");
        aHeli.setModel("R22");
        aHeli.setBlades(2);
        aHeli.getEngine().setPower(240f);
        aHeli.getEngine().setCylinders(4);
        aHeli.getEngine().setCapacity(240f);
        aHeli.getEngine().setCompany("Lycoming");
        this.getHeliList().add(aHeli);

        aHeli = new Helicopter();
        aHeli.setMake("Robinson");
        aHeli.setModel("R44");
        aHeli.setBlades(2);
        aHeli.getEngine().setPower(360f);
        aHeli.getEngine().setCylinders(6);
        aHeli.getEngine().setCapacity(540f);
        aHeli.getEngine().setCompany("Lycoming");
        this.getHeliList().add(aHeli);

        this.setWishList(new Array_Of_Helicopter<Helicopter>());

        this.setHeliListWithButton(this.getHeliList());
View Full Code Here

TOP

Related Classes of ArrayWithGrid.Helicopter

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.