jmri.util.swing
Class JToolBarUtil

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

public class JToolBarUtil
extends GuiUtilBase

Common utility methods for working with JToolBars.

Chief among these is the loadToolBar method, for creating a JToolBar from an XML definition

Only parses top level of XML file, since ToolBars have only level.

Since:
2.9.4
Author:
Bob Jacobsen Copyright 2003, 2010

Constructor Summary
JToolBarUtil()
           
 
Method Summary
static JToolBar loadToolBar(File file)
           
static JToolBar loadToolBar(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

JToolBarUtil

public JToolBarUtil()
Method Detail

loadToolBar

public static JToolBar loadToolBar(File file)

loadToolBar

public static JToolBar loadToolBar(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