Пример #1
0
 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());
 }
Пример #2
0
    private void _resolveOverflowStart(int index) {
      assert _stations != null;
      assert index >= 0;
      assert index < _stations.size();

      Station station = _stations.get(index);
      station.setOverflowStart(true);
      if (station.hasNext() && station.getNext().isDisabled()) {
        // If next stop is disabled, so is the overflow
        station.setDisabled(true);
      }

      station.setPrevious(null);
    }