Class JMadMenuFactoryImpl
- java.lang.Object
-
- cern.accsoft.steering.jmad.gui.menu.JMadMenuFactoryImpl
-
- All Implemented Interfaces:
JMadMenuFactory
public class JMadMenuFactoryImpl extends java.lang.Object implements JMadMenuFactory
This class creates the actual instances of the toolbar and the menuBar for JMad.
-
-
Constructor Summary
Constructors Constructor Description JMadMenuFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JMenuBarcreateMenuBar()javax.swing.JToolBarcreateToolBar()java.util.List<javax.swing.Action>getToolBarActions()voidsetJmadGuiActions(JMadGuiActions jmadGuiActions)
-
-
-
Method Detail
-
createToolBar
public javax.swing.JToolBar createToolBar()
- Specified by:
createToolBarin interfaceJMadMenuFactory- Returns:
- a new toolbar for jmad.
-
createMenuBar
public javax.swing.JMenuBar createMenuBar()
- Specified by:
createMenuBarin interfaceJMadMenuFactory- Returns:
- a new menubar for the JMad GUI
-
getToolBarActions
public java.util.List<javax.swing.Action> getToolBarActions()
- Specified by:
getToolBarActionsin interfaceJMadMenuFactory- Returns:
- the list of actions in the toolbar.
-
setJmadGuiActions
public void setJmadGuiActions(JMadGuiActions jmadGuiActions)
-
-