- java.lang.Object
-
- org.arakhne.afc.gis.bus.network.BusChangeAdapter
-
- All Implemented Interfaces:
EventListener
,BusChangeListener
public class BusChangeAdapter extends Object implements BusChangeListener
This class representes a bus primitive listener.- Since:
- 14.0
- Version:
- 17.0 2020-01-04 14:41:56
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.gis
- Maven Artifact Id:
- gisbus
-
-
Constructor Summary
Constructors Constructor Description BusChangeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onBusPrimitiveChanged(BusChangeEvent event)
Invoked each time the bus primitive changed (excepts for graphical attributes).void
onBusPrimitiveGraphicalAttributeChanged(BusChangeEvent event)
Invoked each time the bus primitive graphical attributes changed.void
onBusPrimitiveShapeChanged(BusChangeEvent event)
Invoked each time the bus primitive topology changed.
-
-
-
Method Detail
-
onBusPrimitiveShapeChanged
public void onBusPrimitiveShapeChanged(BusChangeEvent event)
Description copied from interface:BusChangeListener
Invoked each time the bus primitive topology changed.A bus network topology is composed of the bus lines, the bus itineraries, the bus stops and the bus stations.
- Specified by:
onBusPrimitiveShapeChanged
in interfaceBusChangeListener
- Parameters:
event
- the event.
-
onBusPrimitiveGraphicalAttributeChanged
public void onBusPrimitiveGraphicalAttributeChanged(BusChangeEvent event)
Description copied from interface:BusChangeListener
Invoked each time the bus primitive graphical attributes changed.- Specified by:
onBusPrimitiveGraphicalAttributeChanged
in interfaceBusChangeListener
- Parameters:
event
- the event.
-
onBusPrimitiveChanged
public void onBusPrimitiveChanged(BusChangeEvent event)
Description copied from interface:BusChangeListener
Invoked each time the bus primitive changed (excepts for graphical attributes).- Specified by:
onBusPrimitiveChanged
in interfaceBusChangeListener
- Parameters:
event
- the event.
-
-