< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/metal/MetalTreeUI.java
Print this page
@@ -36,13 +36,13 @@
import javax.swing.tree.*;
import javax.swing.plaf.basic.*;
/**
- * The metal look and feel implementation of <code>TreeUI</code>.
+ * The metal look and feel implementation of {@code TreeUI}.
* <p>
- * <code>MetalTreeUI</code> allows for configuring how to
+ * {@code MetalTreeUI} allows for configuring how to
* visually render the spacing and delineation between nodes. The following
* hints are supported:
*
* <table summary="Descriptions of supported hints: Angled, Horizontal, and None">
* <tr>
@@ -62,18 +62,18 @@
* <td>Do not draw any visual indication between nodes.</td>
* </tr>
* </table>
*
* <p>
- * As it is typically impractical to obtain the <code>TreeUI</code> from
- * the <code>JTree</code> and cast to an instance of <code>MetalTreeUI</code>
+ * As it is typically impractical to obtain the {@code TreeUI} from
+ * the {@code JTree} and cast to an instance of {@code MetalTreeUI}
* you enable this property via the client property
- * <code>JTree.lineStyle</code>. For example, to switch to
- * <code>Horizontal</code> style you would do:
- * <code>tree.putClientProperty("JTree.lineStyle", "Horizontal");</code>
+ * {@code JTree.lineStyle}. For example, to switch to
+ * {@code Horizontal} style you would do:
+ * {@code tree.putClientProperty("JTree.lineStyle", "Horizontal");}
* <p>
- * The default is <code>Angled</code>.
+ * The default is {@code Angled}.
*
* @author Tom Santos
* @author Steve Wilson (value add stuff)
*/
public class MetalTreeUI extends BasicTreeUI {
< prev index next >