|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.laf.xml.LookAndFeelUtils
Utility functions for creating LookAndFeels from look and feel XML configuration files.
Method Summary | |
static ParserManager |
createDefaultManager()
Creates a ParserManager pre-registered witih all the default ParserFactories needed to create a LookAndFeel. |
static LookAndFeelExtension |
createLookAndFeelExtension(LookAndFeelManager lookAndFeelManager,
XMLProvider provider,
NameResolver resolver,
ErrorLog log,
org.xml.sax.InputSource source)
Create a LookAndFeelExtension off a generic SAX input source, using the default parsing manager. |
static LookAndFeelExtension |
createLookAndFeelExtension(LookAndFeelManager lookAndFeelManager,
XMLProvider provider,
NameResolver resolver,
ErrorLog log,
org.xml.sax.InputSource source,
ParserManager parserManager)
Create a LookAndFeelExtension off a generic SAX input source, using a custom parsing manager. |
static LookAndFeel |
getLookAndFeel(ParseContext context,
java.lang.String id)
Returns the LookAndFeel with the specified id for the current LookAndFeelManager. |
static LookAndFeelManager |
getLookAndFeelManager(ParseContext context)
Returns the current LookAndFeelManager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static LookAndFeelExtension createLookAndFeelExtension(LookAndFeelManager lookAndFeelManager, XMLProvider provider, NameResolver resolver, ErrorLog log, org.xml.sax.InputSource source) throws java.io.IOException, org.xml.sax.SAXException
lookAndFeelManager
- The LookAndFeelManager that will be used
to obtain references to LookAndFeel instances that this
LookAndFeelExtension depends on, such as the base LookAndFeel.provider
- an XMLProvider implementationresolver
- A NameResolver that can be used to locate
resources, such as source images for colorized
icons.log
- the error log for ouputting errorssource
- the SAX input source to load the LookAndFeel contents frompublic static LookAndFeelExtension createLookAndFeelExtension(LookAndFeelManager lookAndFeelManager, XMLProvider provider, NameResolver resolver, ErrorLog log, org.xml.sax.InputSource source, ParserManager parserManager) throws java.io.IOException, org.xml.sax.SAXException
lookAndFeelManager
- The LookAndFeelManager that will be used
to obtain references to LookAndFeel instances that this
LookAndFeelExtension depends on, such as the base LookAndFeel.provider
- an XMLProvider implementationresolver
- A NameResolver that can be used to locate
resources, such as source images for colorized
icons.log
- the error log for ouputting errorssource
- the SAX input source to load the LookAndFeel contents frommanager
- the ParserManager to use for parsingpublic static ParserManager createDefaultManager()
public static LookAndFeel getLookAndFeel(ParseContext context, java.lang.String id)
context
- The current ParseContextid
- The id of the LookAndFeel to retrieve.public static LookAndFeelManager getLookAndFeelManager(ParseContext context)
context
- The current ParseContext
|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |