}
/**
+ * Refresh HScroll Current Time
+ *
+ * @param currentPointTime
+ */
+ public void refreshHCurrentScroll (int currentPointTime) {
+ TimeBar timeBar = contentHeaderContainer.getKeyframeHeader().getTimeBar();
+ ScrollBar hScroll = contentToolsContainer.gethScroll();
+
+ int startTime = timeBar.getStartTime();
+ Point timeBarSize = timeBar.getSize();
+ double scale = timeBar.getScale();
+ int lastTime = (int) (timeBarSize.x * TimelineConstants.DEFAULT_TIME_INTERVAL / scale);
+ int fullTime = startTime + lastTime;
+
+ if(fullTime - 30 <= currentPointTime) {
+
+ int lastTimeSel = hScroll.getSelection() + 1;
+ hScroll.setSelection(lastTimeSel);
+
+ // start Time
+ startTime += lastTime - 30;
+
+ timeBar.setStartTime(startTime);
+ timeBar.redraw();
+
+ // loop setting timeElement
+ refeshTimeline();
+ }
+ }
+
+ /**
* Show tree item set vertical scroll origin
*
* @param item