コード例 #1
0
  public boolean removeStationContainer(CStationContainer container) {
    if (containers.remove(container)) {
      container.removeStationContainerListener(containerListener);

      for (int i = 0, n = container.getStationCount(); i < n; i++) {
        control.removeStation(container.getStation(i));
      }
      return true;
    }
    return false;
  }
コード例 #2
0
 public void removed(CStationContainer source, CStation<?> station) {
   control.removeStation(station);
 }