|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttest.check.SampleMenuFactory
public class SampleMenuFactory
Factory that creates menus for the test applications.
Constructor Summary | |
---|---|
SampleMenuFactory()
|
Method Summary | |
---|---|
static javax.swing.JMenu |
getLookAndFeelMenu(javax.swing.JFrame frame)
|
static javax.swing.JMenu |
getSkinMenu()
Returns menu for setting skins. |
static javax.swing.JMenu |
getTestMenu()
Returns a sample test menu. |
static java.util.LinkedList<java.util.LinkedList<javax.swing.JMenuItem>> |
getTestMenuItems()
Returns menu items for a sample test menu. |
static javax.swing.JMenu |
getThemeMenu()
Returns the menu for changing the themes. |
static void |
setTheme(SubstanceTheme theme)
Sets the specified theme. |
static void |
setTheme(ThemeInfo themeInfo)
Sets the specified theme. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleMenuFactory()
Method Detail |
---|
public static javax.swing.JMenu getThemeMenu()
public static void setTheme(SubstanceTheme theme)
theme
- Theme to set.public static void setTheme(ThemeInfo themeInfo)
themeInfo
- Theme information object.public static javax.swing.JMenu getTestMenu()
public static java.util.LinkedList<java.util.LinkedList<javax.swing.JMenuItem>> getTestMenuItems()
public static javax.swing.JMenu getSkinMenu()
public static javax.swing.JMenu getLookAndFeelMenu(javax.swing.JFrame frame)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |