|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidad.skin.SkinAddition
public class SkinAddition
SkinAdditions are defined in trinidad-skins.xml file <skin-addition> They are used by custom component developers who have created custom components, and they need a way to 'push' in their own stylesheet and resource bundle for these components into some skin of their choosing, most likely the simple skin. Skin objects contain zero or more SkinAdditions. The SkinAdditions' stylesheets are merged into the Skin's own stylesheet. The SkinAdditions' resource bundle is looked at along with the Skin's own resource bundle when Skin's getTranslatedValue is called.
Constructor Summary | |
---|---|
SkinAddition(java.lang.String styleSheetName)
Constructor takes a styleSheet name. |
|
SkinAddition(java.lang.String styleSheetName,
java.lang.String resourceBundleName)
Constructor takes a styleSheet name and a resourceBundle name. |
|
SkinAddition(java.lang.String styleSheetName,
javax.faces.el.ValueBinding translationSourceValueBinding)
Constructor takes a styleSheet name and a translationSource ValueBinding. |
Method Summary | |
---|---|
java.lang.String |
getResourceBundleName()
Gets the SkinAddition's resource bundle. |
java.lang.String |
getStyleSheetName()
Gets the SkinAddition's style sheet name. |
javax.faces.el.ValueBinding |
getTranslationSourceValueBinding()
Gets the SkinAddition's translation source ValueBinding. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkinAddition(java.lang.String styleSheetName, java.lang.String resourceBundleName)
public SkinAddition(java.lang.String styleSheetName, javax.faces.el.ValueBinding translationSourceValueBinding)
public SkinAddition(java.lang.String styleSheetName)
Method Detail |
---|
public java.lang.String getStyleSheetName()
public java.lang.String getResourceBundleName()
public javax.faces.el.ValueBinding getTranslationSourceValueBinding()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |