Class Car
- java.lang.Object
-
- jmri.beans.PropertyChangeSupport
-
- jmri.jmrit.operations.rollingstock.RollingStock
-
- jmri.jmrit.operations.rollingstock.cars.Car
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener,java.util.EventListener,Identifiable,PropertyChangeFirer,PropertyChangeProvider
public class Car extends RollingStock
Represents a car on the layout
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean_cabooseprotected Location_finalDestinationprotected Track_finalDestTrackprotected boolean_fredprotected boolean_hazardousprotected Kernel_kernelprotected boolean_loadGeneratedByStagingprotected java.lang.String_loadNameprotected java.lang.String_nextLoadNameprotected boolean_passengerprotected java.lang.String_pickupScheduleIdprotected Location_previousFinalDestinationprotected Track_previousFinalDestTrackprotected java.lang.String_previousScheduleIdprotected java.lang.String_routePathprotected Location_rweDestinationprotected Track_rweDestTrackprotected java.lang.String_rweLoadNameprotected Location_rwlDestinationprotected Track_rwlDestTrackprotected java.lang.String_rwlLoadNameprotected java.lang.String_scheduleIdprotected boolean_utilityprotected int_waitstatic java.lang.StringCABOOSE_EXTENSION(package private) CarLoadscarLoadsstatic java.lang.StringCLONEstatic java.lang.StringCLONE_REGEXstatic java.lang.StringEXTENSION_REGEXstatic java.lang.StringFINAL_DESTINATION_CHANGED_PROPERTYstatic java.lang.StringFINAL_DESTINATION_TRACK_CHANGED_PROPERTYstatic java.lang.StringFRED_EXTENSIONstatic java.lang.StringHAZARDOUS_EXTENSIONstatic java.lang.StringKERNEL_NAME_CHANGED_PROPERTYstatic java.lang.StringLOAD_CHANGED_PROPERTYstatic java.lang.StringPASSENGER_EXTENSIONstatic java.lang.StringRETURN_WHEN_EMPTY_CHANGED_PROPERTYstatic java.lang.StringRETURN_WHEN_LOADED_CHANGED_PROPERTYstatic java.lang.StringRWE_LOAD_CHANGED_PROPERTYstatic java.lang.StringRWL_LOAD_CHANGED_PROPERTYstatic java.lang.StringSCHEDULE_ID_CHANGED_PROPERTYstatic java.lang.StringUTILITY_EXTENSIONstatic java.lang.StringWAIT_CHANGED_PROPERTY-
Fields inherited from class jmri.jmrit.operations.rollingstock.RollingStock
_blocking, _built, _clone, _cloneOrder, _color, _comment, _destination, _division, _id, _lastDate, _lastLocationId, _lastTrackId, _lastTrain, _length, _lengthChange, _location, _locationUnknown, _moves, _number, _outOfService, _owner, _pickupTime, _rfid, _road, _routeDestination, _routeId, _routeLocation, _selected, _setoutTime, _tag, _tagListener, _track, _trackDestination, _train, _type, _value, _weight, _weightTons, _whenLastSeen, _whereLastSeen, COMMENT_CHANGED_PROPERTY, COUPLERS, DEFAULT_BLOCKING_ORDER, DEFAULT_WEIGHT, DESTINATION_TRACK_CHANGED_PROPERTY, ERROR_TRACK, FORCE, LENGTH_CHANGED_PROPERTY, LOCATION_UNKNOWN, MAX_BLOCKING_ORDER, NONE, number, ROUTE_DESTINATION_CHANGED_PROPERTY, ROUTE_LOCATION_CHANGED_PROPERTY, TRACK_CHANGED_PROPERTY, TRAIN_CHANGED_PROPERTY, TYPE_CHANGED_PROPERTY
-
Fields inherited from class jmri.beans.PropertyChangeSupport
propertyChangeSupport
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcheckDestination(Location destination, Track track)Used to determine if a car can be set out at a destination (location).Carcopy()voiddispose()Remove rolling stock.intgetAdjustedWeightTons()Returns a car's weight adjusted for load.java.lang.StringgetDropComment()LocationgetFinalDestination()java.lang.StringgetFinalDestinationName()TrackgetFinalDestinationTrack()java.lang.StringgetFinalDestinationTrackName()KernelgetKernel()java.lang.StringgetKernelName()java.lang.StringgetLoadName()The load name assigned to this car.java.lang.StringgetLoadPriority()Gets the car's load's priority.java.lang.StringgetLoadType()Gets the car load's type, empty or load.java.lang.StringgetNextLoadName()java.lang.StringgetPickupComment()java.lang.StringgetPickupScheduleId()java.lang.StringgetPickupScheduleName()LocationgetPreviousFinalDestination()java.lang.StringgetPreviousFinalDestinationName()TrackgetPreviousFinalDestinationTrack()java.lang.StringgetPreviousFinalDestinationTrackName()java.lang.StringgetPreviousScheduleId()LocationgetReturnWhenEmptyDestination()java.lang.StringgetReturnWhenEmptyDestinationName()TrackgetReturnWhenEmptyDestTrack()java.lang.StringgetReturnWhenEmptyDestTrackName()java.lang.StringgetReturnWhenEmptyLoadName()LocationgetReturnWhenLoadedDestination()java.lang.StringgetReturnWhenLoadedDestinationName()TrackgetReturnWhenLoadedDestTrack()java.lang.StringgetReturnWhenLoadedDestTrackName()java.lang.StringgetReturnWhenLoadedLoadName()java.lang.StringgetRoutePath()ScheduleItemgetScheduleItem(Track track)java.lang.StringgetScheduleItemId()java.lang.StringgetSplitFinalDestinationName()java.lang.StringgetSplitFinalDestinationTrackName()java.lang.StringgetSplitReturnWhenEmptyDestinationName()java.lang.StringgetSplitReturnWhenEmptyDestinationTrackName()intgetTotalKernelLength()Returns the car length or the length of the car's kernel including couplers.java.lang.StringgetTypeExtensions()intgetWait()java.lang.StringgetWeightTons()booleanhasFred()Used to determine if car has FRED (Flashing Rear End Device).booleanisCaboose()booleanisCarHazardous()booleanisCarLoadHazardous()booleanisHazardous()Used to determine if the car is hazardous or the car's load is hazardous.booleanisLead()Used to determine if car is lead car in a kernelbooleanisLoadGeneratedFromStaging()booleanisLocalMove()Used to determine if car is performing a local move.booleanisPassenger()protected booleanisRwlEnabled()Used to determine is car has been given a Return When Loaded (RWL) address or custom loadbooleanisUtility()voidloadNext(ScheduleItem scheduleItem)Called when setting a car's destination to this spur.voidloadNext(Track track)Called when car is delivered to track.voidpropertyChange(java.beans.PropertyChangeEvent e)voidreset()voidsetCaboose(boolean caboose)voidsetCarHazardous(boolean hazardous)java.lang.StringsetDestination(Location destination, Track track)Sets the car's destination on the layoutjava.lang.StringsetDestination(Location destination, Track track, boolean force)Sets the car's destination on the layoutprotected voidsetDirtyAndFirePropertyChange(java.lang.String p, java.lang.Object old, java.lang.Object n)voidsetFinalDestination(Location destination)Sets the final destination for a car.voidsetFinalDestinationTrack(Track track)voidsetFred(boolean fred)voidsetKernel(Kernel kernel)A kernel is a group of cars that are switched as a unit.voidsetLoadGeneratedFromStaging(boolean fromStaging)voidsetLoadName(java.lang.String load)voidsetNextLoadName(java.lang.String load)Only here for backwards compatibility before version 5.1.4.voidsetPassenger(boolean passenger)voidsetPickupScheduleId(java.lang.String id)Sets when this car will be picked up (day of the week)voidsetPreviousFinalDestination(Location location)voidsetPreviousFinalDestinationTrack(Track track)voidsetPreviousScheduleId(java.lang.String id)voidsetReturnWhenEmptyDestination(Location destination)voidsetReturnWhenEmptyDestTrack(Track track)voidsetReturnWhenEmptyLoadName(java.lang.String load)voidsetReturnWhenLoadedDestination(Location destination)voidsetReturnWhenLoadedDestTrack(Track track)voidsetReturnWhenLoadedLoadName(java.lang.String load)voidsetRoutePath(java.lang.String routePath)voidsetScheduleItemId(java.lang.String id)Used to keep track of which item in a schedule was used for this car.voidsetUtility(boolean utility)voidsetWait(int count)org.jdom2.Elementstore()Create an XML element to represent this Entry.voidupdateKernel()Updates all cars in a kernel.voidupdateLoad(Track track)Updates a car's load when placed at a spur.-
Methods inherited from class jmri.jmrit.operations.rollingstock.RollingStock
createId, getBlocking, getBuilt, getCloneOrder, getColor, getComment, getDestination, getDestinationId, getDestinationName, getDestinationTrack, getDestinationTrackId, getDestinationTrackName, getDivision, getDivisionId, getDivisionName, getId, getIdTag, getLastDate, getLastLocationId, getLastLocationName, getLastMoveDate, getLastRouteId, getLastTrackId, getLastTrackName, getLastTrain, getLastTrainName, getLength, getLengthInteger, getLocation, getLocationId, getLocationName, getMoves, getNumber, getOwnerName, getPickupTime, getRfid, getRoadName, getRouteDestination, getRouteDestinationId, getRouteLocation, getRouteLocationId, getSetoutTime, getSortDate, getSplitDestinationName, getSplitDestinationTrackName, getSplitLocationName, getSplitTrackName, getStatus, getTotalLength, getTrack, getTrackId, getTrackLastSeen, getTrackLastSeenName, getTrackName, getTrackType, getTrain, getTrainName, getTypeName, getValue, getWeight, getWhenLastSeen, getWhenLastSeenDate, getWhereLastSeen, getWhereLastSeenName, isClone, isLocationUnknown, isOutOfService, isSelected, moveRollingStock, setBlocking, setBuilt, setClone, setCloneOrder, setColor, setComment, setDestination, setDestinationTrack, setDivision, setIdTag, setLastDate, setLastDate, setLastLocationId, setLastRouteId, setLastTrackId, setLastTrain, setLength, setLocation, setLocation, setLocationUnknown, setMoves, setNumber, setOutOfService, setOwnerName, setPickupTime, setRfid, setRoadName, setRouteDestination, setRouteLocation, setSelected, setSetoutTime, setTrack, setTrain, setTypeName, setValue, setWeight, setWeightTons, store, testLocation, toString
-
Methods inherited from class jmri.beans.PropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Field Detail
-
_passenger
protected boolean _passenger
-
_hazardous
protected boolean _hazardous
-
_caboose
protected boolean _caboose
-
_fred
protected boolean _fred
-
_utility
protected boolean _utility
-
_loadGeneratedByStaging
protected boolean _loadGeneratedByStaging
-
_loadName
protected java.lang.String _loadName
-
_wait
protected int _wait
-
_rweDestination
protected Location _rweDestination
-
_rweDestTrack
protected Track _rweDestTrack
-
_rweLoadName
protected java.lang.String _rweLoadName
-
_rwlDestination
protected Location _rwlDestination
-
_rwlDestTrack
protected Track _rwlDestTrack
-
_rwlLoadName
protected java.lang.String _rwlLoadName
-
_scheduleId
protected java.lang.String _scheduleId
-
_nextLoadName
protected java.lang.String _nextLoadName
-
_finalDestination
protected Location _finalDestination
-
_finalDestTrack
protected Track _finalDestTrack
-
_previousFinalDestination
protected Location _previousFinalDestination
-
_previousFinalDestTrack
protected Track _previousFinalDestTrack
-
_previousScheduleId
protected java.lang.String _previousScheduleId
-
_pickupScheduleId
protected java.lang.String _pickupScheduleId
-
_routePath
protected java.lang.String _routePath
-
EXTENSION_REGEX
public static final java.lang.String EXTENSION_REGEX
- See Also:
- Constant Field Values
-
CABOOSE_EXTENSION
public static final java.lang.String CABOOSE_EXTENSION
-
FRED_EXTENSION
public static final java.lang.String FRED_EXTENSION
-
PASSENGER_EXTENSION
public static final java.lang.String PASSENGER_EXTENSION
-
UTILITY_EXTENSION
public static final java.lang.String UTILITY_EXTENSION
-
HAZARDOUS_EXTENSION
public static final java.lang.String HAZARDOUS_EXTENSION
-
CLONE
public static final java.lang.String CLONE
- See Also:
- Constant Field Values
-
CLONE_REGEX
public static final java.lang.String CLONE_REGEX
- See Also:
- Constant Field Values
-
LOAD_CHANGED_PROPERTY
public static final java.lang.String LOAD_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
RWE_LOAD_CHANGED_PROPERTY
public static final java.lang.String RWE_LOAD_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
RWL_LOAD_CHANGED_PROPERTY
public static final java.lang.String RWL_LOAD_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
WAIT_CHANGED_PROPERTY
public static final java.lang.String WAIT_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
FINAL_DESTINATION_CHANGED_PROPERTY
public static final java.lang.String FINAL_DESTINATION_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
FINAL_DESTINATION_TRACK_CHANGED_PROPERTY
public static final java.lang.String FINAL_DESTINATION_TRACK_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
RETURN_WHEN_EMPTY_CHANGED_PROPERTY
public static final java.lang.String RETURN_WHEN_EMPTY_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
RETURN_WHEN_LOADED_CHANGED_PROPERTY
public static final java.lang.String RETURN_WHEN_LOADED_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
SCHEDULE_ID_CHANGED_PROPERTY
public static final java.lang.String SCHEDULE_ID_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
KERNEL_NAME_CHANGED_PROPERTY
public static final java.lang.String KERNEL_NAME_CHANGED_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
setCarHazardous
public void setCarHazardous(boolean hazardous)
-
isCarHazardous
public boolean isCarHazardous()
-
isCarLoadHazardous
public boolean isCarLoadHazardous()
-
isHazardous
public boolean isHazardous()
Used to determine if the car is hazardous or the car's load is hazardous.- Returns:
- true if the car or car's load is hazardous.
-
setPassenger
public void setPassenger(boolean passenger)
-
isPassenger
public boolean isPassenger()
-
setFred
public void setFred(boolean fred)
-
hasFred
public boolean hasFred()
Used to determine if car has FRED (Flashing Rear End Device).- Returns:
- true if car has FRED.
-
setLoadName
public void setLoadName(java.lang.String load)
-
getLoadName
public java.lang.String getLoadName()
The load name assigned to this car.- Returns:
- The load name assigned to this car.
-
setReturnWhenEmptyLoadName
public void setReturnWhenEmptyLoadName(java.lang.String load)
-
getReturnWhenEmptyLoadName
public java.lang.String getReturnWhenEmptyLoadName()
-
setReturnWhenLoadedLoadName
public void setReturnWhenLoadedLoadName(java.lang.String load)
-
getReturnWhenLoadedLoadName
public java.lang.String getReturnWhenLoadedLoadName()
-
getLoadPriority
public java.lang.String getLoadPriority()
Gets the car's load's priority.- Returns:
- The car's load priority.
-
getLoadType
public java.lang.String getLoadType()
Gets the car load's type, empty or load.- Returns:
- type empty or type load
-
getPickupComment
public java.lang.String getPickupComment()
-
getDropComment
public java.lang.String getDropComment()
-
setLoadGeneratedFromStaging
public void setLoadGeneratedFromStaging(boolean fromStaging)
-
isLoadGeneratedFromStaging
public boolean isLoadGeneratedFromStaging()
-
setScheduleItemId
public void setScheduleItemId(java.lang.String id)
Used to keep track of which item in a schedule was used for this car.- Parameters:
id- The ScheduleItem id for this car.
-
getScheduleItemId
public java.lang.String getScheduleItemId()
-
getScheduleItem
public ScheduleItem getScheduleItem(Track track)
-
setNextLoadName
public void setNextLoadName(java.lang.String load)
Only here for backwards compatibility before version 5.1.4. The next load name for this car. Normally set by a schedule.- Parameters:
load- the next load name.
-
getNextLoadName
public java.lang.String getNextLoadName()
-
getWeightTons
public java.lang.String getWeightTons()
- Overrides:
getWeightTonsin classRollingStock
-
getAdjustedWeightTons
public int getAdjustedWeightTons()
Returns a car's weight adjusted for load. An empty car's weight is 1/3 the car's loaded weight.- Overrides:
getAdjustedWeightTonsin classRollingStock
-
setWait
public void setWait(int count)
-
getWait
public int getWait()
-
setPickupScheduleId
public void setPickupScheduleId(java.lang.String id)
Sets when this car will be picked up (day of the week)- Parameters:
id- See TrainSchedule.java
-
getPickupScheduleId
public java.lang.String getPickupScheduleId()
-
getPickupScheduleName
public java.lang.String getPickupScheduleName()
-
setFinalDestination
public void setFinalDestination(Location destination)
Sets the final destination for a car.- Parameters:
destination- The final destination for this car.
-
getFinalDestination
public Location getFinalDestination()
-
getFinalDestinationName
public java.lang.String getFinalDestinationName()
-
getSplitFinalDestinationName
public java.lang.String getSplitFinalDestinationName()
-
setFinalDestinationTrack
public void setFinalDestinationTrack(Track track)
-
getFinalDestinationTrack
public Track getFinalDestinationTrack()
-
getFinalDestinationTrackName
public java.lang.String getFinalDestinationTrackName()
-
getSplitFinalDestinationTrackName
public java.lang.String getSplitFinalDestinationTrackName()
-
setPreviousFinalDestination
public void setPreviousFinalDestination(Location location)
-
getPreviousFinalDestination
public Location getPreviousFinalDestination()
-
getPreviousFinalDestinationName
public java.lang.String getPreviousFinalDestinationName()
-
setPreviousFinalDestinationTrack
public void setPreviousFinalDestinationTrack(Track track)
-
getPreviousFinalDestinationTrack
public Track getPreviousFinalDestinationTrack()
-
getPreviousFinalDestinationTrackName
public java.lang.String getPreviousFinalDestinationTrackName()
-
setPreviousScheduleId
public void setPreviousScheduleId(java.lang.String id)
-
getPreviousScheduleId
public java.lang.String getPreviousScheduleId()
-
setReturnWhenEmptyDestination
public void setReturnWhenEmptyDestination(Location destination)
-
getReturnWhenEmptyDestination
public Location getReturnWhenEmptyDestination()
-
getReturnWhenEmptyDestinationName
public java.lang.String getReturnWhenEmptyDestinationName()
-
getSplitReturnWhenEmptyDestinationName
public java.lang.String getSplitReturnWhenEmptyDestinationName()
-
setReturnWhenEmptyDestTrack
public void setReturnWhenEmptyDestTrack(Track track)
-
getReturnWhenEmptyDestTrack
public Track getReturnWhenEmptyDestTrack()
-
getReturnWhenEmptyDestTrackName
public java.lang.String getReturnWhenEmptyDestTrackName()
-
getSplitReturnWhenEmptyDestinationTrackName
public java.lang.String getSplitReturnWhenEmptyDestinationTrackName()
-
setReturnWhenLoadedDestination
public void setReturnWhenLoadedDestination(Location destination)
-
getReturnWhenLoadedDestination
public Location getReturnWhenLoadedDestination()
-
getReturnWhenLoadedDestinationName
public java.lang.String getReturnWhenLoadedDestinationName()
-
setReturnWhenLoadedDestTrack
public void setReturnWhenLoadedDestTrack(Track track)
-
getReturnWhenLoadedDestTrack
public Track getReturnWhenLoadedDestTrack()
-
getReturnWhenLoadedDestTrackName
public java.lang.String getReturnWhenLoadedDestTrackName()
-
isRwlEnabled
protected boolean isRwlEnabled()
Used to determine is car has been given a Return When Loaded (RWL) address or custom load- Returns:
- true if car has RWL
-
setRoutePath
public void setRoutePath(java.lang.String routePath)
-
getRoutePath
public java.lang.String getRoutePath()
-
setCaboose
public void setCaboose(boolean caboose)
-
isCaboose
public boolean isCaboose()
-
setUtility
public void setUtility(boolean utility)
-
isUtility
public boolean isUtility()
-
isLocalMove
public boolean isLocalMove()
Used to determine if car is performing a local move. A local move is when a car is moved to a different track at the same location.- Returns:
- true if local move
-
setKernel
public void setKernel(Kernel kernel)
A kernel is a group of cars that are switched as a unit.- Parameters:
kernel- The assigned Kernel for this car.
-
getKernelName
public java.lang.String getKernelName()
-
isLead
public boolean isLead()
Used to determine if car is lead car in a kernel- Returns:
- true if lead car in a kernel
-
updateKernel
public void updateKernel()
Updates all cars in a kernel. After the update, the cars will all have the same final destination, load, and route path.
-
getTotalKernelLength
public int getTotalKernelLength()
Returns the car length or the length of the car's kernel including couplers.- Returns:
- length of car or kernel
-
checkDestination
public java.lang.String checkDestination(Location destination, Track track)
Used to determine if a car can be set out at a destination (location). Track is optional. In addition to all of the tests that checkDestination performs, spurs with schedules are also checked.- Overrides:
checkDestinationin classRollingStock- Parameters:
destination- The Location.track- The Track at destination.- Returns:
- status OKAY, TYPE, ROAD, LENGTH, ERROR_TRACK, CAPACITY, SCHEDULE, CUSTOM
-
setDestination
public java.lang.String setDestination(Location destination, Track track)
Sets the car's destination on the layout- Overrides:
setDestinationin classRollingStock- Parameters:
track- (yard, spur, staging, or interchange track)destination- The Location.- Returns:
- "okay" if successful, "type" if the rolling stock's type isn't acceptable, or "length" if the rolling stock length didn't fit, or Schedule if the destination will not accept the car because the spur has a schedule and the car doesn't meet the schedule requirements. Also changes the car load status when the car reaches its destination.
-
setDestination
public java.lang.String setDestination(Location destination, Track track, boolean force)
Sets the car's destination on the layout- Overrides:
setDestinationin classRollingStock- Parameters:
track- (yard, spur, staging, or interchange track)force- when true ignore track length, type, and road when setting destinationdestination- The Location.- Returns:
- "okay" if successful, "type" if the rolling stock's type isn't acceptable, or "length" if the rolling stock length didn't fit, or Schedule if the destination will not accept the car because the spur has a schedule and the car doesn't meet the schedule requirements. Also changes the car load status when the car reaches its destination. Removes car if clone.
-
loadNext
public void loadNext(ScheduleItem scheduleItem)
Called when setting a car's destination to this spur. Loads the car with a final destination which is the ship address for the schedule item.- Parameters:
scheduleItem- The schedule item to be applied this this car
-
loadNext
public void loadNext(Track track)
Called when car is delivered to track. Updates the car's wait, pickup day, and load if spur. If staging, can swap default loads, force load to default empty, or replace custom loads with the default empty load. Can trigger RWE or RWL.- Parameters:
track- the destination track for this car
-
updateLoad
public void updateLoad(Track track)
Updates a car's load when placed at a spur. Load change delayed if wait count is greater than zero.- Parameters:
track- The spur the car is sitting on
-
getTypeExtensions
public java.lang.String getTypeExtensions()
-
reset
public void reset()
- Overrides:
resetin classRollingStock
-
dispose
public void dispose()
Description copied from class:RollingStockRemove rolling stock. Releases all listeners.- Overrides:
disposein classRollingStock
-
store
public org.jdom2.Element store()
Create an XML element to represent this Entry. This member has to remain synchronized with the detailed DTD in operations-cars.dtd.- Returns:
- Contents in a JDOM Element
-
setDirtyAndFirePropertyChange
protected void setDirtyAndFirePropertyChange(java.lang.String p, java.lang.Object old, java.lang.Object n)
- Overrides:
setDirtyAndFirePropertyChangein classRollingStock
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener- Overrides:
propertyChangein classRollingStock
-
-