Package jmri.util.swing
Class JToolBarUtil
- java.lang.Object
-
- jmri.util.swing.GuiUtilBase
-
- 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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.util.swing.GuiUtilBase
GuiUtilBase.CallingAbstractAction
-
-
Constructor Summary
Constructors Constructor Description JToolBarUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.swing.JToolBar
loadToolBar(java.lang.String name)
static javax.swing.JToolBar
loadToolBar(java.lang.String name, WindowInterface wi, java.lang.Object context)
-
Methods inherited from class jmri.util.swing.GuiUtilBase
actionFromNode, createActionInCallingWindow, createEmptyMenuItem, rootFromName, setParameters
-
-
-
-
Constructor Detail
-
JToolBarUtil
public JToolBarUtil()
-
-
Method Detail
-
loadToolBar
public static javax.swing.JToolBar loadToolBar(java.lang.String name)
-
loadToolBar
public static javax.swing.JToolBar loadToolBar(java.lang.String name, WindowInterface wi, java.lang.Object context)
-
-