public class StationView extends SimpleView<Station>
Station
class.Constructor and Description |
---|
StationView(Station model)
Creates a
StationView based on the given parameters. |
Modifier and Type | Method and Description |
---|---|
javafx.scene.image.Image |
getImage()
Loads the image that represents this view's corresponding model.
|
click, draw, getCanvas, getImage, getModel, getPoint, injectCanvas, injectPoint
public StationView(Station model)
StationView
based on the given parameters.model
- the corresponding Station
objectpublic javafx.scene.image.Image getImage()
getImage
in class SimpleView<Station>