NextApp Echo3
v3.0.b4

nextapp.echo.app
Interface StyleSheet

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
MutableStyleSheet

public interface StyleSheet
extends java.io.Serializable

A collection of component-specific named styles.


Method Summary
 java.util.Iterator getComponentTypes(java.lang.String styleName)
          Retrieves the names of all component types present in the StyleSheet with the specified name.
 Style getStyle(java.lang.String styleName, java.lang.Class componentClass, boolean searchSuperClasses)
          Retrieves the appropriate style for the specified component class and style name.
 java.util.Iterator getStyleNames()
          Retrieves the names of all styles present in the StyleSheet
 

Method Detail

getStyleNames

java.util.Iterator getStyleNames()
Retrieves the names of all styles present in the StyleSheet

Returns:
an iterator containing Strings naming all styles present

getComponentTypes

java.util.Iterator getComponentTypes(java.lang.String styleName)
Retrieves the names of all component types present in the StyleSheet with the specified name.

Parameters:
styleName - the style name
Returns:
an iterator containing Classes providing the fully qualified names of all component types which provide styles for the styleName value

getStyle

Style getStyle(java.lang.String styleName,
               java.lang.Class componentClass,
               boolean searchSuperClasses)
Retrieves the appropriate style for the specified component class and style name.

Parameters:
styleName - the name of the Component's specified named style
componentClass - the Class of the Component for which style information is being determined
searchSuperClasses - flag indicating whether a style for a superclass should be returned in the event that no specific style can be found for the specified componentClass
Returns:
the appropriate Style if found, or null otherwise

NextApp Echo3
v3.0.b4