private void _renderStationIconRtl( FacesContext context, RenderingContext arc, UIXProcess process, Station station) throws IOException { _renderStationIcon( context, arc, process, station, station.getEndJoinState(), station.getStartJoinState(), station.hasNext() && station.getNext().isOverflowEnd(), station.hasPrevious() && station.getPrevious().isOverflowStart()); }
private void _resolveOverflowEnd(int index) { assert _stations != null; assert index >= 0; assert index < _stations.size(); Station station = _stations.get(index); station.setOverflowEnd(true); if (station.hasPrevious() && station.getPrevious().isDisabled()) { // If previous stop is disabled, so is the overflow station.setDisabled(true); } station.setNext(null); }