WebObjects 5.1

com.webobjects.eoapplication
Class EOUserInterfaceParameters

java.lang.Object
  |
  +--com.webobjects.eoapplication.EOUserInterfaceParameters

public class EOUserInterfaceParameters
extends Object

EOUserInterfaceParameters has many static methods used to localize strings and icons and to determine several aspects (fonts, colors, border sizes) of the user interface.

The methods to retrieve localized and platform-specific strings and images use a resource bundle which you can set with setStandardResourceBundle. Unless you specify your own custom resource bundle, an instance of EODefaultResourceBundle is used to load resources from the server.

EOUserInterfaceParameters also has various methods to set and get fonts, colors and border sizes which are used by controllers while they dynamically generate elements of the user interface. So you can widely modify the look of the application by invoking a few set methods on EOUserInterfaceParameters as long as you use dynamic user interface generation (Direct to Java Client).

See Also:
standardResourceBundle(), EODefaultResourceBundle

Constructor Summary
EOUserInterfaceParameters()
           
 
Method Summary
static Font actionTitleFont()
          Returns the font used for large-size action buttons.
static int actionTitlePosition()
          Returns the title position in large-size action buttons.
static boolean allowsActionIcons()
          Returns whether large-size action buttons should use icons or not (if icons are available).
static boolean allowsIcons()
          Deprecated. This method has no effect any more.
static boolean allowsSmallActionIcons()
          Returns whether small-size action buttons should use icons or not (if icons are available).
static Color disabledTextBackgroundColor()
          Returns the color used for the background of disabled text fields.
static Color editableTextBackgroundColor()
          Returns the color used for the background of editable text fields.
static Color highlightLabelColor()
          Returns the color used for highlighted labels (in front of widgets).
static Font highlightLabelFont()
          Returns the font used for highlighted labels (in front of widgets).
static Color highlightTitleColor()
          Returns the color used for highlighted titles, for example in boxes and tab views.
static Font highlightTitleFont()
          Returns the font used for highlighted titles, for example in boxes and tab views.
static Color labelColor()
          Returns the color used for labels (in front of widgets).
static Font labelFont()
          Returns the font used for labels (in front of widgets).
static int largeBorder()
          Returns the large border size used by the default controller layout mechanisms.
static Icon localizedIcon(String iconName)
          Returns a localized version of the icon named iconName or null if no icon can be found with the specified name.
static String localizedString(String string)
          Returns a localized version of string or string itself if no localized version can be found.
static boolean makeIconBackgroundsTransparent()
          Returns whether the background of all icons loaded through the default resource bundle should be made explicitly transparent.
static int mediumBorder()
          Returns the medium border size used by the default controller layout mechanisms.
static Dimension minimumActionButtonSize()
          Returns the minimum size of large-size action buttons.
static Dimension minimumSmallActionButtonSize()
          Returns the minimum size of small-size action buttons.
static Dimension minimumSpecialActionButtonSize()
          Returns the minimum size of special action buttons used as integration components for controllers activated by buttons.
static boolean optimizesMenuAccelerators()
          Returns whether standard menu accelerators like Command-n (new), Command-o (open) should be constantly updated to affect the active type of document (object).
static Color queryTextBackgroundColor()
          Returns the color used for the background of query text fields.
static void setActionTitleFont(Font font)
          Sets the font used for large-size action buttons.
static void setActionTitlePosition(int position)
          Sets the title position in large-size action buttons.
static void setAllowsActionIcons(boolean flag)
          Sets whether large-size action buttons should use icons or not (if icons are available).
static void setAllowsIcons(boolean flag)
          Deprecated. This method has no effect any more.
static void setAllowsSmallActionIcons(boolean flag)
          Sets whether small-size action buttons should use icons or not (if icons are available).
static void setBorders(int smallBorder, int mediumBorder, int largeBorder)
          Sets the border sizes used by the default controller layout mechanisms.
static void setDisabledTextBackgroundColor(Color color)
          Sets the color used for the background of disabled text fields.
static void setEditableTextBackgroundColor(Color color)
          Sets the color used for the background of editable text fields.
static void setHighlightLabelColor(Color color)
          Sets the color used for highlighted labels (in front of widgets).
static void setHighlightLabelFont(Font font)
          Sets the font used for highlighted labels (in front of widgets).
static void setHighlightTitleColor(Color color)
          Sets the color used for highlighted titles, for example in boxes and tab views.
static void setHighlightTitleFont(Font font)
          Sets the font used for highlighted titles, for example in boxes and tab views.
static void setLabelColor(Color color)
          Sets the color used for labels (in front of widgets).
static void setLabelFont(Font font)
          Sets the font used for labels (in front of widgets).
static void setMakeIconBackgroundsTransparent(boolean flag)
          Sets whether the background of all icons loaded through the default resource bundle should be made explicitly transparent.
static void setMinimumActionButtonSize(Dimension size)
          Sets the minimum size of large-size action buttons.
static void setMinimumSmallActionButtonSize(Dimension size)
          Sets the minimum size of small-size action buttons.
static void setMinimumSpecialActionButtonSize(Dimension size)
          Sets the minimum size of small-size of special action buttons used as integration components for controllers activated by buttons.
static void setOptimizesMenuAccelerators(boolean flag)
          Sets whether standard menu accelerators like Command-n (new), Command-o (open) should be constantly updated to affect the active type of document (object).
static void setQueryTextBackgroundColor(Color color)
          Sets the color used for the background of query text fields.
static void setSmallActionTitleFont(Font font)
          Sets the font used for small-size action buttons.
static void setSmallActionTitlePosition(int position)
          Sets the title position in small-size action buttons.
static void setSpecialActionTitleFont(Font font)
          Sets the font used for special action buttons.
static void setSpecialActionTitlePosition(int position)
          Sets the title position in the special action buttons used as integration components for controllers activated by buttons.
static void setStandardResourceBundle(ResourceBundle resourceBundle)
          Sets the resource bundle used by the methods on EOUserInterfaceParameters to retrieve localized and platform specific resources.
static void setTitleColor(Color color)
          Sets the color used for titles, for example in boxes and tab views.
static void setTitleFont(Font font)
          Sets the font used for titles, for example in boxes and tab views.
static void setUsesBorderWithActionIcons(boolean flag)
          Sets whether large-size action buttons with icons use borders or not.
static void setUsesBorderWithSmallActionIcons(boolean flag)
          Sets whether small-size action buttons with icons use borders or not.
static void setUsesSpecialColors(boolean flag)
          Sets whether widgets generated dynamically by controllers use the colors specified in EOUserInterfaceParameters or not.
static void setUsesSpecialFonts(boolean flag)
          Sets whether widgets generated dynamically by controllers use the fonts specified in EOUserInterfaceParameters or not.
static void setUsesTitleWithActionIcons(boolean flag)
          Sets whether large-size action buttons with icons also display titles or not.
static void setUsesTitleWithSmallActionIcons(boolean flag)
          Sets whether small-size action buttons with icons also display titles or not.
static void setUsesWindowMenus(boolean flag)
          Sets whether all windows (frames) of the application should show the standard application actions menu.
static void setWidgetFont(Font font)
          Sets the font used for normal input widgets, for example text fields.
static Font smallActionTitleFont()
          Returns the font used for small-size action buttons.
static int smallActionTitlePosition()
          Returns the title position in small-size action buttons.
static int smallBorder()
          Returns the small border size used by the default controller layout mechanisms.
static Font specialActionTitleFont()
          Returns the font used for special action buttons.
static int specialActionTitlePosition()
          Returns the title position in the special action buttons used as integration components for controllers activated by buttons.
static Icon standardActionIcon(String actionName)
          Returns a localized version of a large-size icon representing the action actionName (for example "save") or null if no icon for the action can be found.
static ResourceBundle standardResourceBundle()
          Returns the resource bundle used by the methods on EOUserInterfaceParameters to retrieve localized and platform specific resources.
static Icon standardSmallActionIcon(String actionName)
          Returns a localized version of a small-size icon representing the action actionName (for example "save") or null if no icon for the action can be found.
static Color titleColor()
          Returns the color used for titles, for example in boxes and tab views.
static Font titleFont()
          Returns the font used for titles, for example in boxes and tab views.
static boolean usesBorderWithActionIcons()
          Returns whether large-size action buttons with icons use borders or not.
static boolean usesBorderWithSmallActionIcons()
          Returns whether small-size action buttons with icons use borders or not.
static boolean usesSpecialColors()
          Returns whether widgets generated dynamically by controllers use the colors specified in EOUserInterfaceParameters or not.
static boolean usesSpecialFonts()
          Returns whether widgets generated dynamically by controllers use the fonts specified in EOUserInterfaceParameters or not.
static boolean usesTitleWithActionIcons()
          Returns whether large-size action buttons with icons also display titles or not.
static boolean usesTitleWithSmallActionIcons()
          Returns whether small-size action buttons with icons also display titles or not.
static boolean usesWindowMenus()
          Returns whether all windows (frames) of the application should show the standard application actions menu.
static Font widgetFont()
          Returns the font used for normal input widgets, for example text fields.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EOUserInterfaceParameters

public EOUserInterfaceParameters()
Method Detail

actionTitleFont

public static Font actionTitleFont()
Returns the font used for large-size action buttons.
Returns:
the font used for large-size action buttons

actionTitlePosition

public static int actionTitlePosition()
Returns the title position in large-size action buttons. The default is EOComponentController.Bottom.
Returns:
the position of titles in large-size action buttons

allowsActionIcons

public static boolean allowsActionIcons()
Returns whether large-size action buttons should use icons or not (if icons are available). The default is true.
Returns:
true if large-size action buttons should use icons; false otherwise

allowsIcons

public static boolean allowsIcons()
Deprecated. This method has no effect any more.


allowsSmallActionIcons

public static boolean allowsSmallActionIcons()
Returns whether small-size action buttons should use icons or not (if icons are available). The default is true.
Returns:
true if small-size action buttons should use icons; false otherwise

disabledTextBackgroundColor

public static Color disabledTextBackgroundColor()
Returns the color used for the background of disabled text fields.
Returns:
the color used for the background of disabled text fields

editableTextBackgroundColor

public static Color editableTextBackgroundColor()
Returns the color used for the background of editable text fields.
Returns:
the color used for the background of editable text fields

highlightLabelColor

public static Color highlightLabelColor()
Returns the color used for highlighted labels (in front of widgets).
Returns:
the color used for highlighted labels

highlightLabelFont

public static Font highlightLabelFont()
Returns the font used for highlighted labels (in front of widgets).
Returns:
the font used for highlighted labels

highlightTitleColor

public static Color highlightTitleColor()
Returns the color used for highlighted titles, for example in boxes and tab views.
Returns:
the color used for highlighted titles

highlightTitleFont

public static Font highlightTitleFont()
Returns the font used for highlighted titles, for example in boxes and tab views.
Returns:
the font used for highlighted titles

labelColor

public static Color labelColor()
Returns the color used for labels (in front of widgets).
Returns:
the color used for labels

labelFont

public static Font labelFont()
Returns the font used for labels (in front of widgets).
Returns:
the font used for labels

largeBorder

public static int largeBorder()
Returns the large border size used by the default controller layout mechanisms. The default is 6.
Returns:
the large border size used in the default controller layout mechanisms

localizedIcon

public static Icon localizedIcon(String iconName)
Returns a localized version of the icon named iconName or null if no icon can be found with the specified name.
Parameters:
iconName - the name of the localized icon to load
Returns:
the icon or null if no icon can be found with the specified name

localizedString

public static String localizedString(String string)
Returns a localized version of string or string itself if no localized version can be found.
Parameters:
string - the string to localize
Returns:
the localized string

makeIconBackgroundsTransparent

public static boolean makeIconBackgroundsTransparent()
Returns whether the background of all icons loaded through the default resource bundle should be made explicitly transparent. This option is useful if you load your own icons whithout transparent background. The assumption is that the pixel in the top-left corner of the icons determines the background color. The default is false.
Returns:
true if icon backgrounds should be made explicitly transparent; false otherwise

mediumBorder

public static int mediumBorder()
Returns the medium border size used by the default controller layout mechanisms. The default is 2.
Returns:
the medium border size used in the default controller layout mechanisms

minimumActionButtonSize

public static Dimension minimumActionButtonSize()
Returns the minimum size of large-size action buttons. The default is 60 x 48.
Returns:
the minimum size of large-size action buttons

minimumSmallActionButtonSize

public static Dimension minimumSmallActionButtonSize()
Returns the minimum size of small-size action buttons. The default is 60 x 12.
Returns:
the minimum size of small-size action buttons

minimumSpecialActionButtonSize

public static Dimension minimumSpecialActionButtonSize()
Returns the minimum size of special action buttons used as integration components for controllers activated by buttons. The default is 60 x 16.
Returns:
the minimum size of special action buttons

optimizesMenuAccelerators

public static boolean optimizesMenuAccelerators()
Returns whether standard menu accelerators like Command-n (new), Command-o (open) should be constantly updated to affect the active type of document (object). The default is true.
Returns:
flag true if standard menu accelerators should be updated based on the active type of document; false otherwise

queryTextBackgroundColor

public static Color queryTextBackgroundColor()
Returns the color used for the background of query text fields.
Returns:
the color used for the background of query text fields

setActionTitleFont

public static void setActionTitleFont(Font font)
Sets the font used for large-size action buttons.
Parameters:
font - the font used for large-size action buttons

setActionTitlePosition

public static void setActionTitlePosition(int position)
Sets the title position in large-size action buttons. The default is EOComponentController.Bottom.
Parameters:
position - the position of titles in large-size action buttons

setAllowsActionIcons

public static void setAllowsActionIcons(boolean flag)
Sets whether large-size action buttons should use icons or not (if icons are available). The default is true.
Parameters:
flag - true if large-size action buttons should use icons; false otherwise

setAllowsIcons

public static void setAllowsIcons(boolean flag)
Deprecated. This method has no effect any more.


setAllowsSmallActionIcons

public static void setAllowsSmallActionIcons(boolean flag)
Sets whether small-size action buttons should use icons or not (if icons are available).
Parameters:
flag - true if small-size action buttons should use icons; false otherwise

setBorders

public static void setBorders(int smallBorder,
                              int mediumBorder,
                              int largeBorder)
Sets the border sizes used by the default controller layout mechanisms. The default for small borders is 1, the default for medium borders is 2, and the default for large borders is 6.
Parameters:
smallBorder - the small border size used in the default controller layout mechanisms
mediumBorder - the medium border size used in the default controller layout mechanisms
largeBorder - the large border size used in the default controller layout mechanisms

setDisabledTextBackgroundColor

public static void setDisabledTextBackgroundColor(Color color)
Sets the color used for the background of disabled text fields. Also updates the default background color used by EOTextAssociations unless it has been set explicitly before.
Parameters:
color - the color used for the background of disabled text fields

setEditableTextBackgroundColor

public static void setEditableTextBackgroundColor(Color color)
Sets the color used for the background of editable text fields. Also updates the default background color used by EOTextAssociations unless it has been set explicitly before.
Parameters:
color - the color used for the background of editable text fields

setHighlightLabelColor

public static void setHighlightLabelColor(Color color)
Sets the color used for highlighted labels (in front of widgets).
Parameters:
color - the color used for highlighted labels

setHighlightLabelFont

public static void setHighlightLabelFont(Font font)
Sets the font used for highlighted labels (in front of widgets).
Parameters:
font - the font used for highlighted labels

setHighlightTitleColor

public static void setHighlightTitleColor(Color color)
Sets the color used for highlighted titles, for example in boxes and tab views.
Parameters:
color - the color used for highlighted titles

setHighlightTitleFont

public static void setHighlightTitleFont(Font font)
Sets the font used for highlighted titles, for example in boxes and tab views.
Parameters:
font - the font used for highlighted titles

setLabelColor

public static void setLabelColor(Color color)
Sets the color used for labels (in front of widgets).
Parameters:
color - the color used for labels

setLabelFont

public static void setLabelFont(Font font)
Sets the font used for labels (in front of widgets).
Parameters:
font - the font used for labels

setMakeIconBackgroundsTransparent

public static void setMakeIconBackgroundsTransparent(boolean flag)
Sets whether the background of all icons loaded through the default resource bundle should be made explicitly transparent. This option is useful if you load your own icons whithout transparent background. The assumption is that the pixel in the top-left corner of the icons determines the background color. The default is false.
Parameters:
flag - true if icon backgrounds should be made explicitly transparent; false otherwise

setMinimumActionButtonSize

public static void setMinimumActionButtonSize(Dimension size)
Sets the minimum size of large-size action buttons. The default is 60 x 48.
Parameters:
size - the minimum size of large-size action buttons

setMinimumSmallActionButtonSize

public static void setMinimumSmallActionButtonSize(Dimension size)
Sets the minimum size of small-size action buttons. The default is 60 x 12.
Parameters:
size - the minimum size of small-size action buttons

setMinimumSpecialActionButtonSize

public static void setMinimumSpecialActionButtonSize(Dimension size)
Sets the minimum size of small-size of special action buttons used as integration components for controllers activated by buttons. The default is 60 x 16.
Parameters:
size - the minimum size of special action buttons

setOptimizesMenuAccelerators

public static void setOptimizesMenuAccelerators(boolean flag)
Sets whether standard menu accelerators like Command-n (new), Command-o (open) should be constantly updated to affect the active type of document (object). The default is true.
Parameters:
flag - true if standard menu accelerators should be updated based on the active type of document; false otherwise

setQueryTextBackgroundColor

public static void setQueryTextBackgroundColor(Color color)
Sets the color used for the background of query text fields.
Parameters:
color - the color used for the background of query text fields

setSmallActionTitleFont

public static void setSmallActionTitleFont(Font font)
Sets the font used for small-size action buttons.
Parameters:
font - the font used for small-size action buttons

setSmallActionTitlePosition

public static void setSmallActionTitlePosition(int position)
Sets the title position in small-size action buttons. The default is EOComponentController.Right.
Parameters:
position - the position of titles in small-size action buttons

setSpecialActionTitleFont

public static void setSpecialActionTitleFont(Font font)
Sets the font used for special action buttons.
Parameters:
font - the font used for special action buttons

setSpecialActionTitlePosition

public static void setSpecialActionTitlePosition(int position)
Sets the title position in the special action buttons used as integration components for controllers activated by buttons. The default is EOComponentController.Right.
Parameters:
position - the position of titles in special action buttons

setStandardResourceBundle

public static void setStandardResourceBundle(ResourceBundle resourceBundle)
Sets the resource bundle used by the methods on EOUserInterfaceParameters to retrieve localized and platform specific resources. The default is an instance of EODefautResourceBundle.
Parameters:
resourceBundle - the resource bundle used to retrieve localized and platform specific resources

setTitleColor

public static void setTitleColor(Color color)
Sets the color used for titles, for example in boxes and tab views.
Parameters:
color - the color used for titles

setTitleFont

public static void setTitleFont(Font font)
Sets the font used for titles, for example in boxes and tab views.
Parameters:
font - the font used for titles

setUsesBorderWithActionIcons

public static void setUsesBorderWithActionIcons(boolean flag)
Sets whether large-size action buttons with icons use borders or not. The default is false on Mac OS X and true on all other platforms.
Parameters:
flag - true if large-size action buttons with icons use borders; false otherwise

setUsesBorderWithSmallActionIcons

public static void setUsesBorderWithSmallActionIcons(boolean flag)
Sets whether small-size action buttons with icons use borders or not. The default is false on Mac OS X and true on all other platforms.
Parameters:
flag - true if small-size action buttons with icons use borders; false otherwise

setUsesSpecialColors

public static void setUsesSpecialColors(boolean flag)
Sets whether widgets generated dynamically by controllers use the colors specified in EOUserInterfaceParameters or not. If not, widgets simply use the default colors. By using the colors specified in EOUserInterfaceParameters, application user interfaces look more consistent and you can change the look of the complete application with one single set method. The default is false, but the EODynamicApplication class used for Direct to Java Client sets it to true at startup time.
Parameters:
flag - true if dynamically generated widgets should use the colors specified in EOUserInterfaceParameters; false otherwise

setUsesSpecialFonts

public static void setUsesSpecialFonts(boolean flag)
Sets whether widgets generated dynamically by controllers use the fonts specified in EOUserInterfaceParameters or not. If not, widgets simply use the default fonts. By using the fonts specified in EOUserInterfaceParameters, application user interfaces look more consistent and you can change the look of the complete application with one single set method. The default is false, but the EODynamicApplication class used for Direct to Java Client sets it to true at startup time.
Parameters:
flag - true if dynamically generated widgets should use the fonts specified in EOUserInterfaceParameters; false otherwise

setUsesTitleWithActionIcons

public static void setUsesTitleWithActionIcons(boolean flag)
Sets whether large-size action buttons with icons also display titles or not. The default is true.
Parameters:
flag - true if large-size action buttons with icons also display titles; false otherwise

setUsesTitleWithSmallActionIcons

public static void setUsesTitleWithSmallActionIcons(boolean flag)
Sets whether small-size action buttons with icons also display titles or not. The default is true.
Parameters:
flag - true if small-size action buttons with icons also display titles; false otherwise

setUsesWindowMenus

public static void setUsesWindowMenus(boolean flag)
Sets whether all windows (frames) of the application should show the standard application actions menu. The default is true.
Parameters:
flag - true if all frames should show the standard application actions menu; false otherwise

setWidgetFont

public static void setWidgetFont(Font font)
Sets the font used for normal input widgets, for example text fields.
Parameters:
font - the font used for normal input widgets

smallActionTitleFont

public static Font smallActionTitleFont()
Returns the font used for small-size action buttons.
Returns:
the font used for small-size action buttons

smallActionTitlePosition

public static int smallActionTitlePosition()
Returns the title position in small-size action buttons. The default is EOComponentController.Right.
Returns:
the position of titles in small-size action buttons

smallBorder

public static int smallBorder()
Returns the small border size used by the default controller layout mechanisms. The default is 1.
Returns:
the small border size used in the default controller layout mechanisms

specialActionTitleFont

public static Font specialActionTitleFont()
Returns the font used for special action buttons.
Returns:
the font used for special action buttons

specialActionTitlePosition

public static int specialActionTitlePosition()
Returns the title position in the special action buttons used as integration components for controllers activated by buttons. The default is EOComponentController.Right.
Returns:
the position of titles in special action buttons.

standardActionIcon

public static Icon standardActionIcon(String actionName)
Returns a localized version of a large-size icon representing the action actionName (for example "save") or null if no icon for the action can be found. The name of the icon looked up is derived from the action name as "ActionIcon", (for example "ActionIconSave").
Parameters:
actionName - the name of the action
Returns:
the icon or null if no icon can be found for the action

standardResourceBundle

public static ResourceBundle standardResourceBundle()
Returns the resource bundle used by the methods on EOUserInterfaceParameters to retrieve localized and platform specific resources. The default is an instance of EODefautResourceBundle.
Returns:
the resource bundle used to retrieve localized and platform specific resources

standardSmallActionIcon

public static Icon standardSmallActionIcon(String actionName)
Returns a localized version of a small-size icon representing the action actionName (for example "save") or null if no icon for the action can be found. The name of the icon looked up is derived from the action name as "SmallActionIcon", (for example "SmallActionIconSave").
Parameters:
actionName - the name of the action
Returns:
the icon or null if no icon can be found for the action

titleColor

public static Color titleColor()
Returns the color used for titles, for example in boxes and tab views.
Returns:
the color used for titles

titleFont

public static Font titleFont()
Returns the font used for titles, for example in boxes and tab views.
Returns:
the font used for titles

usesBorderWithActionIcons

public static boolean usesBorderWithActionIcons()
Returns whether large-size action buttons with icons use borders or not. The default is false on Mac OS X and true on all other platforms.
Returns:
true if large-size action buttons with icons use borders; false otherwise

usesBorderWithSmallActionIcons

public static boolean usesBorderWithSmallActionIcons()
Returns whether small-size action buttons with icons use borders or not. The default is false on Mac OS X and true on all other platforms.
Returns:
true if small-size action buttons with icons use borders; false otherwise

usesSpecialColors

public static boolean usesSpecialColors()
Returns whether widgets generated dynamically by controllers use the colors specified in EOUserInterfaceParameters or not. If not, widgets simply use the default colors. By using the colors specified in EOUserInterfaceParameters, application user interfaces look more consistent and you can change the look of the complete application with one single set method. The default is false, but the EODynamicApplication class used for Direct to Java Client sets it to true at startup time.
Returns:
true if dynamically generated widgets should use the colors specified in EOUserInterfaceParameters; false otherwise

usesSpecialFonts

public static boolean usesSpecialFonts()
Returns whether widgets generated dynamically by controllers use the fonts specified in EOUserInterfaceParameters or not. If not, widgets simply use the default fonts. By using the fonts specified in EOUserInterfaceParameters, application user interfaces look more consistent and you can change the look of the complete application with one single set method. The default is false, but the EODynamicApplication class used for Direct to Java Client sets it to true at startup time.
Returns:
true if dynamically generated widgets should use the fonts specified in EOUserInterfaceParameters; false otherwise

usesTitleWithActionIcons

public static boolean usesTitleWithActionIcons()
Returns whether large-size action buttons with icons also display titles or not. The default is true.
Returns:
true if large-size action buttons with icons also display titles; false otherwise

usesTitleWithSmallActionIcons

public static boolean usesTitleWithSmallActionIcons()
Returns whether small-size action buttons with icons also display titles or not. The default is true.
Returns:
true if small-size action buttons with icons also display titles; false otherwise

usesWindowMenus

public static boolean usesWindowMenus()
Returns whether all windows (frames) of the application should show the standard application actions menu. The default is true.
Returns:
true if all frames should show the standard application actions menu; false otherwise

widgetFont

public static Font widgetFont()
Returns the font used for normal input widgets, for example text fields.
Returns:
the font used for normal input widgets

Last updated Thu Jan 10 18:10:21 PST 2002.

Copyright © 2002 Apple Computer, Inc.