public class GuiApplicationMenu extends java.lang.Object implements java.awt.event.ActionListener, ISettingsListener
Constructor and Description |
---|
GuiApplicationMenu(GuiApplication pApplication) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Implementation of the
ActionListener interface to react on menu actions or changes in the settings. |
void |
applyNewSettings(Settings pSettings)
Apply the changes of the settings to the application.
|
javax.swing.JMenuBar |
getMenuBar() |
boolean |
showProperties() |
public GuiApplicationMenu(GuiApplication pApplication)
public javax.swing.JMenuBar getMenuBar()
public boolean showProperties()
public void actionPerformed(java.awt.event.ActionEvent e)
ActionListener
interface to react on menu actions or changes in the settings.actionPerformed
in interface java.awt.event.ActionListener
e
- The ActionEvent
from which the source of the action is fetched.public void applyNewSettings(Settings pSettings)
applyNewSettings
in interface ISettingsListener
pSettings
- The new Settings
object that is used to retrieve all labels.