jmri.jmrit.logix
Class WarrantTableAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.logix.WarrantTableAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class WarrantTableAction
- extends AbstractAction
A WarrantAction contains the operating permissions and directives needed for
a train to proceed from an Origin to a Destination.
WarrantTableAction provides the menu for panels to List, Edit and Create
Warrants. It launched the appropiate frame for each action.
It contains an internal class, TableFrame, that lists existing Warrants
controls many of their functions.
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.
- Author:
- Pete Cressman Copyright (C) 2009, 2010
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
rb
public static final ResourceBundle rb
WarrantTableAction
public WarrantTableAction(String menuOption)
actionPerformed
public void actionPerformed(ActionEvent e)
updateWarrantMenu
public static void updateWarrantMenu()
closeWarrantFrame
public static void closeWarrantFrame(String key)
openWarrantFrame
public static void openWarrantFrame(String key)
getOpenWarrantFrame
public WarrantFrame getOpenWarrantFrame(String key)
initPathPortalCheck
public static void initPathPortalCheck()
checkPathPortals
public static void checkPathPortals(OBlock b)
- Validation of paths within a block.
Gathers messages in a text area that can be displayed after all
are written.
showPathPortalErrors
public static boolean showPathPortalErrors()
makeWarrantMenu
public static JMenu makeWarrantMenu()
- Note: _warrantMenu is static
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: