NextApp Echo3
v3.0.b1

nextapp.echo.app
Interface Style

All Superinterfaces:
Serializable
All Known Implementing Classes:
DerivedMutableStyle, MutableStyle

public interface Style
extends Serializable

A representation of stylistic property information about a single instance or type of component.


Method Summary
 Object get(String propertyName)
          Retrieves the value of the specified property.
 Object getIndex(String propertyName, int index)
          Retrieves the value of the specified indexed property.
 Object getIndexedProperty(String propertyName, int index)
          Deprecated. use getIndex(String, int) instead.
 Object getProperty(String propertyName)
          Deprecated. use get(String) instead.
 Iterator getPropertyIndices(String propertyName)
          Determines which indices of a particular property are set.
 Iterator getPropertyNames()
          Retrieves the names of all set properties.
 boolean isIndexedPropertySet(String propertyName, int index)
          Determines if a particular index of an indexed property is set.
 boolean isPropertySet(String propertyName)
          Determines if a particular property is set.
 

Method Detail

getIndex

Object getIndex(String propertyName,
                int index)
Retrieves the value of the specified indexed property.


getIndexedProperty

Object getIndexedProperty(String propertyName,
                          int index)
Deprecated. use getIndex(String, int) instead.

Retrieves the value of the specified indexed property.


get

Object get(String propertyName)
Retrieves the value of the specified property.


getProperty

Object getProperty(String propertyName)
Deprecated. use get(String) instead.

Retrieves the value of the specified property.


getPropertyIndices

Iterator getPropertyIndices(String propertyName)
Determines which indices of a particular property are set.

Returns:
an Iterator that returns the set indices in incrementing order as Integers

getPropertyNames

Iterator getPropertyNames()
Retrieves the names of all set properties.

Returns:
an Iterator that returns the names of all set properties

isIndexedPropertySet

boolean isIndexedPropertySet(String propertyName,
                             int index)
Determines if a particular index of an indexed property is set.

Parameters:
propertyName - the property name
index - the index
Returns:
true if the index is set

isPropertySet

boolean isPropertySet(String propertyName)
Determines if a particular property is set. In the case of an indexed property, this method will return true if any indices are set.

Parameters:
propertyName - the property name
Returns:
true if the property is set

NextApp Echo3
v3.0.b1