Package Pedidos

Examples of Pedidos.Platillo


    }

    public void agregarPedido (ArrayList<Platillo> platillosDeOrden) {
        //ServicioDeImpresion
        for (int i = 0; i < platillosDeOrden.size(); i++) {
            Platillo platillo = platillosDeOrden.get(i);
            //TODO mandar a imprimir
        }
        Comanda orden;
        orden = new Comanda();
        orden.setPlatillos(platillosDeOrden);
View Full Code Here


            //    jScrollPane1.add(panelPlatillo);
            panelPlatillo.addMouseListener(new MouseAdapter() {
                @Override
                public void mouseClicked(MouseEvent e) {
                    PnlPlatillo panel = (PnlPlatillo) e.getComponent();
                    platilloSeleccionado = new Platillo();
                    platilloSeleccionado.setNombrePlatillo(panel.getNombrePlatillo());
                    platilloSeleccionado.setPrecio(panel.getPrecio());
                    platilloSeleccionado.setIva(panel.getIva());
                    platilloSeleccionado.setCategoria(panel.getCategoria());
View Full Code Here

    private void btnAgregarMeserosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAgregarMeserosActionPerformed
// TODO agregar meseros
    }//GEN-LAST:event_btnAgregarMeserosActionPerformed

    private void btnAgregarPlatillosActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAgregarPlatillosActionPerformed
        Platillo platillo = new Platillo();
       
        administrador.AgregarNuevoPlatillo(platillo);
    }//GEN-LAST:event_btnAgregarPlatillosActionPerformed
View Full Code Here

TOP

Related Classes of Pedidos.Platillo

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.