test.check
Class SampleMenuFactory

java.lang.Object
  extended by test.check.SampleMenuFactory

public class SampleMenuFactory
extends java.lang.Object

Factory that creates menus for the test applications.

Author:
Kirill Grouchnikov

Nested Class Summary
protected static class SampleMenuFactory.CustomSkin
           
protected static class SampleMenuFactory.SkinChanger
           
 
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 getTransformMenu()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleMenuFactory

public SampleMenuFactory()
Method Detail

getTestMenu

public static javax.swing.JMenu getTestMenu()
Returns a sample test menu.

Returns:
Sample test menu.

getTestMenuItems

public static java.util.LinkedList<java.util.LinkedList<javax.swing.JMenuItem>> getTestMenuItems()
Returns menu items for a sample test menu.

Returns:
Menu items for a sample test menu.

getSkinMenu

public static javax.swing.JMenu getSkinMenu()
Returns menu for setting skins.

Returns:
Menu for setting skins.

getTransformMenu

public static javax.swing.JMenu getTransformMenu()

getLookAndFeelMenu

public static javax.swing.JMenu getLookAndFeelMenu(javax.swing.JFrame frame)