sos.reports
Interface Theme

All Known Implementing Classes:
DefaultTheme

public interface Theme

A named style repository.

Since:
1.0

Method Summary
 java.lang.String getName()
          Returns the localized name of this theme.
 javax.swing.text.Style getStyle(java.lang.String name)
          Returns the style (or null, if none) associated with the specified name.
 java.util.Set getStyleNames()
          Returns the names of all of the styles in this theme.
 

Method Detail

getName

public java.lang.String getName()
Returns the localized name of this theme.

Returns:
this theme's name

getStyle

public javax.swing.text.Style getStyle(java.lang.String name)
Returns the style (or null, if none) associated with the specified name.

Parameters:
name - name of the style for which to fetch
Returns:
the style named name, or null if no such style exists in this theme

getStyleNames

public java.util.Set getStyleNames()
Returns the names of all of the styles in this theme.

Returns:
an immutable unordered set of this theme's style names


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.