Interface ThrottleControllersUIContainersManager

All Superinterfaces:
Iterable<ThrottleControllersUIContainer>
All Known Implementing Classes:
ThrottleFrameManager

An interface for managers of containers of throttle controllers user interface (ThrottleFrameManager for Swing throttles for instance)
  • Method Details

    • getNbThrottleControllersContainers

      Return the number of active thottle controller containers for that throttle contrainer manager
      Returns:
      the number of active thottle controller containers
    • createThrottleController

      Create a new throttle controller
      Returns:
      The newly created throttle controller
    • getThrottleControllersContainerAt

      Return the thottle controller container at nth position in the list
      Parameters:
      n - position of the throttle controller container
      Returns:
      a thottle controller container
    • getNumberOfEntriesFor

      Return the number of throttle controllers for a LocoAddress, usefull to kno if a layout throttle object should actually be released
      Parameters:
      la - locoaddrress we're looking for
      Returns:
      the number of throttle controllers for that LocoAddress