|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.gui.DefaultMenuListener
This class implements the default menu listener for processing events, overrides actionPerformed(ActionEvent e).
This object is automatically registered to change the application locale.
| Field Summary | |
protected Application |
application
The application parameter. |
static boolean |
CHECK_SUPPORTED_LOCALES
The condition to check the supported application locales. |
protected ApplicationMenuBar |
menu
The application menu bar parameter. |
| Constructor Summary | |
DefaultMenuListener()
The constructor is empty. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
This method implementation is empty. |
void |
addMenuToListenFor(javax.swing.JMenuBar menuBar)
Indicates the menu whose events will be listened by this object. |
protected static void |
getAvaliableLocales()
Gets the available locales. |
void |
localeChange(LocaleEvent e)
Checks the LocaleEvent and changes the locale. |
void |
setApplication(Application apl)
Sets the param application. |
void |
setInitialState()
Sets the initial state for application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Application application
protected ApplicationMenuBar menu
public static boolean CHECK_SUPPORTED_LOCALES
| Constructor Detail |
public DefaultMenuListener()
| Method Detail |
public void setApplication(Application apl)
setApplication in interface MenuListenerapl - public void setInitialState()
setInitialState in interface MenuListenerpublic void addMenuToListenFor(javax.swing.JMenuBar menuBar)
addMenuToListenFor in interface MenuListenermenuBar - protected static void getAvaliableLocales()
Localepublic void localeChange(LocaleEvent e)
localeChange in interface LocaleListenerpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||