Skip navigation links


com.essbase.eas.console
Class ConsoleLookAndFeel

java.lang.Object
  extended by com.essbase.eas.console.ConsoleLookAndFeel


public class ConsoleLookAndFeel
extends java.lang.Object
Author:
srasmuss TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Field Summary
static int MAX_FONT_SIZE
           

 

Constructor Summary
ConsoleLookAndFeel()
           

 

Method Summary
static java.lang.String getComponentSettingsFilename()
          the file where the settings are stored
static ConsoleLFComponent getDefaultComponent()
          Returns a list of changed components
static java.lang.Object[] getFontNames()
          gets all the font names in the system
static java.lang.Object[] getFontSizes()
          array of font sizes to be displayed on the font panel
static void handleLookAndFeelSettings()
          sets the look and feel for the app based on the settings (if any)
static void readCurrentFontList()
          Reads the current sets of fonts available to the system.
static void restoreDefaults()
          restores the defaults
static boolean saveSettings()
          Saves the changed settings to the preference file.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

MAX_FONT_SIZE

public static final int MAX_FONT_SIZE
See Also:
Constant Field Values

Constructor Detail

ConsoleLookAndFeel

public ConsoleLookAndFeel()

Method Detail

handleLookAndFeelSettings

public static void handleLookAndFeelSettings()
sets the look and feel for the app based on the settings (if any)

getFontNames

public static java.lang.Object[] getFontNames()
gets all the font names in the system
Returns:
array of strings representing the font names

getFontSizes

public static java.lang.Object[] getFontSizes()
array of font sizes to be displayed on the font panel
Returns:
array of sizes

getComponentSettingsFilename

public static java.lang.String getComponentSettingsFilename()
the file where the settings are stored
Returns:
the absolute file name

saveSettings

public static boolean saveSettings()
Saves the changed settings to the preference file.
Parameters:
uiComponents - an array of component objects
Returns:
true on success

readCurrentFontList

public static void readCurrentFontList()
Reads the current sets of fonts available to the system.

restoreDefaults

public static void restoreDefaults()
restores the defaults

getDefaultComponent

public static ConsoleLFComponent getDefaultComponent()
Returns a list of changed components
Returns:
the list

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.