< prev index next >

src/java.desktop/share/classes/javax/swing/text/FlowView.java

Print this page

        

@@ -67,11 +67,11 @@
      * Fetches the axis along which views should be
      * flowed.  By default, this will be the axis
      * orthogonal to the axis along which the flow
      * rows are tiled (the axis of the default flow
      * rows themselves).  This is typically used
-     * by the <code>FlowStrategy</code>.
+     * by the {@code FlowStrategy}.
      * @return the axis along which views should be
      * flowed
      */
     public int getFlowAxis() {
         if (getAxis() == Y_AXIS) {

@@ -129,11 +129,11 @@
 
     // ---- BoxView methods -------------------------------------
 
     /**
      * Loads all of the children to initialize the view.
-     * This is called by the <code>setParent</code> method.
+     * This is called by the {@code setParent} method.
      * This is reimplemented to not load any children directly
      * (as they are created in the process of formatting).
      * If the layoutPool variable is null, an instance of
      * LogicalView is created to represent the logical view
      * that is used in the process of formatting.

@@ -413,12 +413,12 @@
 
         /**
          * Gives notification from the document that attributes were changed
          * in a location that this view is responsible for.
          *
-         * @param fv     the <code>FlowView</code> containing the changes
-         * @param e      the <code>DocumentEvent</code> describing the changes
+         * @param fv     the {@code FlowView} containing the changes
+         * @param e      the {@code DocumentEvent} describing the changes
          *               done to the Document
          * @param alloc  Bounds of the View
          * @see View#changedUpdate
          */
         public void changedUpdate(FlowView fv, DocumentEvent e, Rectangle alloc) {
< prev index next >