Class ProgDeferredServiceModePane

All Implemented Interfaces:
ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

Provide a JPanel to configure the service mode programmer via a "simple until you need it" pane. This consists of a label with the current mode, plus a "set" button.

A ProgModePane may "share" between one of these and an ops-mode selection, which means that there might be _none_ of these modes selected. When that happens, the mode of the underlying programmer is left unchanged and no message is propagated.

Note that you should call the dispose() method when you're really done, so that a ProgModePane object can disconnect its listeners.

The implementation relies on a captive ProgServiceModePane which handles "set" operations by changing the actual service mode programmer state.


This file is part of JMRI.

JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See Also: