|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.MutableStyle
nextapp.echo2.app.DerivedMutableStyle
A MutableStyle which will retrieve properties from a
"parent" style when they are not set locally.
| Nested Class Summary |
| Nested classes inherited from class nextapp.echo2.app.MutableStyle |
MutableStyle.IndexedPropertyValue |
| Constructor Summary | |
DerivedMutableStyle()
Default constructor. |
|
DerivedMutableStyle(Style parentStyle)
Creates a new DerivedMutableStyle. |
|
| Method Summary | |
java.lang.Object |
getIndexedProperty(java.lang.String propertyName,
int propertyIndex)
Retrieves the value of the specified indexed property. |
Style |
getParentStyle()
Returns the parent style. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Retrieves the value of the specified property. |
boolean |
isIndexedPropertySet(java.lang.String propertyName,
int propertyIndex)
Determines if a particular index of an indexed property is set. |
boolean |
isPropertySet(java.lang.String propertyName)
Determines if a particular property is set. |
void |
setParentStyle(Style parentStyle)
Sets the parent style, from which properties will be retrieved if they are not found in this style. |
| Methods inherited from class nextapp.echo2.app.MutableStyle |
addStyleContent, getPropertyIndices, getPropertyNames, removeIndexedProperty, removeProperty, setIndexedProperty, setProperty, size, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DerivedMutableStyle()
public DerivedMutableStyle(Style parentStyle)
DerivedMutableStyle.
parentStyle - the style from which to retrieve properties
when they are not set within this style| Method Detail |
public Style getParentStyle()
public java.lang.Object getIndexedProperty(java.lang.String propertyName,
int propertyIndex)
Style
getIndexedProperty in interface StylegetIndexedProperty in class MutableStyleStyle.getIndexedProperty(java.lang.String, int)public java.lang.Object getProperty(java.lang.String propertyName)
Style
getProperty in interface StylegetProperty in class MutableStyleStyle.getProperty(java.lang.String)
public boolean isIndexedPropertySet(java.lang.String propertyName,
int propertyIndex)
Style
isIndexedPropertySet in interface StyleisIndexedPropertySet in class MutableStyleStyle.isIndexedPropertySet(java.lang.String, int)public boolean isPropertySet(java.lang.String propertyName)
Style
isPropertySet in interface StyleisPropertySet in class MutableStyleStyle.isPropertySet(java.lang.String)public void setParentStyle(Style parentStyle)
parentStyle - the parent style
|
NextApp Echo2 v2.1.0.rc2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||