Class StationViewer

java.lang.Object
com.assemblyrobot.simulator.core.clock.TickAdvanceListener
com.assemblyrobot.ui.views.StationViewer
All Implemented Interfaces:
View, javafx.fxml.Initializable

public class StationViewer
extends TickAdvanceListener
implements javafx.fxml.Initializable, View
  • Constructor Summary

    Constructors
    Constructor Description
    StationViewer()  
  • Method Summary

    Modifier and Type Method Description
    void afterInitialize()  
    void initialize​(java.net.URL location, java.util.ResourceBundle resources)  
    protected void onTickAdvance​(long ticksAdvanced)
    Callback method for when the clock moves forward.
    protected void onTickReset()
    Callback method for when the clock tick was reset to 0.
    void refresh()  
    void reset()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.assemblyrobot.ui.views.View

    setMain, setStage
  • Constructor Details

    • StationViewer

      public StationViewer()
  • Method Details

    • initialize

      public void initialize​(java.net.URL location, java.util.ResourceBundle resources)
      Specified by:
      initialize in interface javafx.fxml.Initializable
    • afterInitialize

      public void afterInitialize()
      Specified by:
      afterInitialize in interface View
    • refresh

      public void refresh()
    • reset

      public void reset()
    • onTickAdvance

      protected void onTickAdvance​(long ticksAdvanced)
      Description copied from class: TickAdvanceListener
      Callback method for when the clock moves forward.
      Specified by:
      onTickAdvance in class TickAdvanceListener
      Parameters:
      ticksAdvanced - The amount of ticks that the clock moved forward by.
    • onTickReset

      protected void onTickReset()
      Description copied from class: TickAdvanceListener
      Callback method for when the clock tick was reset to 0.
      Specified by:
      onTickReset in class TickAdvanceListener