Package net.java.sip.communicator.service.history.event

Examples of net.java.sip.communicator.service.history.event.ProgressEvent


        }

        private void fireProgress(int origProgress, int maxVal,
            Date startDate, Date endDate, String[] keywords)
        {
            ProgressEvent ev = new ProgressEvent(
                MetaHistoryServiceImpl.this,
                startDate,
                endDate,
                keywords);

            double part1 = (double)origProgress/
                ((double)maxVal*count);
            double convProgress =
                part1*HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE +
                ix*HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE/count;

            ev.setProgress((int)convProgress);

            fireEvent(ev);
        }
View Full Code Here


        }

        public void fireLastProgress(
            Date startDate, Date endDate, String[] keywords)
        {
            ProgressEvent ev = new ProgressEvent(
                MetaHistoryServiceImpl.this,
                startDate,
                endDate,
                keywords);
            ev.setProgress(HistorySearchProgressListener.PROGRESS_MAXIMUM_VALUE);

            fireEvent(ev);
        }
View Full Code Here

TOP

Related Classes of net.java.sip.communicator.service.history.event.ProgressEvent

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.