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();