Package jmri.jmrit.throttle
Interface ThrottleControllerUI
- All Known Implementing Classes:
ThrottleFrame
public interface ThrottleControllerUI
An interface to abstract UI controllers of throttle
(ThrottleFrame for Swing throttles for instance)
-
Method Summary
Modifier and TypeMethodDescriptionvoideStop()Emergency stop that throttleReturn that throttle control containervoidsetAddress(int number, boolean isLong) Set that throttle control addressvoidSet that throttle control addressvoidSet that throttle control roster entryvoidSet that throttle control containervoidtoFront()Bring that throttle control to front
-
Method Details
-
getThrottleControllersContainer
Return that throttle control container- Returns:
- the throttle control container
-
setThrottleControllersContainer
Set that throttle control container- Parameters:
tw- the throttle control container to set
-
setRosterEntry
Set that throttle control roster entry- Parameters:
re- the roster entry
-
setAddress
Set that throttle control address- Parameters:
number- address numberisLong- is long address
-
setAddress
Set that throttle control address- Parameters:
la- DccLocoAddress
-
eStop
void eStop()Emergency stop that throttle -
toFront
void toFront()Bring that throttle control to front
-