jmri.jmrit.operations.rollingstock.cars
Class Kernel

java.lang.Object
  extended by jmri.jmrit.operations.rollingstock.RollingStockGroup
      extended by jmri.jmrit.operations.rollingstock.cars.Kernel

public class Kernel
extends RollingStockGroup

A Kernel is a group of cars that is managed as one car.

Author:
Daniel Boudreau Copyright (C) 2008, 2010

Field Summary
 
Fields inherited from class jmri.jmrit.operations.rollingstock.RollingStockGroup
_group, _lead, _name
 
Constructor Summary
Kernel(String name)
           
 
Method Summary
 void dispose()
           
 List<Car> getCars()
           
 
Methods inherited from class jmri.jmrit.operations.rollingstock.RollingStockGroup
add, addPropertyChangeListener, delete, firePropertyChange, getAdjustedWeightTons, getGroup, getLength, getName, getSize, isLead, removePropertyChangeListener, setLead, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Kernel

public Kernel(String name)
Method Detail

getCars

public List<Car> getCars()

dispose

public void dispose()
Overrides:
dispose in class RollingStockGroup


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads