Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide
Class IdeUIManager

java.lang.Object
  extended by oracle.ide.IdeUIManager


public abstract class IdeUIManager
extends java.lang.Object

Defines the API for handling look-and-feel specific actions in the IDE. The IdeUIManager supplements the behavior defined by UIManager, and is not a replacement for that class.


Nested Class Summary
static class IdeUIManager.ThemeInfo
          Provides information about a look-and-feel color theme, for the sake of initializing or configuring an application that supports themes.

 

Field Summary
static java.lang.String DIRTY_FONT
           
static java.lang.String FILEVIEW_ARCHIVE_ICON
           
static java.lang.String STATUS_BAR_UICLASSID
           
static java.lang.String TREE_INACTIVE_SELECTION_BACKGROUND_KEY
           
static java.lang.String TREE_INACTIVE_SELECTION_FOREGROUND_KEY
           

 

Constructor Summary
protected IdeUIManager()
           

 

Method Summary
static java.awt.Color getActiveTitleButtonColor()
           
static java.awt.Color getActiveTitleColor()
           
static java.awt.Color getActiveTitleForegroundColor()
           
static java.awt.Color getActiveTitleGradientDarkColor()
           
static java.awt.Color getActiveTitleGradientLightColor()
           
abstract  IdeUIManager.ThemeInfo getCurrentTheme(java.lang.String lafClassName)
          Returns information about the current color theme for the specified look-and-feel.
abstract  IdeUIManager.ThemeInfo getDefaultTheme(java.lang.String lafClassName)
          Returns information about the default color theme for the specified look-and-feel.
static java.awt.Color getDisabledTextColor()
           
static java.awt.Color getHighlightedTabColor()
           
static java.awt.Color getInactiveTitleButtonColor()
           
static java.awt.Color getInactiveTitleColor()
           
static java.awt.Color getInactiveTitleForegroundColor()
           
static java.awt.Color getInactiveTitleGradientDarkColor()
           
static java.awt.Color getInactiveTitleGradientLightColor()
           
abstract  IdeUIManager.ThemeInfo[] getInstalledThemes(java.lang.String lafClassName)
          Returns information about the color themes that are available for the specified look-and-feel.
static java.awt.Color getSelectedFocusedTabColor()
           
static IdeUIManager getUIManager()
           
static java.awt.Color getUnselectedTabColor()
           
static java.awt.Color getUnselectedTitleButtonColor()
           
static java.awt.Color getUnselectedTitleColor()
           
static java.awt.Color getUnselectedTitleForegroundColor()
           
abstract  void setLookAndFeel(java.lang.String lafClassName, java.lang.String themeClassName)
          Sets a new look-and-feel and color theme.
static void setUIManager(IdeUIManager uiManager)
           

 

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

 

Field Detail

STATUS_BAR_UICLASSID

public static final java.lang.String STATUS_BAR_UICLASSID
See Also:
Constant Field Values

TREE_INACTIVE_SELECTION_FOREGROUND_KEY

public static final java.lang.String TREE_INACTIVE_SELECTION_FOREGROUND_KEY
See Also:
Constant Field Values

TREE_INACTIVE_SELECTION_BACKGROUND_KEY

public static final java.lang.String TREE_INACTIVE_SELECTION_BACKGROUND_KEY
See Also:
Constant Field Values

FILEVIEW_ARCHIVE_ICON

public static final java.lang.String FILEVIEW_ARCHIVE_ICON
See Also:
Constant Field Values

DIRTY_FONT

public static final java.lang.String DIRTY_FONT
See Also:
Constant Field Values

Constructor Detail

IdeUIManager

protected IdeUIManager()

Method Detail

getUIManager

public static IdeUIManager getUIManager()

setUIManager

public static void setUIManager(IdeUIManager uiManager)

setLookAndFeel

public abstract void setLookAndFeel(java.lang.String lafClassName,
                                    java.lang.String themeClassName)
Sets a new look-and-feel and color theme.
Parameters:
lafClassName - the name of the LookAndFeel class; if null, then the look-and-feel is not changed
themeClassName - the name of the theme class; if null, then the theme is not changed

getInstalledThemes

public abstract IdeUIManager.ThemeInfo[] getInstalledThemes(java.lang.String lafClassName)
Returns information about the color themes that are available for the specified look-and-feel.
Parameters:
lafClassName - the name of the LookAndFeel class
Returns:
an array of IdeUIManager.ThemeInfo objects that describe the themes available under the specified look-and-feel; returns an empty array if the look-and-feel does not support themes, if no themes are installed, or if the specified class name is null

getCurrentTheme

public abstract IdeUIManager.ThemeInfo getCurrentTheme(java.lang.String lafClassName)
Returns information about the current color theme for the specified look-and-feel.
Parameters:
lafClassName - the name of the LookAndFeel class
Returns:
a IdeUIManager.ThemeInfo object that describes the current color theme; returns null if the specified look-and-feel does not support themes or the class name is null

getDefaultTheme

public abstract IdeUIManager.ThemeInfo getDefaultTheme(java.lang.String lafClassName)
Returns information about the default color theme for the specified look-and-feel.
Parameters:
lafClassName - the name of the LookAndFeel class
Returns:
a IdeUIManager.ThemeInfo object that describes the default color theme; returns null if the specified look-and-feel does not support themes or the class name is null

getUnselectedTabColor

public static java.awt.Color getUnselectedTabColor()

getSelectedFocusedTabColor

public static java.awt.Color getSelectedFocusedTabColor()

getDisabledTextColor

public static java.awt.Color getDisabledTextColor()

getHighlightedTabColor

public static java.awt.Color getHighlightedTabColor()

getActiveTitleColor

public static java.awt.Color getActiveTitleColor()

getActiveTitleGradientLightColor

public static java.awt.Color getActiveTitleGradientLightColor()

getActiveTitleGradientDarkColor

public static java.awt.Color getActiveTitleGradientDarkColor()

getInactiveTitleColor

public static java.awt.Color getInactiveTitleColor()

getInactiveTitleGradientLightColor

public static java.awt.Color getInactiveTitleGradientLightColor()

getInactiveTitleGradientDarkColor

public static java.awt.Color getInactiveTitleGradientDarkColor()

getInactiveTitleForegroundColor

public static java.awt.Color getInactiveTitleForegroundColor()

getUnselectedTitleColor

public static java.awt.Color getUnselectedTitleColor()

getUnselectedTitleForegroundColor

public static java.awt.Color getUnselectedTitleForegroundColor()

getActiveTitleForegroundColor

public static java.awt.Color getActiveTitleForegroundColor()

getActiveTitleButtonColor

public static java.awt.Color getActiveTitleButtonColor()

getInactiveTitleButtonColor

public static java.awt.Color getInactiveTitleButtonColor()

getUnselectedTitleButtonColor

public static java.awt.Color getUnselectedTitleButtonColor()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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