Package org.rhq.enterprise.gui.legacy.beans

Examples of org.rhq.enterprise.gui.legacy.beans.TimelineBean


        EventSeverity[] eventsCounts = new EventSeverity[numberOfBuckets]; // dummy event counts, all nulls, for BZ 610791

        data = new ArrayList<TimelineBean>();
        long interval = TimeUtil.getInterval(begin, end, numberOfBuckets);
        for (int i = 0; i < numberOfBuckets; i++) {
            TimelineBean bean = new TimelineBean(begin + (interval * i), eventsCounts[i]);
            data.add(bean);
        }

        return;
    }
View Full Code Here


        // Create the time intervals beans
        TimelineBean[] beans = new TimelineBean[intervals.length];
        long interval = TimeUtil.getInterval(begin, end, DefaultConstants.DEFAULT_CHART_POINTS);
        for (int i = 0; i < intervals.length; i++) {
            beans[i] = new TimelineBean(begin + (interval * i), eventsCounts[i]);
        }

        request.setAttribute(AttrConstants.TIME_INTERVALS_ATTR, beans);

        return null;
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.gui.legacy.beans.TimelineBean

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.