2. StyleFormatter.java.

Listing 2. StyleFormatter.java.


package pec.style;

public interface StyleFormatter
{
	public void setStyleDefinition(StyleDefinition styleDef);
	public StyleDefinition getStyleDefinition();
	public java.awt.Component applyStyleDefinition(
	 java.awt.Component component, String styleKey) throws
	 java.util.MissingResourceException, Exception;
	public java.awt.Component[] applyStyleDefinition(
	 java.awt.Component[] component, String styleKey) throws
	 java.util.MissingResourceException, Exception;
	public java.util.Vector applyStyleDefinition(
	 java.util.Vector vector, String styleKey) throws
	 java.util.MissingResourceException, Exception;

}