Package br.com.aeroboteco.model

Examples of br.com.aeroboteco.model.Evento


        pv.getLog().add(evento);
        carrega();
        fireTableDataChanged();
    }
    public void addEvento(String evento){
        pv.getLog().add(new Evento(evento));
        carrega();
        fireTableDataChanged();
    }
View Full Code Here


        DecimalFormat df = new DecimalFormat("0.00");
        jtxtDepArr.setText(pv.getDep() + "~" + pv.getArr());
        jtxtDistancia.setText(df.format(uipc.arredondar(Geo.getKmEmNm(Geo.getDistancia(this.coordDep[0], this.coordDep[1], this.coordArr[0], this.coordArr[1])))).replaceAll(",", ".")+"nm");

        logTM.addEvento(new Evento("","PV enviado: " + pv.getBto() + " " + pv.getDep() + "/" + pv.getArr()));
        logTM.addEvento(new Evento("","Aircraft Type: " + pv.getAcft()));
       
        //if (pv.getTour() != 0) {
        //    logTM.addEvento(new Evento("","Route: " + pv.getRoute() + " TOUR/"+pv.getTour()));
        //}else{
        //    logTM.addEvento(new Evento("","Route: " + pv.getRoute()));
        //}
        logTM.addEvento(new Evento("","Tour: "+pv.getTour()));
        logTM.addEvento(new Evento("","Route: " + pv.getRoute()));
        logTM.addEvento(new Evento("","BtoAcars v"+java.util.ResourceBundle.getBundle("br.com.aeroboteco.model.BtoProp").getString("versao").toString()));


        jbParar.setEnabled(true);
        jbEnviar.setEnabled(false);
        jbSalvar.setEnabled(false);
View Full Code Here

TOP

Related Classes of br.com.aeroboteco.model.Evento

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.