|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.ui.themes.Theme
public final class Theme
A visual theme.
Constructor Summary | |
---|---|
Theme(java.util.Properties themeProperties) Constructs a new theme based on properties in the specified properties object. |
Method Summary | |
---|---|
ThemeProperties |
getGlobalProperties() Gets global properties of the theme. |
java.lang.String |
getId() |
java.lang.String |
getName() Gets the name of the theme. |
ThemeProperties |
getPartProperties(java.lang.String partId) Gets properties for a part. |
ThemeProperties |
getStateProperties(java.lang.String partId, java.lang.String stateId) Gets properties for a particular part and state. |
void |
setClassLoader(java.lang.ClassLoader cl) Sets the ClassLoader to use for loading resources such as images referred to in the theme file. |
void |
setId(java.lang.String id) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Theme(java.util.Properties themeProperties)
themeProperties
- a properties object containing properties for the theme. Must not be null.Method Detail |
---|
public void setClassLoader(java.lang.ClassLoader cl)
cl
- the classloader to use for loading resources. If none is specified, then the classloader containing uic.jar is used.public void setId(java.lang.String id)
public java.lang.String getId()
public java.lang.String getName()
public ThemeProperties getGlobalProperties()
public ThemeProperties getPartProperties(java.lang.String partId)
partId
- the id of the part. Must not be null.public ThemeProperties getStateProperties(java.lang.String partId, java.lang.String stateId)
partId
- the id of the part. Must not be null.stateId
- the id of the state. Must not be null.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |