Package jmri.jmrit.throttle
Class ThrottleFrameManager
java.lang.Object
jmri.jmrit.throttle.ThrottleFrameManager
- All Implemented Interfaces:
InstanceManagerAutoDefault
Interface for allocating and deallocating throttles frames. Not to be
confused with ThrottleManager.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTell this manager that a new ThrottleFrame was created.createThrottleFrame(ConnectionConfig connectionConfig) Tell this manager that a new ThrottleFrame was created.Tell this manager that a new ThrottleWindow was created.createThrottleWindow(ConnectionConfig connectionConfig) Tell this manager that a new ThrottleWindow was created.createThrottleWindow(org.jdom2.Element e) Tell this manager that a new ThrottleWindow was created.intRetrieve an Iterator over all the ThrottleFrames in existence.voidvoidvoidvoidRequest that this manager destroy a throttle frame.voidvoid
-
Constructor Details
-
ThrottleFrameManager
public ThrottleFrameManager()Constructor for the ThrottleFrameManager object.
-
-
Method Details
-
createThrottleWindow
Tell this manager that a new ThrottleWindow was created.- Returns:
- The newly created ThrottleWindow
-
createThrottleWindow
Tell this manager that a new ThrottleWindow was created.- Parameters:
connectionConfig- the connection config- Returns:
- The newly created ThrottleWindow
-
createThrottleWindow
Tell this manager that a new ThrottleWindow was created.- Parameters:
e- the xml element for the throttle window- Returns:
- The newly created ThrottleWindow
-
createThrottleFrame
Tell this manager that a new ThrottleFrame was created.- Returns:
- The newly created ThrottleFrame
-
createThrottleFrame
Tell this manager that a new ThrottleFrame was created.- Parameters:
connectionConfig- the connection config- Returns:
- The newly created ThrottleFrame
-
requestThrottleWindowDestruction
Request that this manager destroy a throttle frame.- Parameters:
frame- The to-be-destroyed ThrottleFrame
-
requestAllThrottleWindowsDestroyed
-
getThrottleWindows
Retrieve an Iterator over all the ThrottleFrames in existence.- Returns:
- The Iterator on the list of ThrottleFrames.
-
getNumberThrottleWindows
-
requestFocusForNextThrottleWindow
-
requestFocusForPreviousThrottleWindow
-
getCurrentThrottleFrame
-
getThrottlesListPanel
-
showThrottlesList
-
showThrottlesPreferences
-
applyPreferences
-