Class 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 Detail

      • JMadMenuFactoryImpl

        public JMadMenuFactoryImpl()
    • Method Detail

      • createToolBar

        public javax.swing.JToolBar createToolBar()
        Specified by:
        createToolBar in interface JMadMenuFactory
        Returns:
        a new toolbar for jmad.
      • createMenuBar

        public javax.swing.JMenuBar createMenuBar()
        Specified by:
        createMenuBar in interface JMadMenuFactory
        Returns:
        a new menubar for the JMad GUI
      • getToolBarActions

        public java.util.List<javax.swing.Action> getToolBarActions()
        Specified by:
        getToolBarActions in interface JMadMenuFactory
        Returns:
        the list of actions in the toolbar.
      • setJmadGuiActions

        public void setJmadGuiActions​(JMadGuiActions jmadGuiActions)