/** * This method returns the maximum value in pixels that the time line can be moved to the left * before reaching the (begTime) time position p = the process whose time line is to be moved */ int getMaxDiff(StateGroup group) { if (group.size() > 0) { StateInterval state = (StateInterval) group.firstElement(); // return getEvtXCord (state.info.begT - 0.0); return getEvtXCord(state.info.begT - FrameBegTime); } return 0; }