Extension SDK 10.1.3.36.73

oracle.ide
Class IdeUIManager

java.lang.Object
  extended byoracle.ide.IdeUIManager
All Implemented Interfaces:
Addin

public abstract class IdeUIManager
extends java.lang.Object
implements Addin

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
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.
abstract  IdeUIManager.ThemeInfo[] getInstalledThemes(java.lang.String lafClassName)
          Returns information about the color themes that are available for the specified look-and-feel.
static IdeUIManager getUIManager()
           
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
 
Methods inherited from interface oracle.ide.Addin
initialize
 

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

Extension SDK 10.1.3.36.73

 

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