< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/multi/MultiLookAndFeel.java

Print this page

        

@@ -46,11 +46,11 @@
  * Serialized objects of this class will not be compatible with
  * future Swing releases. The current serialization support is
  * appropriate for short term storage or RMI between applications running
  * the same version of Swing.  As of 1.4, support for long term storage
  * of all JavaBeans&trade;
- * has been added to the <code>java.beans</code> package.
+ * has been added to the {@code java.beans} package.
  * Please see {@link java.beans.XMLEncoder}.
  *
  * @see UIManager#addAuxiliaryLookAndFeel
  * @see javax.swing.plaf.multi
  *

@@ -91,24 +91,24 @@
     public String getDescription() {
         return "Allows multiple UI instances per component instance";
     }
 
     /**
-     * Returns <code>false</code>;
+     * Returns {@code false};
      * this look and feel is not native to any platform.
      *
-     * @return <code>false</code>
+     * @return {@code false}
      */
     public boolean isNativeLookAndFeel() {
         return false;
     }
 
     /**
-     * Returns <code>true</code>;
+     * Returns {@code true};
      * every platform permits this look and feel.
      *
-     * @return <code>true</code>
+     * @return {@code true}
      */
     public boolean isSupportedLookAndFeel() {
         return true;
     }
 

@@ -117,14 +117,14 @@
      * the look and feel specific defaults.
      * For this look and feel,
      * the defaults consist solely of
      * mappings of UI class IDs
      * (such as "ButtonUI")
-     * to <code>ComponentUI</code> class names
+     * to {@code ComponentUI} class names
      * (such as "javax.swing.plaf.multi.MultiButtonUI").
      *
-     * @return an initialized <code>UIDefaults</code> object
+     * @return an initialized {@code UIDefaults} object
      * @see javax.swing.JComponent#getUIClassID
      */
     public UIDefaults getDefaults() {
         String packageName = "javax.swing.plaf.multi.Multi";
         Object[] uiDefaults = {

@@ -181,41 +181,41 @@
 ///////////////////////////////
 // Utility methods for the UI's
 ///////////////////////////////
 
     /**
-     * Creates the <code>ComponentUI</code> objects
+     * Creates the {@code ComponentUI} objects
      * required to present
-     * the <code>target</code> component,
-     * placing the objects in the <code>uis</code> vector and
+     * the {@code target} component,
+     * placing the objects in the {@code uis} vector and
      * returning the
-     * <code>ComponentUI</code> object
+     * {@code ComponentUI} object
      * that best represents the component's UI.
-     * This method finds the <code>ComponentUI</code> objects
+     * This method finds the {@code ComponentUI} objects
      * by invoking
-     * <code>getDefaults().getUI(target)</code> on each
+     * {@code getDefaults().getUI(target)} on each
      * default and auxiliary look and feel currently in use.
      * The first UI object this method adds
-     * to the <code>uis</code> vector
+     * to the {@code uis} vector
      * is for the default look and feel.
      * <p>
-     * This method is invoked by the <code>createUI</code> method
-     * of <code>MultiXxxxUI</code> classes.
+     * This method is invoked by the {@code createUI} method
+     * of {@code MultiXxxxUI} classes.
      *
-     * @param mui the <code>ComponentUI</code> object
+     * @param mui the {@code ComponentUI} object
      *            that represents the complete UI
-     *            for the <code>target</code> component;
+     *            for the {@code target} component;
      *            this should be an instance
-     *            of one of the <code>MultiXxxxUI</code> classes
-     * @param uis a <code>Vector</code>;
-     *            generally this is the <code>uis</code> field
-     *            of the <code>mui</code> argument
-     * @param target a component whose UI is represented by <code>mui</code>
+     *            of one of the {@code MultiXxxxUI} classes
+     * @param uis a {@code Vector};
+     *            generally this is the {@code uis} field
+     *            of the {@code mui} argument
+     * @param target a component whose UI is represented by {@code mui}
      *
-     * @return <code>mui</code> if the component has any auxiliary UI objects;
+     * @return {@code mui} if the component has any auxiliary UI objects;
      *         otherwise, returns the UI object for the default look and feel
-     *         or <code>null</code> if the default UI object couldn't be found
+     *         or {@code null} if the default UI object couldn't be found
      *
      * @see javax.swing.UIManager#getAuxiliaryLookAndFeels
      * @see javax.swing.UIDefaults#getUI
      * @see MultiButtonUI#uis
      * @see MultiButtonUI#createUI

@@ -256,18 +256,18 @@
 
     /**
      * Creates an array,
      * populates it with UI objects from the passed-in vector,
      * and returns the array.
-     * If <code>uis</code> is null,
+     * If {@code uis} is null,
      * this method returns an array with zero elements.
-     * If <code>uis</code> is an empty vector,
-     * this method returns <code>null</code>.
-     * A run-time error occurs if any objects in the <code>uis</code> vector
-     * are not of type <code>ComponentUI</code>.
+     * If {@code uis} is an empty vector,
+     * this method returns {@code null}.
+     * A run-time error occurs if any objects in the {@code uis} vector
+     * are not of type {@code ComponentUI}.
      *
-     * @param uis a vector containing <code>ComponentUI</code> objects
+     * @param uis a vector containing {@code ComponentUI} objects
      * @return an array equivalent to the passed-in vector
      *
      */
     protected static ComponentUI[] uisToArray(Vector<? extends ComponentUI> uis) {
         if (uis == null) {
< prev index next >