|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.looks.demo.MenuBarView
com.jgoodies.looks.demo.MenuBarViewUIF
final class MenuBarViewUIF
Builds the menu bar and pull-down menus in the full JGoodies Looks Demo. Demonstrates and tests different multi-platform issues.
This class overrides the factory methods provided by its
superclass MenuBuilder
to vend components from
the JGoodies UI framework that better handle different platforms.
UIFMenuItem
,
UIFCheckBoxMenuItem
,
UIFRadioButtonMenuItem
Constructor Summary | |
---|---|
MenuBarViewUIF()
|
Method Summary | |
---|---|
protected JCheckBoxMenuItem |
createCheckBoxMenuItem(String text,
boolean selected)
|
protected JMenu |
createMenu(String text,
char mnemonic)
|
protected JMenuItem |
createMenuItem(String text)
|
protected JMenuItem |
createMenuItem(String text,
char mnemonic)
|
protected JMenuItem |
createMenuItem(String text,
char mnemonic,
KeyStroke key)
|
protected JMenuItem |
createMenuItem(String text,
Icon icon)
|
protected JMenuItem |
createMenuItem(String text,
Icon icon,
char mnemonic)
|
protected JMenuItem |
createMenuItem(String text,
Icon icon,
char mnemonic,
KeyStroke key)
|
protected JRadioButtonMenuItem |
createRadioButtonMenuItem(String text,
boolean selected)
|
protected boolean |
isAboutInOSMenu()
Checks and answers whether the about action has been moved to an operating system specific menu, e.g. the OS X application menu. |
protected boolean |
isQuitInOSMenu()
Checks and answers whether the quit action has been moved to an operating system specific menu, e.g. the OS X application menu. |
Methods inherited from class com.jgoodies.looks.demo.MenuBarView |
---|
buildMenuBar, getToggleLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
MenuBarViewUIF()
Method Detail |
---|
protected JMenu createMenu(String text, char mnemonic)
createMenu
in class MenuBarView
protected JMenuItem createMenuItem(String text)
createMenuItem
in class MenuBarView
protected JMenuItem createMenuItem(String text, char mnemonic)
createMenuItem
in class MenuBarView
protected JMenuItem createMenuItem(String text, char mnemonic, KeyStroke key)
createMenuItem
in class MenuBarView
protected JMenuItem createMenuItem(String text, Icon icon)
createMenuItem
in class MenuBarView
protected JMenuItem createMenuItem(String text, Icon icon, char mnemonic)
createMenuItem
in class MenuBarView
protected JMenuItem createMenuItem(String text, Icon icon, char mnemonic, KeyStroke key)
createMenuItem
in class MenuBarView
protected JRadioButtonMenuItem createRadioButtonMenuItem(String text, boolean selected)
createRadioButtonMenuItem
in class MenuBarView
protected JCheckBoxMenuItem createCheckBoxMenuItem(String text, boolean selected)
createCheckBoxMenuItem
in class MenuBarView
protected boolean isQuitInOSMenu()
This is the case if and only if we're running on the Mac OS X.
isQuitInOSMenu
in class MenuBarView
protected boolean isAboutInOSMenu()
This is the case if and only if an about handler could be successfully registered with the Mac OS X application menu.
isAboutInOSMenu
in class MenuBarView
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |