jmri.util.swing
Class JMenuUtil

java.lang.Object
  extended by jmri.util.swing.GuiUtilBase
      extended by jmri.util.swing.JMenuUtil

public class JMenuUtil
extends GuiUtilBase

Common utility methods for working with JMenus.

Chief among these is the loadMenu method, for creating a set of menus from an XML definition

Since:
2.9.4
Author:
Bob Jacobsen Copyright 2003, 2010

Constructor Summary
JMenuUtil()
           
 
Method Summary
static JMenu[] loadMenu(File file, WindowInterface wi, Object context)
           
 
Methods inherited from class jmri.util.swing.GuiUtilBase
rootFromFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMenuUtil

public JMenuUtil()
Method Detail

loadMenu

public static JMenu[] loadMenu(File file,
                               WindowInterface wi,
                               Object context)


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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads