< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/synth/SynthStyleFactory.java
Print this page
@@ -25,17 +25,17 @@
package javax.swing.plaf.synth;
import javax.swing.JComponent;
/**
- * Factory used for obtaining <code>SynthStyle</code>s. Each of the
- * Synth <code>ComponentUI</code>s will call into the current
- * <code>SynthStyleFactory</code> to obtain a <code>SynthStyle</code>
+ * Factory used for obtaining {@code SynthStyle}s. Each of the
+ * Synth {@code ComponentUI}s will call into the current
+ * {@code SynthStyleFactory} to obtain a {@code SynthStyle}
* for each of the distinct regions they have.
* <p>
- * The following example creates a custom <code>SynthStyleFactory</code>
- * that returns a different style based on the <code>Region</code>:
+ * The following example creates a custom {@code SynthStyleFactory}
+ * that returns a different style based on the {@code Region}:
* <pre>
* class MyStyleFactory extends SynthStyleFactory {
* public SynthStyle getStyle(JComponent c, Region id) {
* if (id == Region.BUTTON) {
* return buttonStyle;
@@ -57,11 +57,11 @@
* @since 1.5
* @author Scott Violet
*/
public abstract class SynthStyleFactory {
/**
- * Creates a <code>SynthStyleFactory</code>.
+ * Creates a {@code SynthStyleFactory}.
*/
public SynthStyleFactory() {
}
/**
< prev index next >