提交 d4dc57a2 编写于 作者: Y yan

8025085: [javadoc] some errors in javax/swing

Reviewed-by: alexsch
Contributed-by: NDmitry Zinkevich <dmitry.zinkevich@oracle.com>
上级 3a920c7d
...@@ -149,7 +149,7 @@ public class JButton extends AbstractButton implements Accessible { ...@@ -149,7 +149,7 @@ public class JButton extends AbstractButton implements Accessible {
/** /**
* Returns a string that specifies the name of the L&F class * Returns a string that specifies the name of the L&amp;F class
* that renders this component. * that renders this component.
* *
* @return the string "ButtonUI" * @return the string "ButtonUI"
...@@ -157,7 +157,7 @@ public class JButton extends AbstractButton implements Accessible { ...@@ -157,7 +157,7 @@ public class JButton extends AbstractButton implements Accessible {
* @see UIDefaults#getUI * @see UIDefaults#getUI
* @beaninfo * @beaninfo
* expert: true * expert: true
* description: A string that specifies the name of the L&F class. * description: A string that specifies the name of the L&amp;F class.
*/ */
public String getUIClassID() { public String getUIClassID() {
return uiClassID; return uiClassID;
......
...@@ -230,7 +230,7 @@ public class JCheckBox extends JToggleButton implements Accessible { ...@@ -230,7 +230,7 @@ public class JCheckBox extends JToggleButton implements Accessible {
/** /**
* Returns a string that specifies the name of the L&F class * Returns a string that specifies the name of the L&amp;F class
* that renders this component. * that renders this component.
* *
* @return the string "CheckBoxUI" * @return the string "CheckBoxUI"
...@@ -238,7 +238,7 @@ public class JCheckBox extends JToggleButton implements Accessible { ...@@ -238,7 +238,7 @@ public class JCheckBox extends JToggleButton implements Accessible {
* @see UIDefaults#getUI * @see UIDefaults#getUI
* @beaninfo * @beaninfo
* expert: true * expert: true
* description: A string that specifies the name of the L&F class * description: A string that specifies the name of the L&amp;F class
*/ */
public String getUIClassID() { public String getUIClassID() {
return uiClassID; return uiClassID;
......
...@@ -168,7 +168,7 @@ public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants, ...@@ -168,7 +168,7 @@ public class JCheckBoxMenuItem extends JMenuItem implements SwingConstants,
} }
/** /**
* Returns the name of the L&F class * Returns the name of the L&amp;F class
* that renders this component. * that renders this component.
* *
* @return "CheckBoxMenuItemUI" * @return "CheckBoxMenuItemUI"
......
...@@ -216,7 +216,7 @@ public class JColorChooser extends JComponent implements Accessible { ...@@ -216,7 +216,7 @@ public class JColorChooser extends JComponent implements Accessible {
} }
/** /**
* Returns the L&F object that renders this component. * Returns the L&amp;F object that renders this component.
* *
* @return the <code>ColorChooserUI</code> object that renders * @return the <code>ColorChooserUI</code> object that renders
* this component * this component
...@@ -226,9 +226,9 @@ public class JColorChooser extends JComponent implements Accessible { ...@@ -226,9 +226,9 @@ public class JColorChooser extends JComponent implements Accessible {
} }
/** /**
* Sets the L&F object that renders this component. * Sets the L&amp;F object that renders this component.
* *
* @param ui the <code>ColorChooserUI</code> L&F object * @param ui the <code>ColorChooserUI</code> L&amp;F object
* @see UIDefaults#getUI * @see UIDefaults#getUI
* *
* @beaninfo * @beaninfo
...@@ -241,7 +241,7 @@ public class JColorChooser extends JComponent implements Accessible { ...@@ -241,7 +241,7 @@ public class JColorChooser extends JComponent implements Accessible {
} }
/** /**
* Notification from the <code>UIManager</code> that the L&F has changed. * Notification from the <code>UIManager</code> that the L&amp;F has changed.
* Replaces the current UI object with the latest version from the * Replaces the current UI object with the latest version from the
* <code>UIManager</code>. * <code>UIManager</code>.
* *
...@@ -252,7 +252,7 @@ public class JColorChooser extends JComponent implements Accessible { ...@@ -252,7 +252,7 @@ public class JColorChooser extends JComponent implements Accessible {
} }
/** /**
* Returns the name of the L&F class that renders this component. * Returns the name of the L&amp;F class that renders this component.
* *
* @return the string "ColorChooserUI" * @return the string "ColorChooserUI"
* @see JComponent#getUIClassID * @see JComponent#getUIClassID
......
...@@ -242,9 +242,9 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible { ...@@ -242,9 +242,9 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible {
} }
/** /**
* Sets the L&F object that renders this component. * Sets the L&amp;F object that renders this component.
* *
* @param ui the <code>ComboBoxUI</code> L&F object * @param ui the <code>ComboBoxUI</code> L&amp;F object
* @see UIDefaults#getUI * @see UIDefaults#getUI
* *
* @beaninfo * @beaninfo
...@@ -273,7 +273,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible { ...@@ -273,7 +273,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible {
/** /**
* Returns the name of the L&F class that renders this component. * Returns the name of the L&amp;F class that renders this component.
* *
* @return the string "ComboBoxUI" * @return the string "ComboBoxUI"
* @see JComponent#getUIClassID * @see JComponent#getUIClassID
...@@ -285,7 +285,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible { ...@@ -285,7 +285,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible {
/** /**
* Returns the L&F object that renders this component. * Returns the L&amp;F object that renders this component.
* *
* @return the ComboBoxUI object that renders this component * @return the ComboBoxUI object that renders this component
*/ */
...@@ -607,7 +607,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible { ...@@ -607,7 +607,7 @@ implements ItemSelectable,ListDataListener,ActionListener, Accessible {
* *
* @param anIndex an integer specifying the list item to select, * @param anIndex an integer specifying the list item to select,
* where 0 specifies the first item in the list and -1 indicates no selection * where 0 specifies the first item in the list and -1 indicates no selection
* @exception IllegalArgumentException if <code>anIndex</code> < -1 or * @exception IllegalArgumentException if <code>anIndex</code> &lt; -1 or
* <code>anIndex</code> is greater than or equal to size * <code>anIndex</code> is greater than or equal to size
* @beaninfo * @beaninfo
* preferred: true * preferred: true
......
...@@ -86,7 +86,7 @@ import sun.swing.UIClientPropertyKey; ...@@ -86,7 +86,7 @@ import sun.swing.UIClientPropertyKey;
* <ul> * <ul>
* <li>The base class for both standard and custom components * <li>The base class for both standard and custom components
* that use the Swing architecture. * that use the Swing architecture.
* <li>A "pluggable look and feel" (L&F) that can be specified by the * <li>A "pluggable look and feel" (L&amp;F) that can be specified by the
* programmer or (optionally) selected by the user at runtime. * programmer or (optionally) selected by the user at runtime.
* The look and feel for each component is provided by a * The look and feel for each component is provided by a
* <em>UI delegate</em> -- an object that descends from * <em>UI delegate</em> -- an object that descends from
...@@ -4523,7 +4523,7 @@ public abstract class JComponent extends Container implements Serializable, ...@@ -4523,7 +4523,7 @@ public abstract class JComponent extends Container implements Serializable,
* @param propertyName the name of the property that was listened on * @param propertyName the name of the property that was listened on
* @param oldValue the old value of the property * @param oldValue the old value of the property
* @param newValue the new value of the property * @param newValue the new value of the property
* @exception PropertyVetoException when the attempt to set the * @exception java.beans.PropertyVetoException when the attempt to set the
* property is vetoed by the component * property is vetoed by the component
*/ */
protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue) protected void fireVetoableChange(String propertyName, Object oldValue, Object newValue)
......
...@@ -50,13 +50,13 @@ import java.util.TreeSet; ...@@ -50,13 +50,13 @@ import java.util.TreeSet;
* <code>JLayeredPane</code> to manage the potentially overlapping internal * <code>JLayeredPane</code> to manage the potentially overlapping internal
* frames. It also maintains a reference to an instance of * frames. It also maintains a reference to an instance of
* <code>DesktopManager</code> that is set by the UI * <code>DesktopManager</code> that is set by the UI
* class for the current look and feel (L&F). Note that <code>JDesktopPane</code> * class for the current look and feel (L&amp;F). Note that <code>JDesktopPane</code>
* does not support borders. * does not support borders.
* <p> * <p>
* This class is normally used as the parent of <code>JInternalFrames</code> * This class is normally used as the parent of <code>JInternalFrames</code>
* to provide a pluggable <code>DesktopManager</code> object to the * to provide a pluggable <code>DesktopManager</code> object to the
* <code>JInternalFrames</code>. The <code>installUI</code> of the * <code>JInternalFrames</code>. The <code>installUI</code> of the
* L&F specific implementation is responsible for setting the * L&amp;F specific implementation is responsible for setting the
* <code>desktopManager</code> variable appropriately. * <code>desktopManager</code> variable appropriately.
* When the parent of a <code>JInternalFrame</code> is a <code>JDesktopPane</code>, * When the parent of a <code>JInternalFrame</code> is a <code>JDesktopPane</code>,
* it should delegate most of its behavior to the <code>desktopManager</code> * it should delegate most of its behavior to the <code>desktopManager</code>
...@@ -146,7 +146,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible ...@@ -146,7 +146,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible
} }
/** /**
* Returns the L&F object that renders this component. * Returns the L&amp;F object that renders this component.
* *
* @return the <code>DesktopPaneUI</code> object that * @return the <code>DesktopPaneUI</code> object that
* renders this component * renders this component
...@@ -156,9 +156,9 @@ public class JDesktopPane extends JLayeredPane implements Accessible ...@@ -156,9 +156,9 @@ public class JDesktopPane extends JLayeredPane implements Accessible
} }
/** /**
* Sets the L&F object that renders this component. * Sets the L&amp;F object that renders this component.
* *
* @param ui the DesktopPaneUI L&F object * @param ui the DesktopPaneUI L&amp;F object
* @see UIDefaults#getUI * @see UIDefaults#getUI
* @beaninfo * @beaninfo
* bound: true * bound: true
...@@ -232,7 +232,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible ...@@ -232,7 +232,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible
} }
/** /**
* Notification from the <code>UIManager</code> that the L&F has changed. * Notification from the <code>UIManager</code> that the L&amp;F has changed.
* Replaces the current UI object with the latest version from the * Replaces the current UI object with the latest version from the
* <code>UIManager</code>. * <code>UIManager</code>.
* *
...@@ -244,7 +244,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible ...@@ -244,7 +244,7 @@ public class JDesktopPane extends JLayeredPane implements Accessible
/** /**
* Returns the name of the L&F class that renders this component. * Returns the name of the L&amp;F class that renders this component.
* *
* @return the string "DesktopPaneUI" * @return the string "DesktopPaneUI"
* @see JComponent#getUIClassID * @see JComponent#getUIClassID
......
...@@ -229,7 +229,7 @@ public class JMenuItem extends AbstractButton implements Accessible,MenuElement ...@@ -229,7 +229,7 @@ public class JMenuItem extends AbstractButton implements Accessible,MenuElement
/** /**
* Sets the look and feel object that renders this component. * Sets the look and feel object that renders this component.
* *
* @param ui the <code>JMenuItemUI</code> L&F object * @param ui the <code>JMenuItemUI</code> L&amp;F object
* @see UIDefaults#getUI * @see UIDefaults#getUI
* @beaninfo * @beaninfo
* bound: true * bound: true
...@@ -252,7 +252,7 @@ public class JMenuItem extends AbstractButton implements Accessible,MenuElement ...@@ -252,7 +252,7 @@ public class JMenuItem extends AbstractButton implements Accessible,MenuElement
/** /**
* Returns the suffix used to construct the name of the L&F class used to * Returns the suffix used to construct the name of the L&amp;F class used to
* render this component. * render this component.
* *
* @return the string "MenuItemUI" * @return the string "MenuItemUI"
......
...@@ -186,14 +186,14 @@ public class JToggleButton extends AbstractButton implements Accessible { ...@@ -186,14 +186,14 @@ public class JToggleButton extends AbstractButton implements Accessible {
} }
/** /**
* Returns a string that specifies the name of the l&f class * Returns a string that specifies the name of the l&amp;f class
* that renders this component. * that renders this component.
* *
* @return String "ToggleButtonUI" * @return String "ToggleButtonUI"
* @see JComponent#getUIClassID * @see JComponent#getUIClassID
* @see UIDefaults#getUI * @see UIDefaults#getUI
* @beaninfo * @beaninfo
* description: A string that specifies the name of the L&F class * description: A string that specifies the name of the L&amp;F class
*/ */
public String getUIClassID() { public String getUIClassID() {
return uiClassID; return uiClassID;
......
...@@ -221,7 +221,7 @@ public class SpinnerDateModel extends AbstractSpinnerModel implements Serializab ...@@ -221,7 +221,7 @@ public class SpinnerDateModel extends AbstractSpinnerModel implements Serializab
* MyStartDate implements Comparable { * MyStartDate implements Comparable {
* long t = 12345; * long t = 12345;
* public int compareTo(Date d) { * public int compareTo(Date d) {
* return (t < d.getTime() ? -1 : (t == d.getTime() ? 0 : 1)); * return (t &lt; d.getTime() ? -1 : (t == d.getTime() ? 0 : 1));
* } * }
* public int compareTo(Object o) { * public int compareTo(Object o) {
* return compareTo((Date)o); * return compareTo((Date)o);
...@@ -435,7 +435,7 @@ public class SpinnerDateModel extends AbstractSpinnerModel implements Serializab ...@@ -435,7 +435,7 @@ public class SpinnerDateModel extends AbstractSpinnerModel implements Serializab
* If <code>value</code> is <code>null</code>, * If <code>value</code> is <code>null</code>,
* an <code>IllegalArgumentException</code> is thrown. No bounds * an <code>IllegalArgumentException</code> is thrown. No bounds
* checking is done here: * checking is done here:
* the new value may invalidate the <code>(start &lt= value &lt end)</code> * the new value may invalidate the <code>(start &lt;= value &lt; end)</code>
* invariant enforced by the constructors. Naturally, one should ensure * invariant enforced by the constructors. Naturally, one should ensure
* that the <code>(start &lt;= value &lt;= maximum)</code> invariant is true * that the <code>(start &lt;= value &lt;= maximum)</code> invariant is true
* before calling the <code>nextValue</code>, <code>previousValue</code>, * before calling the <code>nextValue</code>, <code>previousValue</code>,
......
...@@ -71,7 +71,7 @@ public class SpinnerListModel extends AbstractSpinnerModel implements Serializab ...@@ -71,7 +71,7 @@ public class SpinnerListModel extends AbstractSpinnerModel implements Serializab
* size, an <code>IllegalArugmentException</code> is thrown. * size, an <code>IllegalArugmentException</code> is thrown.
* *
* @param values the sequence this model represents * @param values the sequence this model represents
* @throws IllegalArugmentException if <code>values</code> is * @throws IllegalArgumentException if <code>values</code> is
* <code>null</code> or zero size * <code>null</code> or zero size
*/ */
public SpinnerListModel(List<?> values) { public SpinnerListModel(List<?> values) {
...@@ -88,10 +88,10 @@ public class SpinnerListModel extends AbstractSpinnerModel implements Serializab ...@@ -88,10 +88,10 @@ public class SpinnerListModel extends AbstractSpinnerModel implements Serializab
* is defined by the specified array. The initial value of the model * is defined by the specified array. The initial value of the model
* will be <code>values[0]</code>. If <code>values</code> is * will be <code>values[0]</code>. If <code>values</code> is
* <code>null</code> or has zero length, an * <code>null</code> or has zero length, an
* <code>IllegalArugmentException</code> is thrown. * <code>IllegalArgumentException</code> is thrown.
* *
* @param values the sequence this model represents * @param values the sequence this model represents
* @throws IllegalArugmentException if <code>values</code> is * @throws IllegalArgumentException if <code>values</code> is
* <code>null</code> or zero length * <code>null</code> or zero length
*/ */
public SpinnerListModel(Object[] values) { public SpinnerListModel(Object[] values) {
......
...@@ -180,7 +180,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializ ...@@ -180,7 +180,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializ
* If <code>minimum</code> is <code>null</code>, * If <code>minimum</code> is <code>null</code>,
* then there is no lower bound. No bounds checking is done here; * then there is no lower bound. No bounds checking is done here;
* the new <code>minimum</code> value may invalidate the * the new <code>minimum</code> value may invalidate the
* <code>(minimum &lt;= value &lt= maximum)</code> * <code>(minimum &lt;= value &lt;= maximum)</code>
* invariant enforced by the constructors. This is to simplify updating * invariant enforced by the constructors. This is to simplify updating
* the model, naturally one should ensure that the invariant is true * the model, naturally one should ensure that the invariant is true
* before calling the <code>getNextValue</code>, * before calling the <code>getNextValue</code>,
...@@ -196,7 +196,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializ ...@@ -196,7 +196,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializ
* MyDate extends Date { // Date already implements Comparable * MyDate extends Date { // Date already implements Comparable
* public int compareTo(Long o) { * public int compareTo(Long o) {
* long t = getTime(); * long t = getTime();
* return (t < o.longValue() ? -1 : (t == o.longValue() ? 0 : 1)); * return (t &lt; o.longValue() ? -1 : (t == o.longValue() ? 0 : 1));
* } * }
* } * }
* </pre> * </pre>
...@@ -235,7 +235,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializ ...@@ -235,7 +235,7 @@ public class SpinnerNumberModel extends AbstractSpinnerModel implements Serializ
* If <code>maximum</code> is <code>null</code>, then there * If <code>maximum</code> is <code>null</code>, then there
* is no upper bound. No bounds checking is done here; the new * is no upper bound. No bounds checking is done here; the new
* <code>maximum</code> value may invalidate the * <code>maximum</code> value may invalidate the
* <code>(minimum <= value < maximum)</code> * <code>(minimum &lt;= value &lt; maximum)</code>
* invariant enforced by the constructors. This is to simplify updating * invariant enforced by the constructors. This is to simplify updating
* the model, naturally one should ensure that the invariant is true * the model, naturally one should ensure that the invariant is true
* before calling the <code>next</code>, <code>previous</code>, * before calling the <code>next</code>, <code>previous</code>,
......
...@@ -727,7 +727,7 @@ public class SpringLayout implements LayoutManager2 { ...@@ -727,7 +727,7 @@ public class SpringLayout implements LayoutManager2 {
* For any other <code>String</code> value passed as the edge, * For any other <code>String</code> value passed as the edge,
* no action is taken. For a <code>null</code> edge, a * no action is taken. For a <code>null</code> edge, a
* <code>NullPointerException</code> is thrown. * <code>NullPointerException</code> is thrown.
* <p/> * <p>
* <b>Note:</b> This method can affect {@code x} and {@code y} values * <b>Note:</b> This method can affect {@code x} and {@code y} values
* previously set for this {@code Constraints}. * previously set for this {@code Constraints}.
* *
......
...@@ -502,7 +502,7 @@ public class TransferHandler implements Serializable { ...@@ -502,7 +502,7 @@ public class TransferHandler implements Serializable {
* the action with the source drop actions, and then compare the result * the action with the source drop actions, and then compare the result
* against the original action. For example: * against the original action. For example:
* <pre> * <pre>
* boolean copySupported = (COPY & getSourceDropActions()) == COPY; * boolean copySupported = (COPY &amp; getSourceDropActions()) == COPY;
* </pre> * </pre>
* <p> * <p>
* This method is only for use with drag and drop transfers. * This method is only for use with drag and drop transfers.
......
...@@ -706,7 +706,7 @@ public class UIDefaults extends Hashtable<Object,Object> ...@@ -706,7 +706,7 @@ public class UIDefaults extends Hashtable<Object,Object>
/** /**
* Returns the L&F class that renders this component. * Returns the L&amp;F class that renders this component.
* *
* @param uiClassID a string containing the class ID * @param uiClassID a string containing the class ID
* @return the Class object returned by * @return the Class object returned by
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
package javax.swing; package javax.swing;
/** /**
* An exception that indicates the requested look & feel * An exception that indicates the requested look &amp; feel
* management classes are not present on the user's system. * management classes are not present on the user's system.
* <p> * <p>
* <strong>Warning:</strong> * <strong>Warning:</strong>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
package javax.swing; package javax.swing;
import java.awt.AWTError;
import java.awt.LayoutManager; import java.awt.LayoutManager;
import java.awt.Component; import java.awt.Component;
import java.awt.Container; import java.awt.Container;
...@@ -116,7 +117,7 @@ public class ViewportLayout implements LayoutManager, Serializable ...@@ -116,7 +117,7 @@ public class ViewportLayout implements LayoutManager, Serializable
* *
* @param parent the container to lay out * @param parent the container to lay out
* *
* @exception AWTError if the target isn't the container specified to the * @throws AWTError if the target isn't the container specified to the
* <code>BoxLayout</code> constructor * <code>BoxLayout</code> constructor
*/ */
public void layoutContainer(Container parent) public void layoutContainer(Container parent)
......
...@@ -35,17 +35,17 @@ import java.io.Serializable; ...@@ -35,17 +35,17 @@ import java.io.Serializable;
/** /**
* The base class for all {@link javax.swing.JLayer}'s UI delegates. * The base class for all {@link javax.swing.JLayer}'s UI delegates.
* <p/> * <p>
* {@link #paint(java.awt.Graphics, javax.swing.JComponent)} method performs the * {@link #paint(java.awt.Graphics, javax.swing.JComponent)} method performs the
* painting of the {@code JLayer} * painting of the {@code JLayer}
* and {@link #eventDispatched(AWTEvent, JLayer)} method is notified * and {@link #eventDispatched(AWTEvent, JLayer)} method is notified
* about any {@code AWTEvent}s which have been generated by a {@code JLayer} * about any {@code AWTEvent}s which have been generated by a {@code JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* The {@code LayerUI} differs from the UI delegates of the other components, * The {@code LayerUI} differs from the UI delegates of the other components,
* because it is LookAndFeel independent and is not updated by default when * because it is LookAndFeel independent and is not updated by default when
* the system LookAndFeel is changed. * the system LookAndFeel is changed.
* <p/> * <p>
* The subclasses of {@code LayerUI} can either be stateless and shareable * The subclasses of {@code LayerUI} can either be stateless and shareable
* by multiple {@code JLayer}s or not shareable. * by multiple {@code JLayer}s or not shareable.
* *
...@@ -69,7 +69,7 @@ public class LayerUI<V extends Component> ...@@ -69,7 +69,7 @@ public class LayerUI<V extends Component>
* Subclasses should override this method and use * Subclasses should override this method and use
* the specified {@code Graphics} object to * the specified {@code Graphics} object to
* render the content of the component. * render the content of the component.
* <p/> * <p>
* The default implementation paints the passed component as is. * The default implementation paints the passed component as is.
* *
* @param g the {@code Graphics} context in which to paint * @param g the {@code Graphics} context in which to paint
...@@ -82,7 +82,7 @@ public class LayerUI<V extends Component> ...@@ -82,7 +82,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes {@code AWTEvent}s for {@code JLayer} * Processes {@code AWTEvent}s for {@code JLayer}
* and <b>all its descendants</b> to this {@code LayerUI} instance. * and <b>all its descendants</b> to this {@code LayerUI} instance.
* <p/> * <p>
* To enable the {@code AWTEvent}s of a particular type, * To enable the {@code AWTEvent}s of a particular type,
* you call {@link JLayer#setLayerEventMask} * you call {@link JLayer#setLayerEventMask}
* in {@link #installUI(javax.swing.JComponent)} * in {@link #installUI(javax.swing.JComponent)}
...@@ -91,7 +91,7 @@ public class LayerUI<V extends Component> ...@@ -91,7 +91,7 @@ public class LayerUI<V extends Component>
* By default this method calls the appropriate * By default this method calls the appropriate
* {@code process&lt;event&nbsp;type&gt;Event} * {@code process&lt;event&nbsp;type&gt;Event}
* method for the given class of event. * method for the given class of event.
* <p/> * <p>
* <b>Note:</b> Events are processed only for displayable {@code JLayer}s. * <b>Note:</b> Events are processed only for displayable {@code JLayer}s.
* *
* @param e the event to be dispatched * @param e the event to be dispatched
...@@ -151,7 +151,7 @@ public class LayerUI<V extends Component> ...@@ -151,7 +151,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes component events occurring on the {@link JLayer} * Processes component events occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless component events are * This method is not called unless component events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Component events are enabled in the overridden {@link #installUI} method * Component events are enabled in the overridden {@link #installUI} method
...@@ -183,7 +183,7 @@ public class LayerUI<V extends Component> ...@@ -183,7 +183,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes focus events occurring on the {@link JLayer} * Processes focus events occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless focus events are * This method is not called unless focus events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Focus events are enabled in the overridden {@link #installUI} method * Focus events are enabled in the overridden {@link #installUI} method
...@@ -215,7 +215,7 @@ public class LayerUI<V extends Component> ...@@ -215,7 +215,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes key events occurring on the {@link JLayer} * Processes key events occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless key events are * This method is not called unless key events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Key events are enabled in the overridden {@link #installUI} method * Key events are enabled in the overridden {@link #installUI} method
...@@ -247,7 +247,7 @@ public class LayerUI<V extends Component> ...@@ -247,7 +247,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes mouse events occurring on the {@link JLayer} * Processes mouse events occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless mouse events are * This method is not called unless mouse events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Mouse events are enabled in the overridden {@link #installUI} method * Mouse events are enabled in the overridden {@link #installUI} method
...@@ -279,7 +279,7 @@ public class LayerUI<V extends Component> ...@@ -279,7 +279,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes mouse motion event occurring on the {@link JLayer} * Processes mouse motion event occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless mouse motion events are * This method is not called unless mouse motion events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Mouse motion events are enabled in the overridden {@link #installUI} method * Mouse motion events are enabled in the overridden {@link #installUI} method
...@@ -311,7 +311,7 @@ public class LayerUI<V extends Component> ...@@ -311,7 +311,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes mouse wheel event occurring on the {@link JLayer} * Processes mouse wheel event occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless mouse wheel events are * This method is not called unless mouse wheel events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Mouse wheel events are enabled in the overridden {@link #installUI} method * Mouse wheel events are enabled in the overridden {@link #installUI} method
...@@ -343,7 +343,7 @@ public class LayerUI<V extends Component> ...@@ -343,7 +343,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes input event occurring on the {@link JLayer} * Processes input event occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless input events are * This method is not called unless input events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Input events are enabled in the overridden {@link #installUI} method * Input events are enabled in the overridden {@link #installUI} method
...@@ -375,7 +375,7 @@ public class LayerUI<V extends Component> ...@@ -375,7 +375,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes hierarchy event occurring on the {@link JLayer} * Processes hierarchy event occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless hierarchy events are * This method is not called unless hierarchy events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Hierarchy events are enabled in the overridden {@link #installUI} method * Hierarchy events are enabled in the overridden {@link #installUI} method
...@@ -407,7 +407,7 @@ public class LayerUI<V extends Component> ...@@ -407,7 +407,7 @@ public class LayerUI<V extends Component>
/** /**
* Processes hierarchy bounds event occurring on the {@link JLayer} * Processes hierarchy bounds event occurring on the {@link JLayer}
* or any of its subcomponents. * or any of its subcomponents.
* <p/> * <p>
* This method is not called unless hierarchy bounds events are * This method is not called unless hierarchy bounds events are
* enabled for the {@code JLayer} objects, this {@code LayerUI} is set to. * enabled for the {@code JLayer} objects, this {@code LayerUI} is set to.
* Hierarchy bounds events are enabled in the overridden {@link #installUI} * Hierarchy bounds events are enabled in the overridden {@link #installUI}
...@@ -471,7 +471,7 @@ public class LayerUI<V extends Component> ...@@ -471,7 +471,7 @@ public class LayerUI<V extends Component>
/** /**
* Adds a PropertyChangeListener to the listener list. The listener is * Adds a PropertyChangeListener to the listener list. The listener is
* registered for all bound properties of this class. * registered for all bound properties of this class.
* <p/> * <p>
* If {@code listener} is {@code null}, * If {@code listener} is {@code null},
* no exception is thrown and no action is performed. * no exception is thrown and no action is performed.
* *
...@@ -488,7 +488,7 @@ public class LayerUI<V extends Component> ...@@ -488,7 +488,7 @@ public class LayerUI<V extends Component>
* Removes a PropertyChangeListener from the listener list. This method * Removes a PropertyChangeListener from the listener list. This method
* should be used to remove PropertyChangeListeners that were registered * should be used to remove PropertyChangeListeners that were registered
* for all bound properties of this class. * for all bound properties of this class.
* <p/> * <p>
* If {@code listener} is {@code null}, * If {@code listener} is {@code null},
* no exception is thrown and no action is performed. * no exception is thrown and no action is performed.
* *
...@@ -519,7 +519,7 @@ public class LayerUI<V extends Component> ...@@ -519,7 +519,7 @@ public class LayerUI<V extends Component>
/** /**
* Adds a PropertyChangeListener to the listener list for a specific * Adds a PropertyChangeListener to the listener list for a specific
* property. * property.
* <p/> * <p>
* If {@code propertyName} or {@code listener} is {@code null}, * If {@code propertyName} or {@code listener} is {@code null},
* no exception is thrown and no action is taken. * no exception is thrown and no action is taken.
* *
...@@ -539,7 +539,7 @@ public class LayerUI<V extends Component> ...@@ -539,7 +539,7 @@ public class LayerUI<V extends Component>
* list for a specific property. This method should be used to remove * list for a specific property. This method should be used to remove
* {@code PropertyChangeListener}s * {@code PropertyChangeListener}s
* that were registered for a specific bound property. * that were registered for a specific bound property.
* <p/> * <p>
* If {@code propertyName} or {@code listener} is {@code null}, * If {@code propertyName} or {@code listener} is {@code null},
* no exception is thrown and no action is taken. * no exception is thrown and no action is taken.
* *
...@@ -702,7 +702,7 @@ public class LayerUI<V extends Component> ...@@ -702,7 +702,7 @@ public class LayerUI<V extends Component>
/** /**
* Paints the specified region in the {@code JLayer} this {@code LayerUI} is set to, immediately. * Paints the specified region in the {@code JLayer} this {@code LayerUI} is set to, immediately.
* <p/> * <p>
* This method is to be overridden when the dirty region needs to be changed. * This method is to be overridden when the dirty region needs to be changed.
* The default implementation delegates its functionality to {@link JComponent#paintImmediately(int, int, int, int)}. * The default implementation delegates its functionality to {@link JComponent#paintImmediately(int, int, int, int)}.
* *
......
...@@ -38,7 +38,7 @@ import java.awt.Color; ...@@ -38,7 +38,7 @@ import java.awt.Color;
import java.awt.Graphics; import java.awt.Graphics;
/** /**
* Factory object that can vend Borders appropriate for the basic L & F. * Factory object that can vend Borders appropriate for the basic L &amp; F.
* @author Georges Saab * @author Georges Saab
* @author Amy Fowler * @author Amy Fowler
*/ */
......
...@@ -34,7 +34,7 @@ import javax.swing.plaf.*; ...@@ -34,7 +34,7 @@ import javax.swing.plaf.*;
import java.beans.*; import java.beans.*;
/** /**
* Basic L&F for a minimized window on a desktop. * Basic L&amp;F for a minimized window on a desktop.
* *
* @author David Kloba * @author David Kloba
* @author Steve Wilson * @author Steve Wilson
......
...@@ -42,7 +42,7 @@ import sun.swing.UIAction; ...@@ -42,7 +42,7 @@ import sun.swing.UIAction;
import sun.awt.AppContext; import sun.awt.AppContext;
/** /**
* Basic L&F for a desktop. * Basic L&amp;F for a desktop.
* *
* @author Steve Wilson * @author Steve Wilson
*/ */
......
...@@ -43,7 +43,7 @@ import sun.swing.*; ...@@ -43,7 +43,7 @@ import sun.swing.*;
import sun.swing.SwingUtilities2; import sun.swing.SwingUtilities2;
/** /**
* Basic L&F implementation of a FileChooser. * Basic L&amp;F implementation of a FileChooser.
* *
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
......
...@@ -231,7 +231,7 @@ public class BasicGraphicsUtils ...@@ -231,7 +231,7 @@ public class BasicGraphicsUtils
* just like <code>g.drawString</code> would. * just like <code>g.drawString</code> would.
* The character at index <code>underlinedIndex</code> * The character at index <code>underlinedIndex</code>
* in text will be underlined. If <code>index</code> is beyond the * in text will be underlined. If <code>index</code> is beyond the
* bounds of <code>text</code> (including < 0), nothing will be * bounds of <code>text</code> (including &lt; 0), nothing will be
* underlined. * underlined.
* *
* @param g Graphics to draw with * @param g Graphics to draw with
......
...@@ -35,7 +35,7 @@ import java.awt.Polygon; ...@@ -35,7 +35,7 @@ import java.awt.Polygon;
import java.io.Serializable; import java.io.Serializable;
/** /**
* Factory object that can vend Icons appropriate for the basic L & F. * Factory object that can vend Icons appropriate for the basic L &amp; F.
* <p> * <p>
* <strong>Warning:</strong> * <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with * Serialized objects of this class will not be compatible with
......
...@@ -553,7 +553,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -553,7 +553,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class PropertyChangeHandler implements PropertyChangeListener { public class PropertyChangeHandler implements PropertyChangeListener {
// NOTE: This class exists only for backward compatability. All // NOTE: This class exists only for backward compatability. All
...@@ -567,7 +567,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -567,7 +567,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class TitlePaneLayout implements LayoutManager { public class TitlePaneLayout implements LayoutManager {
// NOTE: This class exists only for backward compatability. All // NOTE: This class exists only for backward compatability. All
...@@ -597,7 +597,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -597,7 +597,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class CloseAction extends AbstractAction { public class CloseAction extends AbstractAction {
public CloseAction() { public CloseAction() {
...@@ -614,7 +614,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -614,7 +614,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class MaximizeAction extends AbstractAction { public class MaximizeAction extends AbstractAction {
public MaximizeAction() { public MaximizeAction() {
...@@ -643,7 +643,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -643,7 +643,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class IconifyAction extends AbstractAction { public class IconifyAction extends AbstractAction {
public IconifyAction() { public IconifyAction() {
...@@ -664,7 +664,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -664,7 +664,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class RestoreAction extends AbstractAction { public class RestoreAction extends AbstractAction {
public RestoreAction() { public RestoreAction() {
...@@ -691,7 +691,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -691,7 +691,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class MoveAction extends AbstractAction { public class MoveAction extends AbstractAction {
public MoveAction() { public MoveAction() {
...@@ -725,7 +725,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -725,7 +725,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class SizeAction extends AbstractAction { public class SizeAction extends AbstractAction {
public SizeAction() { public SizeAction() {
...@@ -741,7 +741,7 @@ public class BasicInternalFrameTitlePane extends JComponent ...@@ -741,7 +741,7 @@ public class BasicInternalFrameTitlePane extends JComponent
/** /**
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class SystemMenuBar extends JMenuBar { public class SystemMenuBar extends JMenuBar {
public boolean isFocusTraversable() { return false; } public boolean isFocusTraversable() { return false; }
......
...@@ -35,7 +35,7 @@ import sun.swing.DefaultLookup; ...@@ -35,7 +35,7 @@ import sun.swing.DefaultLookup;
import sun.swing.UIAction; import sun.swing.UIAction;
/** /**
* A basic L&F implementation of JInternalFrame. * A basic L&amp;F implementation of JInternalFrame.
* *
* @author David Kloba * @author David Kloba
* @author Rich Schiavi * @author Rich Schiavi
......
...@@ -50,7 +50,7 @@ import java.beans.PropertyChangeEvent; ...@@ -50,7 +50,7 @@ import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener; import java.beans.PropertyChangeListener;
/** /**
* A Windows L&F implementation of LabelUI. This implementation * A Windows L&amp;F implementation of LabelUI. This implementation
* is completely static, i.e. there's only one UIView implementation * is completely static, i.e. there's only one UIView implementation
* that's shared by all JLabel objects. * that's shared by all JLabel objects.
* *
......
...@@ -537,7 +537,7 @@ public class BasicListUI extends ListUI ...@@ -537,7 +537,7 @@ public class BasicListUI extends ListUI
* <td>JList.VERTICAL_WRAP * <td>JList.VERTICAL_WRAP
* <td>If the visible row count is greater than zero, the preferredHeight * <td>If the visible row count is greater than zero, the preferredHeight
* is the maximum cell height * visibleRowCount. If the visible row * is the maximum cell height * visibleRowCount. If the visible row
* count is <= 0, the preferred height is either the current height * count is &lt;= 0, the preferred height is either the current height
* of the list, or the maximum cell height, whichever is * of the list, or the maximum cell height, whichever is
* bigger. The preferred width is than the maximum cell width * * bigger. The preferred width is than the maximum cell width *
* number of columns needed. Where the number of columns needs is * number of columns needed. Where the number of columns needs is
...@@ -556,7 +556,7 @@ public class BasicListUI extends ListUI ...@@ -556,7 +556,7 @@ public class BasicListUI extends ListUI
* longer need 8 rows to display this, you only need 5, thus * longer need 8 rows to display this, you only need 5, thus
* the adjustedRowCount is 5. * the adjustedRowCount is 5.
* <p>If the visible row * <p>If the visible row
* count is <= 0, the preferred height is dictated by the * count is &lt;= 0, the preferred height is dictated by the
* number of columns, which will be as many as can fit in the width * number of columns, which will be as many as can fit in the width
* of the <code>JList</code> (width / max cell width), with at * of the <code>JList</code> (width / max cell width), with at
* least one column. The preferred height then becomes the * least one column. The preferred height then becomes the
......
...@@ -46,7 +46,7 @@ import javax.swing.plaf.*; ...@@ -46,7 +46,7 @@ import javax.swing.plaf.*;
/** /**
* A default L&F implementation of MenuBarUI. This implementation * A default L&amp;F implementation of MenuBarUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* *
* @author Georges Saab * @author Georges Saab
......
...@@ -39,7 +39,7 @@ import java.util.ArrayList; ...@@ -39,7 +39,7 @@ import java.util.ArrayList;
/** /**
* A default L&F implementation of MenuUI. This implementation * A default L&amp;F implementation of MenuUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* *
* @author Georges Saab * @author Georges Saab
......
...@@ -131,7 +131,7 @@ public class BasicOptionPaneUI extends OptionPaneUI { ...@@ -131,7 +131,7 @@ public class BasicOptionPaneUI extends OptionPaneUI {
} }
/** /**
* Installs the receiver as the L&F for the passed in * Installs the receiver as the L&amp;F for the passed in
* <code>JOptionPane</code>. * <code>JOptionPane</code>.
*/ */
public void installUI(JComponent c) { public void installUI(JComponent c) {
...@@ -144,7 +144,7 @@ public class BasicOptionPaneUI extends OptionPaneUI { ...@@ -144,7 +144,7 @@ public class BasicOptionPaneUI extends OptionPaneUI {
} }
/** /**
* Removes the receiver from the L&F controller of the passed in split * Removes the receiver from the L&amp;F controller of the passed in split
* pane. * pane.
*/ */
public void uninstallUI(JComponent c) { public void uninstallUI(JComponent c) {
...@@ -827,7 +827,7 @@ public class BasicOptionPaneUI extends OptionPaneUI { ...@@ -827,7 +827,7 @@ public class BasicOptionPaneUI extends OptionPaneUI {
} }
/** /**
* Returns true, basic L&F wants all the buttons to have the same * Returns true, basic L&amp;F wants all the buttons to have the same
* width. * width.
*/ */
protected boolean getSizeButtonsToSameWidth() { protected boolean getSizeButtonsToSameWidth() {
......
...@@ -34,7 +34,7 @@ import java.awt.Rectangle; ...@@ -34,7 +34,7 @@ import java.awt.Rectangle;
import javax.swing.plaf.ComponentUI; import javax.swing.plaf.ComponentUI;
/** /**
* A Basic L&F implementation of PopupMenuSeparatorUI. This implementation * A Basic L&amp;F implementation of PopupMenuSeparatorUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* *
* @author Jeff Shapiro * @author Jeff Shapiro
......
...@@ -53,7 +53,7 @@ import sun.swing.UIAction; ...@@ -53,7 +53,7 @@ import sun.swing.UIAction;
import sun.awt.AppContext; import sun.awt.AppContext;
/** /**
* A Windows L&F implementation of PopupMenuUI. This implementation * A Windows L&amp;F implementation of PopupMenuUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* *
* @author Georges Saab * @author Georges Saab
......
...@@ -38,7 +38,7 @@ import java.io.Serializable; ...@@ -38,7 +38,7 @@ import java.io.Serializable;
import sun.swing.DefaultLookup; import sun.swing.DefaultLookup;
/** /**
* A Basic L&F implementation of ProgressBarUI. * A Basic L&amp;F implementation of ProgressBarUI.
* *
* @author Michael C. Albers * @author Michael C. Albers
* @author Kathy Walrath * @author Kathy Walrath
......
...@@ -45,7 +45,7 @@ import java.awt.Graphics; ...@@ -45,7 +45,7 @@ import java.awt.Graphics;
import java.awt.event.*; import java.awt.event.*;
/** /**
* A default L&F implementation of ScrollPaneUI. * A default L&amp;F implementation of ScrollPaneUI.
* *
* @author Hans Muller * @author Hans Muller
*/ */
......
...@@ -36,7 +36,7 @@ import javax.swing.plaf.SeparatorUI; ...@@ -36,7 +36,7 @@ import javax.swing.plaf.SeparatorUI;
/** /**
* A Basic L&F implementation of SeparatorUI. This implementation * A Basic L&amp;F implementation of SeparatorUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* *
* @author Georges Saab * @author Georges Saab
......
...@@ -39,7 +39,7 @@ import sun.swing.UIAction; ...@@ -39,7 +39,7 @@ import sun.swing.UIAction;
/** /**
* A Basic L&F implementation of SliderUI. * A Basic L&amp;F implementation of SliderUI.
* *
* @author Tom Santos * @author Tom Santos
*/ */
...@@ -1542,7 +1542,7 @@ public class BasicSliderUI extends SliderUI{ ...@@ -1542,7 +1542,7 @@ public class BasicSliderUI extends SliderUI{
* Data model listener. * Data model listener.
* *
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class ChangeHandler implements ChangeListener { public class ChangeHandler implements ChangeListener {
// NOTE: This class exists only for backward compatability. All // NOTE: This class exists only for backward compatability. All
...@@ -1561,7 +1561,7 @@ public class BasicSliderUI extends SliderUI{ ...@@ -1561,7 +1561,7 @@ public class BasicSliderUI extends SliderUI{
* Track mouse movements. * Track mouse movements.
* *
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class TrackListener extends MouseInputAdapter { public class TrackListener extends MouseInputAdapter {
protected transient int offset; protected transient int offset;
...@@ -1805,7 +1805,7 @@ public class BasicSliderUI extends SliderUI{ ...@@ -1805,7 +1805,7 @@ public class BasicSliderUI extends SliderUI{
* Scroll-event listener. * Scroll-event listener.
* *
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class ScrollListener implements ActionListener { public class ScrollListener implements ActionListener {
// changed this class to public to avoid bogus IllegalAccessException // changed this class to public to avoid bogus IllegalAccessException
...@@ -1849,7 +1849,7 @@ public class BasicSliderUI extends SliderUI{ ...@@ -1849,7 +1849,7 @@ public class BasicSliderUI extends SliderUI{
* Listener for resizing events. * Listener for resizing events.
* <p> * <p>
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class ComponentHandler extends ComponentAdapter { public class ComponentHandler extends ComponentAdapter {
// NOTE: This class exists only for backward compatability. All // NOTE: This class exists only for backward compatability. All
...@@ -1865,7 +1865,7 @@ public class BasicSliderUI extends SliderUI{ ...@@ -1865,7 +1865,7 @@ public class BasicSliderUI extends SliderUI{
* Focus-change listener. * Focus-change listener.
* <p> * <p>
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class FocusHandler implements FocusListener { public class FocusHandler implements FocusListener {
// NOTE: This class exists only for backward compatability. All // NOTE: This class exists only for backward compatability. All
...@@ -1892,7 +1892,7 @@ public class BasicSliderUI extends SliderUI{ ...@@ -1892,7 +1892,7 @@ public class BasicSliderUI extends SliderUI{
* Please refer to the key bindings specification for further details. * Please refer to the key bindings specification for further details.
* <p> * <p>
* This class should be treated as a &quot;protected&quot; inner class. * This class should be treated as a &quot;protected&quot; inner class.
* Instantiate it only within subclasses of <Foo>. * Instantiate it only within subclasses of <code>Foo</code>.
*/ */
public class ActionScroller extends AbstractAction { public class ActionScroller extends AbstractAction {
// NOTE: This class exists only for backward compatability. All // NOTE: This class exists only for backward compatability. All
......
...@@ -44,7 +44,7 @@ import sun.swing.SwingUtilities2; ...@@ -44,7 +44,7 @@ import sun.swing.SwingUtilities2;
/** /**
* A Basic L&F implementation of the SplitPaneUI. * A Basic L&amp;F implementation of the SplitPaneUI.
* *
* @author Scott Violet * @author Scott Violet
* @author Steve Wilson * @author Steve Wilson
...@@ -1060,7 +1060,7 @@ public class BasicSplitPaneUI extends SplitPaneUI ...@@ -1060,7 +1060,7 @@ public class BasicSplitPaneUI extends SplitPaneUI
/** /**
* @inheritDoc * {@inheritDoc}
*/ */
public void paint(Graphics g, JComponent jc) { public void paint(Graphics g, JComponent jc) {
if (!painted && splitPane.getDividerLocation()<0) { if (!painted && splitPane.getDividerLocation()<0) {
......
...@@ -43,7 +43,7 @@ import sun.swing.DefaultLookup; ...@@ -43,7 +43,7 @@ import sun.swing.DefaultLookup;
import sun.swing.UIAction; import sun.swing.UIAction;
/** /**
* A Basic L&F implementation of TabbedPaneUI. * A Basic L&amp;F implementation of TabbedPaneUI.
* *
* @author Amy Fowler * @author Amy Fowler
* @author Philip Milne * @author Philip Milne
...@@ -669,7 +669,7 @@ public class BasicTabbedPaneUI extends TabbedPaneUI implements SwingConstants { ...@@ -669,7 +669,7 @@ public class BasicTabbedPaneUI extends TabbedPaneUI implements SwingConstants {
* *
* @param tab index of tab to get baseline for * @param tab index of tab to get baseline for
* @exception IndexOutOfBoundsException if index is out of range * @exception IndexOutOfBoundsException if index is out of range
* (index < 0 || index >= tab count) * (index &lt; 0 || index &gt;= tab count)
* @return baseline or a value &lt; 0 indicating there is no reasonable * @return baseline or a value &lt; 0 indicating there is no reasonable
* baseline * baseline
* @since 1.6 * @since 1.6
......
...@@ -37,7 +37,7 @@ import javax.swing.plaf.basic.BasicSeparatorUI; ...@@ -37,7 +37,7 @@ import javax.swing.plaf.basic.BasicSeparatorUI;
/** /**
* A Basic L&F implementation of ToolBarSeparatorUI. This implementation * A Basic L&amp;F implementation of ToolBarSeparatorUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* <p> * <p>
* *
......
...@@ -42,7 +42,7 @@ import sun.swing.UIAction; ...@@ -42,7 +42,7 @@ import sun.swing.UIAction;
/** /**
* A Basic L&F implementation of ToolBarUI. This implementation * A Basic L&amp;F implementation of ToolBarUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* <p> * <p>
* *
......
...@@ -40,7 +40,7 @@ import javax.swing.text.View; ...@@ -40,7 +40,7 @@ import javax.swing.text.View;
/** /**
* Standard tool tip L&F. * Standard tool tip L&amp;F.
* <p> * <p>
* *
* @author Dave Moore * @author Dave Moore
......
...@@ -49,7 +49,7 @@ import sun.swing.DefaultLookup; ...@@ -49,7 +49,7 @@ import sun.swing.DefaultLookup;
import sun.swing.UIAction; import sun.swing.UIAction;
/** /**
* The basic L&F for a hierarchical data structure. * The basic L&amp;F for a hierarchical data structure.
* <p> * <p>
* *
* @author Scott Violet * @author Scott Violet
......
...@@ -34,7 +34,7 @@ import java.awt.Dimension; ...@@ -34,7 +34,7 @@ import java.awt.Dimension;
/** /**
* The default layout manager for Popup menus and menubars. This * The default layout manager for Popup menus and menubars. This
* class is an extension of BoxLayout which adds the UIResource tag * class is an extension of BoxLayout which adds the UIResource tag
* so that pluggable L&Fs can distinguish it from user-installed * so that pluggable L&amp;Fs can distinguish it from user-installed
* layout managers on menus. * layout managers on menus.
* *
* @author Georges Saab * @author Georges Saab
......
...@@ -43,7 +43,7 @@ import sun.swing.StringUIClientPropertyKey; ...@@ -43,7 +43,7 @@ import sun.swing.StringUIClientPropertyKey;
/** /**
* Factory object that can vend Borders appropriate for the metal L & F. * Factory object that can vend Borders appropriate for the metal L &amp; F.
* @author Steve Wilson * @author Steve Wilson
*/ */
......
...@@ -46,7 +46,7 @@ import sun.awt.shell.ShellFolder; ...@@ -46,7 +46,7 @@ import sun.awt.shell.ShellFolder;
import sun.swing.*; import sun.swing.*;
/** /**
* Metal L&F implementation of a FileChooser. * Metal L&amp;F implementation of a FileChooser.
* *
* @author Jeff Dinkins * @author Jeff Dinkins
*/ */
......
...@@ -37,7 +37,7 @@ import java.awt.*; ...@@ -37,7 +37,7 @@ import java.awt.*;
/** /**
* A Windows L&F implementation of LabelUI. This implementation * A Windows L&amp;F implementation of LabelUI. This implementation
* is completely static, i.e. there's only one UIView implementation * is completely static, i.e. there's only one UIView implementation
* that's shared by all JLabel objects. * that's shared by all JLabel objects.
* *
......
...@@ -291,8 +291,7 @@ public class MetalLookAndFeel extends BasicLookAndFeel ...@@ -291,8 +291,7 @@ public class MetalLookAndFeel extends BasicLookAndFeel
* Populates {@code table} with system colors. The following values are * Populates {@code table} with system colors. The following values are
* added to {@code table}: * added to {@code table}:
* <table border="1" cellpadding="1" cellspacing="0" * <table border="1" cellpadding="1" cellspacing="0"
* summary="Metal's system color mapping" * summary="Metal's system color mapping">
* valign="top" >
* <tr valign="top" align="left"> * <tr valign="top" align="left">
* <th bgcolor="#CCCCFF" align="left">Key * <th bgcolor="#CCCCFF" align="left">Key
* <th bgcolor="#CCCCFF" align="left">Value * <th bgcolor="#CCCCFF" align="left">Value
......
...@@ -35,7 +35,7 @@ import javax.swing.plaf.*; ...@@ -35,7 +35,7 @@ import javax.swing.plaf.*;
/** /**
* A Metal L&F implementation of PopupMenuSeparatorUI. This implementation * A Metal L&amp;F implementation of PopupMenuSeparatorUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* *
* @author Jeff Shapiro * @author Jeff Shapiro
......
...@@ -37,7 +37,7 @@ import java.awt.event.*; ...@@ -37,7 +37,7 @@ import java.awt.event.*;
/** /**
* A Metal L&F implementation of ScrollPaneUI. * A Metal L&amp;F implementation of ScrollPaneUI.
* <p> * <p>
* <strong>Warning:</strong> * <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with * Serialized objects of this class will not be compatible with
......
...@@ -36,7 +36,7 @@ import javax.swing.plaf.basic.BasicSeparatorUI; ...@@ -36,7 +36,7 @@ import javax.swing.plaf.basic.BasicSeparatorUI;
/** /**
* A Metal L&F implementation of SeparatorUI. This implementation * A Metal L&amp;F implementation of SeparatorUI. This implementation
* is a "combined" view/controller. * is a "combined" view/controller.
* <p> * <p>
* <strong>Warning:</strong> * <strong>Warning:</strong>
......
...@@ -37,7 +37,7 @@ import javax.swing.*; ...@@ -37,7 +37,7 @@ import javax.swing.*;
import javax.swing.plaf.*; import javax.swing.plaf.*;
/** /**
* A Java L&F implementation of SliderUI. * A Java L&amp;F implementation of SliderUI.
* <p> * <p>
* <strong>Warning:</strong> * <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with * Serialized objects of this class will not be compatible with
......
...@@ -776,7 +776,7 @@ public class MetalTabbedPaneUI extends BasicTabbedPaneUI { ...@@ -776,7 +776,7 @@ public class MetalTabbedPaneUI extends BasicTabbedPaneUI {
} }
/** /**
* Overridden to do nothing for the Java L&F. * Overridden to do nothing for the Java L&amp;F.
*/ */
protected int getTabLabelShiftX( int tabPlacement, int tabIndex, boolean isSelected ) { protected int getTabLabelShiftX( int tabPlacement, int tabIndex, boolean isSelected ) {
return 0; return 0;
...@@ -784,7 +784,7 @@ public class MetalTabbedPaneUI extends BasicTabbedPaneUI { ...@@ -784,7 +784,7 @@ public class MetalTabbedPaneUI extends BasicTabbedPaneUI {
/** /**
* Overridden to do nothing for the Java L&F. * Overridden to do nothing for the Java L&amp;F.
*/ */
protected int getTabLabelShiftY( int tabPlacement, int tabIndex, boolean isSelected ) { protected int getTabLabelShiftY( int tabPlacement, int tabIndex, boolean isSelected ) {
return 0; return 0;
......
...@@ -38,7 +38,7 @@ import javax.swing.text.View; ...@@ -38,7 +38,7 @@ import javax.swing.text.View;
/** /**
* A Metal L&F extension of BasicToolTipUI. * A Metal L&amp;F extension of BasicToolTipUI.
* <p> * <p>
* <strong>Warning:</strong> * <strong>Warning:</strong>
* Serialized objects of this class will not be compatible with * Serialized objects of this class will not be compatible with
......
...@@ -137,7 +137,7 @@ public abstract class AbstractRegionPainter implements Painter<JComponent> { ...@@ -137,7 +137,7 @@ public abstract class AbstractRegionPainter implements Painter<JComponent> {
protected AbstractRegionPainter() { } protected AbstractRegionPainter() { }
/** /**
* @inheritDoc * {@inheritDoc}
*/ */
@Override @Override
public final void paint(Graphics2D g, JComponent c, int w, int h) { public final void paint(Graphics2D g, JComponent c, int w, int h) {
...@@ -535,11 +535,11 @@ public abstract class AbstractRegionPainter implements Painter<JComponent> { ...@@ -535,11 +535,11 @@ public abstract class AbstractRegionPainter implements Painter<JComponent> {
* @param maxH The maximium scale in the horizontal direction to use before punting and redrawing from scratch. * @param maxH The maximium scale in the horizontal direction to use before punting and redrawing from scratch.
* For example, if maxH is 2, then we will attempt to scale any cached images up to 2x the canvas * For example, if maxH is 2, then we will attempt to scale any cached images up to 2x the canvas
* width before redrawing from scratch. Reasonable maxH values may improve painting performance. * width before redrawing from scratch. Reasonable maxH values may improve painting performance.
* If set too high, then you may get poor looking graphics at higher zoom levels. Must be >= 1. * If set too high, then you may get poor looking graphics at higher zoom levels. Must be &gt;= 1.
* @param maxV The maximium scale in the vertical direction to use before punting and redrawing from scratch. * @param maxV The maximium scale in the vertical direction to use before punting and redrawing from scratch.
* For example, if maxV is 2, then we will attempt to scale any cached images up to 2x the canvas * For example, if maxV is 2, then we will attempt to scale any cached images up to 2x the canvas
* height before redrawing from scratch. Reasonable maxV values may improve painting performance. * height before redrawing from scratch. Reasonable maxV values may improve painting performance.
* If set too high, then you may get poor looking graphics at higher zoom levels. Must be >= 1. * If set too high, then you may get poor looking graphics at higher zoom levels. Must be &gt;= 1.
*/ */
public PaintContext(Insets insets, Dimension canvasSize, boolean inverted, public PaintContext(Insets insets, Dimension canvasSize, boolean inverted,
CacheMode cacheMode, double maxH, double maxV) { CacheMode cacheMode, double maxH, double maxV) {
......
...@@ -124,7 +124,7 @@ public class NimbusLookAndFeel extends SynthLookAndFeel { ...@@ -124,7 +124,7 @@ public class NimbusLookAndFeel extends SynthLookAndFeel {
} }
/** /**
* @inheritDoc * {@inheritDoc}
*/ */
@Override public UIDefaults getDefaults() { @Override public UIDefaults getDefaults() {
if (uiDefaults == null){ if (uiDefaults == null){
...@@ -261,7 +261,7 @@ public class NimbusLookAndFeel extends SynthLookAndFeel { ...@@ -261,7 +261,7 @@ public class NimbusLookAndFeel extends SynthLookAndFeel {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* @return {@code true} * @return {@code true}
*/ */
@Override public boolean shouldUpdateStyleOnAncestorChanged() { @Override public boolean shouldUpdateStyleOnAncestorChanged() {
...@@ -269,7 +269,7 @@ public class NimbusLookAndFeel extends SynthLookAndFeel { ...@@ -269,7 +269,7 @@ public class NimbusLookAndFeel extends SynthLookAndFeel {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* <p>Overridden to return {@code true} when one of the following * <p>Overridden to return {@code true} when one of the following
* properties change: * properties change:
......
...@@ -218,7 +218,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -218,7 +218,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* Overridden to cause this style to populate itself with data from * Overridden to cause this style to populate itself with data from
* UIDefaults, if necessary. * UIDefaults, if necessary.
...@@ -472,7 +472,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -472,7 +472,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* Overridden to cause this style to populate itself with data from * Overridden to cause this style to populate itself with data from
* UIDefaults, if necessary. * UIDefaults, if necessary.
...@@ -519,7 +519,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -519,7 +519,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* <p>Overridden to cause this style to populate itself with data from * <p>Overridden to cause this style to populate itself with data from
* UIDefaults, if necessary.</p> * UIDefaults, if necessary.</p>
...@@ -562,7 +562,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -562,7 +562,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* Overridden to cause this style to populate itself with data from * Overridden to cause this style to populate itself with data from
* UIDefaults, if necessary. If a value named "font" is not found in * UIDefaults, if necessary. If a value named "font" is not found in
...@@ -590,7 +590,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -590,7 +590,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* Returns the SynthPainter for this style, which ends up delegating to * Returns the SynthPainter for this style, which ends up delegating to
* the Painters installed in this style. * the Painters installed in this style.
...@@ -600,7 +600,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -600,7 +600,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* Overridden to cause this style to populate itself with data from * Overridden to cause this style to populate itself with data from
* UIDefaults, if necessary. If opacity is not specified in UI defaults, * UIDefaults, if necessary. If opacity is not specified in UI defaults,
...@@ -616,7 +616,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -616,7 +616,7 @@ public final class NimbusStyle extends SynthStyle {
} }
/** /**
* @inheritDoc * {@inheritDoc}
* *
* <p>Overridden to cause this style to populate itself with data from * <p>Overridden to cause this style to populate itself with data from
* UIDefaults, if necessary.</p> * UIDefaults, if necessary.</p>
...@@ -628,7 +628,7 @@ public final class NimbusStyle extends SynthStyle { ...@@ -628,7 +628,7 @@ public final class NimbusStyle extends SynthStyle {
* Button.opacity * Button.opacity
* Button.Enabled.foreground * Button.Enabled.foreground
* Button.Enabled+Selected.background * Button.Enabled+Selected.background
* </pre></p> * </pre>
* *
* <p>In this example, suppose you were in the Enabled+Selected state and * <p>In this example, suppose you were in the Enabled+Selected state and
* searched for "foreground". In this case, we first check for * searched for "foreground". In this case, we first check for
......
...@@ -62,10 +62,10 @@ import javax.swing.UIDefaults; ...@@ -62,10 +62,10 @@ import javax.swing.UIDefaults;
* The following <a href="doc-files/synthFileFormat.html">xml</a> * The following <a href="doc-files/synthFileFormat.html">xml</a>
* accomplishes the same thing: * accomplishes the same thing:
* <pre> * <pre>
* &lt;style id="splitPaneStyle"> * &lt;style id="splitPaneStyle"&gt;
* ... * ...
* &lt;/style> * &lt;/style&gt;
* &lt;bind style="splitPaneStyle" type="region" key="SplitPane"/> * &lt;bind style="splitPaneStyle" type="region" key="SplitPane"/&gt;
* </pre> * </pre>
* *
* @since 1.5 * @since 1.5
......
...@@ -55,7 +55,6 @@ import java.lang.ref.*; ...@@ -55,7 +55,6 @@ import java.lang.ref.*;
* an effect upon the way that HTML is modeled. These * an effect upon the way that HTML is modeled. These
* have influenced its design in a substantial way. * have influenced its design in a substantial way.
* <dl> * <dl>
* <p>
* <dt> * <dt>
* Support editing * Support editing
* <dd> * <dd>
......
...@@ -554,8 +554,8 @@ public class ImageView extends View { ...@@ -554,8 +554,8 @@ public class ImageView extends View {
* Sets the size of the view. This should cause * Sets the size of the view. This should cause
* layout of the view if it has any layout duties. * layout of the view if it has any layout duties.
* *
* @param width the width >= 0 * @param width the width &gt;= 0
* @param height the height >= 0 * @param height the height &gt;= 0
*/ */
public void setSize(float width, float height) { public void setSize(float width, float height) {
sync(); sync();
......
...@@ -130,10 +130,10 @@ public class InlineView extends LabelView { ...@@ -130,10 +130,10 @@ public class InlineView extends LabelView {
* *
* @param axis may be either View.X_AXIS or View.Y_AXIS * @param axis may be either View.X_AXIS or View.Y_AXIS
* @param pos the potential location of the start of the * @param pos the potential location of the start of the
* broken view >= 0. This may be useful for calculating tab * broken view &gt;= 0. This may be useful for calculating tab
* positions. * positions.
* @param len specifies the relative length from <em>pos</em> * @param len specifies the relative length from <em>pos</em>
* where a potential break is desired >= 0. * where a potential break is desired &gt;= 0.
* @return the weight, which should be a value between * @return the weight, which should be a value between
* ForcedBreakWeight and BadBreakWeight. * ForcedBreakWeight and BadBreakWeight.
* @see LabelView * @see LabelView
...@@ -162,14 +162,14 @@ public class InlineView extends LabelView { ...@@ -162,14 +162,14 @@ public class InlineView extends LabelView {
* @param axis may be either <code>View.X_AXIS</code> or * @param axis may be either <code>View.X_AXIS</code> or
* <code>View.Y_AXIS</code> * <code>View.Y_AXIS</code>
* @param offset the location in the document model * @param offset the location in the document model
* that a broken fragment would occupy >= 0. This * that a broken fragment would occupy &gt;= 0. This
* would be the starting offset of the fragment * would be the starting offset of the fragment
* returned * returned
* @param pos the position along the axis that the * @param pos the position along the axis that the
* broken view would occupy >= 0. This may be useful for * broken view would occupy &gt;= 0. This may be useful for
* things like tab calculations * things like tab calculations
* @param len specifies the distance along the axis * @param len specifies the distance along the axis
* where a potential break is desired >= 0 * where a potential break is desired &gt;= 0
* @return the fragment of the view that represents the * @return the fragment of the view that represents the
* given span. * given span.
* @since 1.5 * @since 1.5
......
...@@ -74,7 +74,7 @@ import javax.swing.text.*; ...@@ -74,7 +74,7 @@ import javax.swing.text.*;
* is stored to translate the context of an element to a * is stored to translate the context of an element to a
* rule quickly. The following code fragment will display * rule quickly. The following code fragment will display
* the named styles, and therefore the CSS rules contained. * the named styles, and therefore the CSS rules contained.
* <code><pre> * <pre><code>
* &nbsp; * &nbsp;
* &nbsp; import java.util.*; * &nbsp; import java.util.*;
* &nbsp; import javax.swing.text.*; * &nbsp; import javax.swing.text.*;
...@@ -97,7 +97,7 @@ import javax.swing.text.*; ...@@ -97,7 +97,7 @@ import javax.swing.text.*;
* &nbsp; } * &nbsp; }
* &nbsp; } * &nbsp; }
* &nbsp; * &nbsp;
* </pre></code> * </code></pre>
* <p> * <p>
* The semantics for when a CSS style should overide visual attributes * The semantics for when a CSS style should overide visual attributes
* defined by an element are not well defined. For example, the html * defined by an element are not well defined. For example, the html
......
...@@ -42,7 +42,7 @@ import java.io.*; ...@@ -42,7 +42,7 @@ import java.io.*;
*/ */
public final class ContentModel implements Serializable { public final class ContentModel implements Serializable {
/** /**
* Type. Either '*', '?', '+', ',', '|', '&'. * Type. Either '*', '?', '+', ',', '|', '&amp;'.
*/ */
public int type; public int type;
...@@ -52,7 +52,7 @@ public final class ContentModel implements Serializable { ...@@ -52,7 +52,7 @@ public final class ContentModel implements Serializable {
public Object content; public Object content;
/** /**
* The next content model (in a ',', '|' or '&' expression). * The next content model (in a ',', '|' or '&amp;' expression).
*/ */
public ContentModel next; public ContentModel next;
......
...@@ -48,8 +48,8 @@ import java.net.*; ...@@ -48,8 +48,8 @@ import java.net.*;
* <li><i>handleStartTag(head, ...)</i></li> * <li><i>handleStartTag(head, ...)</i></li>
* <li><i>handleEndTag(head)</i></li> * <li><i>handleEndTag(head)</i></li>
* <li><i>handleStartTag(body, ...)</i></li> * <li><i>handleStartTag(body, ...)</i></li>
* <li>handleStartTag(p, ...)</i></li> * <li><i>handleStartTag(p, ...)</i></li>
* <li>handleText(...)</li> * <li><i>handleText(...)</i></li>
* <li><i>handleEndTag(p)</i></li> * <li><i>handleEndTag(p)</i></li>
* <li><i>handleEndTag(body)</i></li> * <li><i>handleEndTag(body)</i></li>
* <li><i>handleEndTag(html)</i></li> * <li><i>handleEndTag(html)</i></li>
......
...@@ -58,12 +58,12 @@ import sun.misc.MessageUtils; ...@@ -58,12 +58,12 @@ import sun.misc.MessageUtils;
* space should be used here, but I am using &amp;nbsp to force the space to * space should be used here, but I am using &amp;nbsp to force the space to
* be displayed): * be displayed):
* <p> * <p>
* '&lt;b>blah&nbsp;&lt;i>&nbsp;&lt;strike>&nbsp;foo' which can be treated as: * '&lt;b&gt;blah&nbsp;&lt;i&gt;&nbsp;&lt;strike&gt;&nbsp;foo' which can be treated as:
* '&lt;b>blah&nbsp;&lt;i>&lt;strike>foo' * '&lt;b&gt;blah&nbsp;&lt;i&gt;&lt;strike&gt;foo'
* <p>as well as: * <p>as well as:
* '&lt;p>&lt;a href="xx">&nbsp;&lt;em>Using&lt;/em>&lt;/a>&lt;/p>' * '&lt;p&gt;&lt;a href="xx"&gt;&nbsp;&lt;em&gt;Using&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;'
* which appears to be treated as: * which appears to be treated as:
* '&lt;p>&lt;a href="xx">&lt;em>Using&lt;/em>&lt;/a>&lt;/p>' * '&lt;p&gt;&lt;a href="xx"&gt;&lt;em&gt;Using&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;'
* <p> * <p>
* If <code>strict</code> is false, when a tag that breaks flow, * If <code>strict</code> is false, when a tag that breaks flow,
* (<code>TagElement.breaksFlows</code>) or trailing whitespace is * (<code>TagElement.breaksFlows</code>) or trailing whitespace is
......
...@@ -60,7 +60,7 @@ public abstract class AbstractLayoutCache implements RowMapper { ...@@ -60,7 +60,7 @@ public abstract class AbstractLayoutCache implements RowMapper {
protected boolean rootVisible; protected boolean rootVisible;
/** /**
* Height to use for each row. If this is <= 0 the renderer will be * Height to use for each row. If this is &lt;= 0 the renderer will be
* used to determine the height for each row. * used to determine the height for each row.
*/ */
protected int rowHeight; protected int rowHeight;
......
...@@ -430,7 +430,7 @@ public class DefaultTreeCellEditor implements ActionListener, TreeCellEditor, ...@@ -430,7 +430,7 @@ public class DefaultTreeCellEditor implements ActionListener, TreeCellEditor,
/** /**
* Returns true if <code>event</code> is <code>null</code>, * Returns true if <code>event</code> is <code>null</code>,
* or it is a <code>MouseEvent</code> with a click count > 2 * or it is a <code>MouseEvent</code> with a click count &gt; 2
* and <code>inHitRegion</code> returns true. * and <code>inHitRegion</code> returns true.
* @param event the event being studied * @param event the event being studied
*/ */
...@@ -448,7 +448,7 @@ public class DefaultTreeCellEditor implements ActionListener, TreeCellEditor, ...@@ -448,7 +448,7 @@ public class DefaultTreeCellEditor implements ActionListener, TreeCellEditor,
/** /**
* Returns true if the passed in location is a valid mouse location * Returns true if the passed in location is a valid mouse location
* to start editing from. This is implemented to return false if * to start editing from. This is implemented to return false if
* <code>x</code> is <= the width of the icon and icon gap displayed * <code>x</code> is &lt;= the width of the icon and icon gap displayed
* by the renderer. In other words this returns true if the user * by the renderer. In other words this returns true if the user
* clicks over the text part displayed by the renderer, and false * clicks over the text part displayed by the renderer, and false
* otherwise. * otherwise.
......
...@@ -60,8 +60,7 @@ import sun.swing.DefaultLookup; ...@@ -60,8 +60,7 @@ import sun.swing.DefaultLookup;
* that have a value of type {@code UIResource} are refreshed from the * that have a value of type {@code UIResource} are refreshed from the
* defaults table. The following table lists the mapping between * defaults table. The following table lists the mapping between
* {@code DefaultTreeCellRenderer} property and defaults table key: * {@code DefaultTreeCellRenderer} property and defaults table key:
* <table border="1" cellpadding="1" cellspacing="0" * <table border="1" cellpadding="1" cellspacing="0" summary="">
* valign="top" >
* <tr valign="top" align="left"> * <tr valign="top" align="left">
* <th bgcolor="#CCCCFF" align="left">Property: * <th bgcolor="#CCCCFF" align="left">Property:
* <th bgcolor="#CCCCFF" align="left">Key: * <th bgcolor="#CCCCFF" align="left">Key:
......
...@@ -164,8 +164,8 @@ public class DefaultTreeModel implements Serializable, TreeModel { ...@@ -164,8 +164,8 @@ public class DefaultTreeModel implements Serializable, TreeModel {
* Returns the child of <I>parent</I> at index <I>index</I> in the parent's * Returns the child of <I>parent</I> at index <I>index</I> in the parent's
* child array. <I>parent</I> must be a node previously obtained from * child array. <I>parent</I> must be a node previously obtained from
* this data source. This should not return null if <i>index</i> * this data source. This should not return null if <i>index</i>
* is a valid index for <i>parent</i> (that is <i>index</i> >= 0 && * is a valid index for <i>parent</i> (that is <i>index</i> &gt;= 0 &amp;&amp;
* <i>index</i> < getChildCount(<i>parent</i>)). * <i>index</i> &lt; getChildCount(<i>parent</i>)).
* *
* @param parent a node in the tree, obtained from this data source * @param parent a node in the tree, obtained from this data source
* @return the child of <I>parent</I> at index <I>index</I> * @return the child of <I>parent</I> at index <I>index</I>
......
...@@ -59,8 +59,8 @@ public interface TreeCellRenderer { ...@@ -59,8 +59,8 @@ public interface TreeCellRenderer {
* <pre> * <pre>
* JTree.DropLocation dropLocation = tree.getDropLocation(); * JTree.DropLocation dropLocation = tree.getDropLocation();
* if (dropLocation != null * if (dropLocation != null
* && dropLocation.getChildIndex() == -1 * &amp;&amp; dropLocation.getChildIndex() == -1
* && tree.getRowForPath(dropLocation.getPath()) == row) { * &amp;&amp; tree.getRowForPath(dropLocation.getPath()) == row) {
* *
* // this row represents the current drop location * // this row represents the current drop location
* // so render it specially, perhaps with a different color * // so render it specially, perhaps with a different color
......
...@@ -76,8 +76,8 @@ public interface TreeModel ...@@ -76,8 +76,8 @@ public interface TreeModel
* child array. <code>parent</code> must be a node previously obtained * child array. <code>parent</code> must be a node previously obtained
* from this data source. This should not return <code>null</code> * from this data source. This should not return <code>null</code>
* if <code>index</code> * if <code>index</code>
* is a valid index for <code>parent</code> (that is <code>index >= 0 && * is a valid index for <code>parent</code> (that is <code>index &gt;= 0 &amp;&amp;
* index < getChildCount(parent</code>)). * index &lt; getChildCount(parent</code>)).
* *
* @param parent a node in the tree, obtained from this data source * @param parent a node in the tree, obtained from this data source
* @return the child of <code>parent</code> at index <code>index</code> * @return the child of <code>parent</code> at index <code>index</code>
......
...@@ -57,9 +57,9 @@ import java.util.*; ...@@ -57,9 +57,9 @@ import java.util.*;
* and italicized are insignificant. * and italicized are insignificant.
* <p> * <p>
* <a name="figure1"></a> * <a name="figure1"></a>
* <table border=0> * <table border=0 summary="">
* <tr><td> * <tr><td>
* <img src="doc-files/UndoManager-1.gif"> * <img src="doc-files/UndoManager-1.gif" alt="">
* <tr><td align=center>Figure 1 * <tr><td align=center>Figure 1
* </table> * </table>
* <p> * <p>
...@@ -70,9 +70,9 @@ import java.util.*; ...@@ -70,9 +70,9 @@ import java.util.*;
* figure. * figure.
* <p> * <p>
* <a name="figure2"></a> * <a name="figure2"></a>
* <table border=0> * <table border=0 summary="">
* <tr><td> * <tr><td>
* <img src="doc-files/UndoManager-2.gif"> * <img src="doc-files/UndoManager-2.gif" alt="">
* <tr><td align=center>Figure 2 * <tr><td align=center>Figure 2
* </table> * </table>
* <p> * <p>
...@@ -82,9 +82,9 @@ import java.util.*; ...@@ -82,9 +82,9 @@ import java.util.*;
* next edit to 0, as shown in the following figure. * next edit to 0, as shown in the following figure.
* <p> * <p>
* <a name="figure3"></a> * <a name="figure3"></a>
* <table border=0> * <table border=0 summary="">
* <tr><td> * <tr><td>
* <img src="doc-files/UndoManager-3.gif"> * <img src="doc-files/UndoManager-3.gif" alt="">
* <tr><td align=center>Figure 3 * <tr><td align=center>Figure 3
* </table> * </table>
* <p> * <p>
...@@ -108,9 +108,9 @@ import java.util.*; ...@@ -108,9 +108,9 @@ import java.util.*;
* figure. * figure.
* <p> * <p>
* <a name="figure4"></a> * <a name="figure4"></a>
* <table border=0> * <table border=0 summary="">
* <tr><td> * <tr><td>
* <img src="doc-files/UndoManager-4.gif"> * <img src="doc-files/UndoManager-4.gif" alt="">
* <tr><td align=center>Figure 4 * <tr><td align=center>Figure 4
* </table> * </table>
* <p> * <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册