|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.netuix.laf.AbstractLookAndFeelComponent
com.bea.netuix.laf.Skin
public class Skin
Skin provides a read-only interface for retrieving information related to the current
Look and Feel skin configuration. Skin objects are valid only as long as the related
PortalLookAndFeel object is valid.
PortalLookAndFeel.getSkin()| Method Summary | |
|---|---|
List<String> |
getAvailableChromosomes()
Returns a list of all available skin chromosome names. |
String |
getChromosome()
Returns the current skin chromosome name. |
String |
getFullPath()
Returns the qualified skin path, including the current skin name. |
HtmlPathResolver |
getHtmlPathResolver()
Returns an instance of a HtmlPathResolver related to this skin. |
String |
getName()
Returns the component name. |
String |
getPath()
Returns the webapp-relative base skin path. |
String |
resolveImagePath(String uri)
Resolves the specified uri using skin images configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
LookAndFeelComponent
public String getPath()
skinPath
attribute of the lookAndFeel control, or via the skinPath parameter of the
reinit method.
public String getFullPath()
public String getChromosome()
public List<String> getAvailableChromosomes()
public HtmlPathResolver getHtmlPathResolver()
HtmlPathResolver related to this skin. The object returned from
this method shares the same validity constraint as the Skin object; it is valid only as long
as the related PortalLookAndFeel
public String resolveImagePath(String uri)
throws IllegalStateException
images configuration. It is assumed that the specified uri
is a partial image path, i.e. "button.jpg" or "images/corner.gif". NOTE: Calls to
PortalLookAndFeel.reinit() will cause all previously resolved image paths to become invalid.
LIFECYCLE RESTRICTION: This method can only be called during the render lifecycle; calls
prior to the render lifecycle will cause an IllegalStateException.
uri - parital image path to resolve
IllegalStateException - If called during an inappropriate lifecycle.PortalLookAndFeel.reinit(String, String, String, String, String, String),
"Skin configuration element <images>"
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||