|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.app.MutableStyle
nextapp.echo.app.DerivedMutableStyle
public class DerivedMutableStyle
A MutableStyle which will retrieve properties from a
"parent" style when they are not set locally.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class nextapp.echo.app.MutableStyle |
|---|
MutableStyle.IndexedPropertyValue |
| Constructor Summary | |
|---|---|
DerivedMutableStyle()
Default constructor. |
|
DerivedMutableStyle(Style parentStyle)
Creates a new DerivedMutableStyle. |
|
| Method Summary | |
|---|---|
java.lang.Object |
get(java.lang.String propertyName)
Retrieves the value of the specified property. |
java.lang.Object |
getIndex(java.lang.String propertyName,
int propertyIndex)
Retrieves the value of the specified indexed property. |
Style |
getParentStyle()
Returns the parent style. |
java.util.Iterator |
getPropertyNames()
Retrieves the names of all set properties. |
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.echo.app.MutableStyle |
|---|
addStyleContent, getIndexedProperty, getProperty, getPropertyIndices, removeIndexedProperty, removeProperty, set, setIndex, 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 getIndex(java.lang.String propertyName,
int propertyIndex)
Style
getIndex in interface StylegetIndex in class MutableStyleStyle.getIndex(java.lang.String, int)public java.lang.Object get(java.lang.String propertyName)
Style
get in interface Styleget in class MutableStyleStyle.get(java.lang.String)public java.util.Iterator getPropertyNames()
Style
getPropertyNames in interface StylegetPropertyNames in class MutableStyleIterator that returns the names of all set
propertiesStyle.getPropertyNames()
public boolean isIndexedPropertySet(java.lang.String propertyName,
int propertyIndex)
Style
isIndexedPropertySet in interface StyleisIndexedPropertySet in class MutableStylepropertyName - the property namepropertyIndex - the index
Style.isIndexedPropertySet(java.lang.String, int)public boolean isPropertySet(java.lang.String propertyName)
Style
isPropertySet in interface StyleisPropertySet in class MutableStylepropertyName - the property name
Style.isPropertySet(java.lang.String)public void setParentStyle(Style parentStyle)
parentStyle - the parent style
|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||