Package ehistory.web.flex.model

Examples of ehistory.web.flex.model.FlexTicks


    public FlexResponse process(ClientBean clientBean, FlexRequest request) {
        FlexResponse response = new FlexResponse();

        if (request.getTimeDelta() != null || request.getTimeZoom() != null || request.getWidthChanged() != null) {
            FlexTicks ticks = new FlexTicks();
            TimeBean timeBean = clientBean.getTimeBean();
            if (request.getTimeDelta() != null) {
                timeBean.move(request.getTimeDelta());
            }
            if (request.getTimeZoom() != null) {
                timeBean.zoom(request.getTimeZoom());
            }
            if (request.getWidthChanged() != null) {
                timeBean.setWidth(request.getWidthChanged());
            }
            ticks.setTicks(timeBean.getTicks());
            ticks.setTickTitles(timeBean.getTickTitles());
            response.setTicks(ticks);

//            FlexEvents events = new FlexEvents();
//            EventsBean eventsBean = clientBean.getEventsBean();
//            eventsBean.refresh();
View Full Code Here

TOP

Related Classes of ehistory.web.flex.model.FlexTicks

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.