|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.style.xml.parse.IncludePropertyNode
public class IncludePropertyNode
An IncludePropertyNode is a data structure to store this syntax: color: -tr-property-ref(".AFDarkColor:alias",color); The includeProperty element is used to include a single property of one style within another style. Thus, the -tr-property-ref element is very similar to the -tr-rule-ref element, which is stored in IncludeStyleNode. The only difference is that -tr-rule-ref includes all properties of the referenced style, whereas -tr-property-ref includes only a single property.
| Constructor Summary | |
|---|---|
IncludePropertyNode(java.lang.String name,
java.lang.String selector,
java.lang.String propertyName,
java.lang.String localPropertyName)
Creates an IncludePropertyNode. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLocalPropertyName()
Returns the name of the property as it should appear in the including style. |
java.lang.String |
getName()
Returns the name of the style to include. |
java.lang.String |
getPropertyName()
Returns the name of the property to include |
java.lang.String |
getSelector()
Returns the selector of the style to include. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IncludePropertyNode(java.lang.String name,
java.lang.String selector,
java.lang.String propertyName,
java.lang.String localPropertyName)
name - name of the included style if it is a namedStyleselector - name of the included style selector if it is a selector and not a namedStylepropertyName - propertyName of the included style you want to get the value oflocalPropertyName - if the css is color: 1px solid -tr-property-ref(...), the
localPropertyName is 'color'.| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getSelector()
public java.lang.String getPropertyName()
public java.lang.String getLocalPropertyName()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||