Skip navigation links
A B C D F G H I L M N O P R S T U V 

V

valueOf(String) - Static method in enum org.cppftw.trains.model.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.cppftw.trains.view.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.cppftw.trains.model.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.cppftw.trains.view.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
Vehicle - Class in org.cppftw.trains.model
The abstract class Vehicle specifies some common behaviors and properties of the classes Locomotive and Coach.
Vehicle(Slot) - Constructor for class org.cppftw.trains.model.Vehicle
Creates a Vehicle occupying the position given by the parameter currentPlace pulling the object given by nextCoach.
Vehicle.Visitor - Interface in org.cppftw.trains.model
The Visitor interface for the visitor pattern.
VehicleView - Class in org.cppftw.trains.view
Singleton class for drawing Vehicles.
View - Class in org.cppftw.trains.view
The View class in MVC model.
View() - Constructor for class org.cppftw.trains.view.View
 
VIEW_HEIGHT - Static variable in class org.cppftw.trains.view.View
The height of one view element in pixels.
VIEW_WIDTH - Static variable in class org.cppftw.trains.view.View
The width of one view element in pixels.
visit(Locomotive) - Method in interface org.cppftw.trains.model.Vehicle.Visitor
Draws the Locomotive.
visit(Coach) - Method in interface org.cppftw.trains.model.Vehicle.Visitor
Draws the Coach.
visit(PassengerCoach) - Method in interface org.cppftw.trains.model.Vehicle.Visitor
Draws the PassengerCoach given by the parameter.
A B C D F G H I L M N O P R S T U V 
Skip navigation links