Class ProgServiceModePane

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

Provide a JPanel to configure the service mode (Global) programmer.

The using code should get a configured programmer with getProgrammer. Since there's only one service mode programmer, maybe this isn't critical, but it's a good idea for the future.

A ProgModePane may "share" between one of these and a ProgOpsModePane, which means that there might be _none_ of these buttons 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.


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: