JIDE 3.5.15

com.jidesoft.wizard
Class WizardStyle

java.lang.Object
  extended by com.jidesoft.wizard.WizardStyle

public class WizardStyle
extends Object

WizardStyle is a center place to control the style of all wizards in an JVM.


Field Summary
static int JAVA_STYLE
          Predefined style of WizardDialog See detailed information at Java LookAndFeel Wizard Standard
static int MACOSX_STYLE
          Predefined style of WizardDialog
static int WIZARD97_STYLE
          Predefined style of WizardDialog.
 
Constructor Summary
WizardStyle()
           
 
Method Summary
static Object get(Object key)
          Returns an object from the defaults table.
static Object get(Object key, Locale l)
          Returns an object from the defaults table that is appropriate for the given locale.
static boolean getBoolean(Object key)
          Returns a boolean from the defaults table which is associated with the key value.
static boolean getBoolean(Object key, Locale l)
          Returns a boolean from the defaults table which is associated with the key value and the given Locale.
static Border getBorder(Object key)
          Returns a border from the defaults table.
static Border getBorder(Object key, Locale l)
          Returns a border from the defaults table that is appropriate for the given locale.
static Color getColor(Object key)
          Returns a drawing color from the defaults table.
static Color getColor(Object key, Locale l)
          Returns a drawing color from the defaults table that is appropriate for the given locale.
static UIDefaults getDefaults()
          Returns the default values for this wizard style.
static Dimension getDimension(Object key)
          Returns a dimension from the defaults table.
static Dimension getDimension(Object key, Locale l)
          Returns a dimension from the defaults table that is appropriate for the given locale.
static Font getFont(Object key)
          Returns a drawing font from the defaults table.
static Font getFont(Object key, Locale l)
          Returns a drawing font from the defaults table that is appropriate for the given locale.
static Icon getIcon(Object key)
          Returns an Icon from the defaults table.
static Icon getIcon(Object key, Locale l)
          Returns an Icon from the defaults table that is appropriate for the given locale.
static Insets getInsets(Object key)
          Returns an Insets object from the defaults table.
static Insets getInsets(Object key, Locale l)
          Returns an Insets object from the defaults table that is appropriate for the given locale.
static int getInt(Object key)
          Returns an integer from the defaults table.
static int getInt(Object key, Locale l)
          Returns an integer from the defaults table that is appropriate for the given locale.
static String getString(Object key)
          Returns a string from the defaults table.
static String getString(Object key, Locale l)
          Returns a string from the defaults table that is appropriate for the given locale.
static int getStyle()
          Gets the wizard style.
protected static void installJavaWizardStyle()
           
protected static void installMacOSXWizardStyle()
           
protected static void installWizard97Style()
           
static Object put(Object key, Object value)
          Stores an object in the defaults table.
static void setStyle(int style)
          Sets the wizard style.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIZARD97_STYLE

public static final int WIZARD97_STYLE
Predefined style of WizardDialog. See detailed information at Micrsoft Wizard 97 Standard

See Also:
Constant Field Values

JAVA_STYLE

public static final int JAVA_STYLE
Predefined style of WizardDialog See detailed information at Java LookAndFeel Wizard Standard

See Also:
Constant Field Values

MACOSX_STYLE

public static final int MACOSX_STYLE
Predefined style of WizardDialog

See Also:
Constant Field Values
Constructor Detail

WizardStyle

public WizardStyle()
Method Detail

getStyle

public static int getStyle()
Gets the wizard style.

Returns:
the wizard style

setStyle

public static void setStyle(int style)
Sets the wizard style.

Parameters:
style -

getDefaults

public static UIDefaults getDefaults()
Returns the default values for this wizard style.

Returns:
a UIDefaults object containing the default values

getFont

public static Font getFont(Object key)
Returns a drawing font from the defaults table.

Parameters:
key - an Object specifying the font
Returns:
the Font object

getFont

public static Font getFont(Object key,
                           Locale l)
Returns a drawing font from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the font
l - the Locale for which the font is desired
Returns:
the Font object
Since:
1.4

getColor

public static Color getColor(Object key)
Returns a drawing color from the defaults table.

Parameters:
key - an Object specifying the color
Returns:
the Color object

getColor

public static Color getColor(Object key,
                             Locale l)
Returns a drawing color from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the color
l - the Locale for which the color is desired
Returns:
the Color object
Since:
1.4

getIcon

public static Icon getIcon(Object key)
Returns an Icon from the defaults table.

Parameters:
key - an Object specifying the icon
Returns:
the Icon object

getIcon

public static Icon getIcon(Object key,
                           Locale l)
Returns an Icon from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the icon
l - the Locale for which the icon is desired
Returns:
the Icon object
Since:
1.4

getBorder

public static Border getBorder(Object key)
Returns a border from the defaults table.

Parameters:
key - an Object specifying the border
Returns:
the Border object

getBorder

public static Border getBorder(Object key,
                               Locale l)
Returns a border from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the border
l - the Locale for which the border is desired
Returns:
the Border object
Since:
1.4

getString

public static String getString(Object key)
Returns a string from the defaults table.

Parameters:
key - an Object specifying the string
Returns:
the String

getString

public static String getString(Object key,
                               Locale l)
Returns a string from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the string
l - the Locale for which the string is desired
Returns:
the String

getInt

public static int getInt(Object key)
Returns an integer from the defaults table.

Parameters:
key - an Object specifying the int
Returns:
the int

getInt

public static int getInt(Object key,
                         Locale l)
Returns an integer from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the int
l - the Locale for which the int is desired
Returns:
the int
Since:
1.4

getBoolean

public static boolean getBoolean(Object key)
Returns a boolean from the defaults table which is associated with the key value. If the key is not found or the key doesn't represent a boolean value then false will be returned.

Parameters:
key - an Object specifying the key for the desired boolean value
Returns:
the boolean value corresponding to the key
Since:
1.4

getBoolean

public static boolean getBoolean(Object key,
                                 Locale l)
Returns a boolean from the defaults table which is associated with the key value and the given Locale. If the key is not found or the key doesn't represent a boolean value then false will be returned.

Parameters:
key - an Object specifying the key for the desired boolean value
l - the Locale for which the boolean is desired
Returns:
the boolean value corresponding to the key
Since:
1.4

getInsets

public static Insets getInsets(Object key)
Returns an Insets object from the defaults table.

Parameters:
key - an Object specifying the Insets object
Returns:
the Insets object

getInsets

public static Insets getInsets(Object key,
                               Locale l)
Returns an Insets object from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the Insets object
l - the Locale for which the object is desired
Returns:
the Insets object
Since:
1.4

getDimension

public static Dimension getDimension(Object key)
Returns a dimension from the defaults table.

Parameters:
key - an Object specifying the dimension object
Returns:
the Dimension object

getDimension

public static Dimension getDimension(Object key,
                                     Locale l)
Returns a dimension from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the dimension object
l - the Locale for which the object is desired
Returns:
the Dimension object
Since:
1.4

get

public static Object get(Object key)
Returns an object from the defaults table.

Parameters:
key - an Object specifying the desired object
Returns:
the Object

get

public static Object get(Object key,
                         Locale l)
Returns an object from the defaults table that is appropriate for the given locale.

Parameters:
key - an Object specifying the desired object
l - the Locale for which the object is desired
Returns:
the Object

put

public static Object put(Object key,
                         Object value)
Stores an object in the defaults table.

Parameters:
key - an Object specifying the retrieval key
value - the Object to store
Returns:
the Object returned by UIDefaults.put(java.lang.Object, java.lang.Object)

installJavaWizardStyle

protected static void installJavaWizardStyle()

installWizard97Style

protected static void installWizard97Style()

installMacOSXWizardStyle

protected static void installMacOSXWizardStyle()

JIDE 3.5.15