@Generated public class MainMenuBar extends java.awt.Component
| Constructor and Description |
|---|
MainMenuBar(LocalizationManager injectedLocalizationManager,
LightTheme injectedLightTheme,
DarkTheme injectedDarkTheme,
javax.swing.JFrame injectedJFrame,
mdlaf.MaterialLookAndFeel injectedLAF_Light,
mdlaf.MaterialLookAndFeel injectedLAF_Dark,
TabCreateServerPack injectedTabCreateServerPack,
javax.swing.JTabbedPane injectedTabbedPane,
ApplicationProperties injectedApplicationProperties,
UpdateChecker injectedUpdateChecker)
Constructor for our MainMenuBar.
|
| Modifier and Type | Method and Description |
|---|---|
javax.swing.JMenuBar |
createMenuBar()
Create the menubar, add all menus, add all menuitems and add actionlisteners for our menuitems.
|
protected boolean |
displayUpdateDialog()
If an initialize is available for ServerPackCreator, display a dialog asking the user whether
|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validatepublic MainMenuBar(LocalizationManager injectedLocalizationManager, LightTheme injectedLightTheme, DarkTheme injectedDarkTheme, javax.swing.JFrame injectedJFrame, mdlaf.MaterialLookAndFeel injectedLAF_Light, mdlaf.MaterialLookAndFeel injectedLAF_Dark, TabCreateServerPack injectedTabCreateServerPack, javax.swing.JTabbedPane injectedTabbedPane, ApplicationProperties injectedApplicationProperties, UpdateChecker injectedUpdateChecker)
injectedLocalizationManager - Instance of LocalizationManager required for localized log messages.injectedLightTheme - Instance of LightTheme required for theme switching.injectedDarkTheme - Instance of DarkTheme required for theme switching.injectedJFrame - The parent from in which everything ServerPackCreator is displayed in.injectedLAF_Light - Instance of MaterialLookAndFeel with our LightTheme.injectedLAF_Dark - Instance of MaterialLookAndFeel with our DarkTheme.injectedTabCreateServerPack - Our tab for configuring ServerPackCreator.injectedTabbedPane - The tabbed pane which holds all our tabs.injectedApplicationProperties - Instance of Properties required for various different things.injectedUpdateChecker - Instance of UpdateChecker to check for update-availability.public javax.swing.JMenuBar createMenuBar()
protected boolean displayUpdateDialog()
Boolean true if an update was found and the dialog displayed.