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.JMenuBar
createMenuBar()
javax.swing.JToolBar
createToolBar()
java.util.List<javax.swing.Action>
getToolBarActions()
void
setJmadGuiActions(JMadGuiActions jmadGuiActions)
-
-
-
Method Detail
-
createToolBar
public javax.swing.JToolBar createToolBar()
- Specified by:
createToolBar
in interfaceJMadMenuFactory
- Returns:
- a new toolbar for jmad.
-
createMenuBar
public javax.swing.JMenuBar createMenuBar()
- Specified by:
createMenuBar
in interfaceJMadMenuFactory
- Returns:
- a new menubar for the JMad GUI
-
getToolBarActions
public java.util.List<javax.swing.Action> getToolBarActions()
- Specified by:
getToolBarActions
in interfaceJMadMenuFactory
- Returns:
- the list of actions in the toolbar.
-
setJmadGuiActions
public void setJmadGuiActions(JMadGuiActions jmadGuiActions)
-
-