|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.wizard.WizardStyle
public class WizardStyle
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 |
|---|
public static final int WIZARD97_STYLE
public static final int JAVA_STYLE
public static final int MACOSX_STYLE
| Constructor Detail |
|---|
public WizardStyle()
| Method Detail |
|---|
public static int getStyle()
public static void setStyle(int style)
style - public static UIDefaults getDefaults()
UIDefaults object containing the default valuespublic static Font getFont(Object key)
key - an Object specifying the font
Font object
public static Font getFont(Object key,
Locale l)
key - an Object specifying the fontl - the Locale for which the font is desired
Font objectpublic static Color getColor(Object key)
key - an Object specifying the color
Color object
public static Color getColor(Object key,
Locale l)
key - an Object specifying the colorl - the Locale for which the color is desired
Color objectpublic static Icon getIcon(Object key)
Icon from the defaults table.
key - an Object specifying the icon
Icon object
public static Icon getIcon(Object key,
Locale l)
Icon from the defaults table that is appropriate for the given locale.
key - an Object specifying the iconl - the Locale for which the icon is desired
Icon objectpublic static Border getBorder(Object key)
key - an Object specifying the border
Border object
public static Border getBorder(Object key,
Locale l)
key - an Object specifying the borderl - the Locale for which the border is desired
Border objectpublic static String getString(Object key)
key - an Object specifying the string
String
public static String getString(Object key,
Locale l)
key - an Object specifying the stringl - the Locale for which the string is desired
Stringpublic static int getInt(Object key)
key - an Object specifying the int
public static int getInt(Object key,
Locale l)
key - an Object specifying the intl - the Locale for which the int is desired
public static boolean getBoolean(Object key)
key - an Object specifying the key for the desired boolean value
public static boolean getBoolean(Object key,
Locale l)
Locale. If the key is not found or the key doesn't represent a boolean value then false will be
returned.
key - an Object specifying the key for the desired boolean valuel - the Locale for which the boolean is desired
public static Insets getInsets(Object key)
Insets object from the defaults table.
key - an Object specifying the Insets object
Insets object
public static Insets getInsets(Object key,
Locale l)
Insets object from the defaults table that is appropriate for the given locale.
key - an Object specifying the Insets objectl - the Locale for which the object is desired
Insets objectpublic static Dimension getDimension(Object key)
key - an Object specifying the dimension object
Dimension object
public static Dimension getDimension(Object key,
Locale l)
key - an Object specifying the dimension objectl - the Locale for which the object is desired
Dimension objectpublic static Object get(Object key)
key - an Object specifying the desired object
Object
public static Object get(Object key,
Locale l)
key - an Object specifying the desired objectl - the Locale for which the object is desired
Object
public static Object put(Object key,
Object value)
key - an Object specifying the retrieval keyvalue - the Object to store
Object returned by UIDefaults.put(java.lang.Object, java.lang.Object)protected static void installJavaWizardStyle()
protected static void installWizard97Style()
protected static void installMacOSXWizardStyle()
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||