Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.laf
Class LookAndFeelManager

java.lang.Object
  |
  +--oracle.cabo.ui.laf.LookAndFeelManager

public class LookAndFeelManager
extends java.lang.Object

Manages the set of LookAndFeel instances. LookAndFeel instances can be registered per-Agent basis.

See Also:
LookAndFeel

Method Summary
static LookAndFeelManager createDefaultLookAndFeelManager()
          Creates a LookAndFeelManager with default LookAndFeels registered.
static LookAndFeelManager createDefaultLookAndFeelManager(javax.servlet.ServletContext context)
          Creates a LookAndFeelManager with default LookAndFeels registered.
static LookAndFeelManager getDefaultLookAndFeelManager()
          Returns the shared instanceof of LookAndFeelManager.
 LookAndFeel getLookAndFeel(RenderingContext context)
          Gets the LookAndFeel for the specified RenderingContext.
 void registerLookAndFeel(oracle.cabo.ui.laf.LookAndFeelScorer scorer, LookAndFeel laf)
          Registers the specified LookAndFeel to be used with the specified scorer.
 void registerUIExtension(UIExtension extension)
          Adds a UIExtension to this manager.
 void unregisterLookAndFeel(oracle.cabo.ui.laf.LookAndFeelScorer scorer)
          Unregisters the LookAndFeel for the specified scorer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultLookAndFeelManager

public static LookAndFeelManager getDefaultLookAndFeelManager()
Returns the shared instanceof of LookAndFeelManager.

createDefaultLookAndFeelManager

public static LookAndFeelManager createDefaultLookAndFeelManager()
Creates a LookAndFeelManager with default LookAndFeels registered.

createDefaultLookAndFeelManager

public static LookAndFeelManager createDefaultLookAndFeelManager(javax.servlet.ServletContext context)
Creates a LookAndFeelManager with default LookAndFeels registered.

getLookAndFeel

public LookAndFeel getLookAndFeel(RenderingContext context)
Gets the LookAndFeel for the specified RenderingContext.

registerLookAndFeel

public void registerLookAndFeel(oracle.cabo.ui.laf.LookAndFeelScorer scorer,
                                LookAndFeel laf)
Registers the specified LookAndFeel to be used with the specified scorer.

unregisterLookAndFeel

public void unregisterLookAndFeel(oracle.cabo.ui.laf.LookAndFeelScorer scorer)
Unregisters the LookAndFeel for the specified scorer.

registerUIExtension

public void registerUIExtension(UIExtension extension)
Adds a UIExtension to this manager. The extension will automatically be registered with all LookAndFeels associated with this manager.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.