From 1ce4e666b28071b79a365d28dcc853e7ff1d1377 Mon Sep 17 00:00:00 2001 From: Sascha Brawer Date: Fri, 1 Aug 2003 22:10:22 +0200 Subject: BevelBorder.java, [...]: Prepend "doc-files" to all paths to embedded Javadoc images... 2003-08-01 Sascha Brawer * javax/swing/border/BevelBorder.java, javax/swing/border/EtchedBorder.java, javax/swing/border/LineBorder.java, javax/swing/border/MatteBorder.java, javax/swing/border/SoftBevelBorder.java, javax/swing/plaf/BorderUIResource.java, javax/swing/plaf/ComponentUI.java, javax/swing/plaf/TreeUI.java, javax/swing/plaf/basic/BasicBorders.java, javax/swing/plaf/basic/BasicGraphicsUtils.java, javax/swing/plaf/basic/BasicTreeUI.java: Prepend "doc-files" to all paths to embedded Javadoc images, so that the generated documentation contains the correct URL. From-SVN: r70063 --- libjava/ChangeLog | 16 +++++++ libjava/javax/swing/border/BevelBorder.java | 6 +-- libjava/javax/swing/border/EtchedBorder.java | 6 +-- libjava/javax/swing/border/LineBorder.java | 2 +- libjava/javax/swing/border/MatteBorder.java | 12 ++--- libjava/javax/swing/border/SoftBevelBorder.java | 6 +-- libjava/javax/swing/plaf/BorderUIResource.java | 52 +++++++++++--------- libjava/javax/swing/plaf/ComponentUI.java | 2 +- libjava/javax/swing/plaf/TreeUI.java | 2 +- libjava/javax/swing/plaf/basic/BasicBorders.java | 55 +++++++++++----------- .../javax/swing/plaf/basic/BasicGraphicsUtils.java | 14 +++--- libjava/javax/swing/plaf/basic/BasicTreeUI.java | 2 +- 12 files changed, 99 insertions(+), 76 deletions(-) (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 438e84f..39f8318 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,19 @@ +2003-08-01 Sascha Brawer + + * javax/swing/border/BevelBorder.java, + javax/swing/border/EtchedBorder.java, + javax/swing/border/LineBorder.java, + javax/swing/border/MatteBorder.java, + javax/swing/border/SoftBevelBorder.java, + javax/swing/plaf/BorderUIResource.java, + javax/swing/plaf/ComponentUI.java, + javax/swing/plaf/TreeUI.java, + javax/swing/plaf/basic/BasicBorders.java, + javax/swing/plaf/basic/BasicGraphicsUtils.java, + javax/swing/plaf/basic/BasicTreeUI.java: + Prepend "doc-files" to all paths to embedded Javadoc images, so + that the generated documentation contains the correct URL. + 2003-08-01 Tom Tromey * configure: Rebuilt. diff --git a/libjava/javax/swing/border/BevelBorder.java b/libjava/javax/swing/border/BevelBorder.java index 87bf04a..dd5a52b 100644 --- a/libjava/javax/swing/border/BevelBorder.java +++ b/libjava/javax/swing/border/BevelBorder.java @@ -125,7 +125,7 @@ public class BevelBorder * constructed by this method will automatically reflect a change * to the component’s background color. * - *

[An illustration showing raised and lowered BevelBorders] * * @param bevelType the desired appearance of the border. The value @@ -147,7 +147,7 @@ public class BevelBorder * Constructs a BevelBorder given its appearance type and two colors * for its highlight and shadow. * - *

[An illustration showing BevelBorders that were constructed
    * with this method] * @@ -188,7 +188,7 @@ public class BevelBorder * Constructs a BevelBorder given its appearance type and all * colors. * - *

[An illustration showing BevelBorders that were constructed
    * with this method] * diff --git a/libjava/javax/swing/border/EtchedBorder.java b/libjava/javax/swing/border/EtchedBorder.java index bb16ae9..859e5f8 100644 --- a/libjava/javax/swing/border/EtchedBorder.java +++ b/libjava/javax/swing/border/EtchedBorder.java @@ -51,7 +51,7 @@ import java.awt.Insets; * explicitly specify the border colors, or to let the colors derive * from the background color of the enclosed Component. * - *

[An illustration of the two EtchedBorder variants] * * @author Sascha Brawer (brawer@dandelis.ch) @@ -119,7 +119,7 @@ public class EtchedBorder * colors will be derived from the background color of the enclosed * Component when the border gets painted. * - *

[An illustration of the two EtchedBorder variants] * * @param etchType the desired appearance of the border. The value @@ -165,7 +165,7 @@ public class EtchedBorder * explicitly selecting the colors that will be used for * highlight and shadow. * - *

[An illustration that shows which pixels get painted
    * in what color] * diff --git a/libjava/javax/swing/border/LineBorder.java b/libjava/javax/swing/border/LineBorder.java index 3c85c29..bf42309 100644 --- a/libjava/javax/swing/border/LineBorder.java +++ b/libjava/javax/swing/border/LineBorder.java @@ -128,7 +128,7 @@ public class LineBorder * Constructs a LineBorder given its color, thickness, and whether * it has rounded corners. * - *

[An illustration of two LineBorders] />
    *
    * <p>Note that the enlarged view in the right-hand picture shows
diff --git a/libjava/javax/swing/border/MatteBorder.java b/libjava/javax/swing/border/MatteBorder.java
index 1cc66f7..e7b0f62 100644
--- a/libjava/javax/swing/border/MatteBorder.java
+++ b/libjava/javax/swing/border/MatteBorder.java
@@ -49,7 +49,7 @@ import javax.swing.Icon;
  * A border that is filled with either a solid color or with repeated
  * icon tiles.
  *
- * <p><img src=[Two MatteBorders] * * @author Sascha Brawer (brawer@dandelis.ch) @@ -88,7 +88,7 @@ public class MatteBorder * Constructs a MatteBorder given the width on each side * and a fill color. * - *

[A picture of a MatteBorder made by this constructor] * * @param top the width of the border at its top edge. @@ -112,7 +112,7 @@ public class MatteBorder /** * Constructs a MatteBorder given its insets and fill color. * - *

[A picture of a MatteBorder made by this constructor] * * @param borderInsets an Insets object whose top, @@ -134,7 +134,7 @@ public class MatteBorder * Constructs a MatteBorder given the width on each side * and an icon for tiling the border area. * - *

[A picture of a MatteBorder made by this constructor] * * @param top the width of the border at its top edge. @@ -159,7 +159,7 @@ public class MatteBorder * Constructs a MatteBorder given its insets and an icon * for tiling the border area. * - *

[A picture of a MatteBorder made by this constructor] * * @param borderInsets an Insets object whose top, @@ -183,7 +183,7 @@ public class MatteBorder * at the left and right edge, the icon height for the top and * bottom edge. * - *

[A picture of a MatteBorder made by this constructor] * * @param tileIcon an icon for tiling the border area. diff --git a/libjava/javax/swing/border/SoftBevelBorder.java b/libjava/javax/swing/border/SoftBevelBorder.java index c08fb00..341954c 100644 --- a/libjava/javax/swing/border/SoftBevelBorder.java +++ b/libjava/javax/swing/border/SoftBevelBorder.java @@ -74,7 +74,7 @@ public class SoftBevelBorder * constructed by this method will automatically reflect a change * to the component’s background color. * - *

[An illustration showing raised and lowered SoftBevelBorders] * * @param bevelType the desired appearance of the border. The value @@ -94,7 +94,7 @@ public class SoftBevelBorder * Constructs a SoftBevelBorder given its appearance type and two * colors for its highlight and shadow. * - *

[An illustration showing SoftBevelBorders that were
    * constructed with this method] * @@ -136,7 +136,7 @@ public class SoftBevelBorder * Constructs a SoftBevelBorder given its appearance type and all * colors. * - *

[An illustration showing SoftBevelBorders that were
    * constructed with this method] * diff --git a/libjava/javax/swing/plaf/BorderUIResource.java b/libjava/javax/swing/plaf/BorderUIResource.java index aebb1a0..a3f0db0 100644 --- a/libjava/javax/swing/plaf/BorderUIResource.java +++ b/libjava/javax/swing/plaf/BorderUIResource.java @@ -277,7 +277,8 @@ public class BorderUIResource * constructed by this method will automatically reflect a change * to the component’s background color. * - *

[An illustration showing raised and lowered BevelBorders] * * @param bevelType the desired appearance of the border. The value @@ -297,9 +298,9 @@ public class BorderUIResource * Constructs a BevelBorderUIResource given its appearance type * and two colors for its highlight and shadow. * - *

[An illustration showing BevelBorders that were constructed
-     * with this method] + *

[An illustration showing BevelBorders that were
+     * constructed with this method] * * @param bevelType the desired appearance of the border. The value * must be either {@link javax.swing.border.BevelBorder#RAISED} @@ -337,9 +338,9 @@ public class BorderUIResource * Constructs a BevelBorderUIResource given its appearance type * and all its colors. * - *

[An illustration showing BevelBorders that were constructed
-     * with this method] + *

[An illustration showing BevelBorders that
+     * were constructed with this method] * * @param bevelType the desired appearance of the border. The value * must be either {@link javax.swing.border.BevelBorder#RAISED} @@ -429,7 +430,8 @@ public class BorderUIResource * always install borders that implement UIResource, * such as the borders provided by this class. * - *

[An illustration of EmptyBorder] * * @author Brian Jones (cbj@gnu.org) @@ -483,8 +485,9 @@ public class BorderUIResource * always install borders that implement UIResource, * such as the borders provided by this class. * - *

[An illustration of the two EtchedBorder variants] + *

[An illustration of the two EtchedBorder
+   * variants] * * @author Brian Jones (cbj@gnu.org) * @author Sascha Brawer (brawer@dandelis.ch) @@ -509,8 +512,9 @@ public class BorderUIResource * appearance. The colors will be derived from the background * color of the enclosed Component when the border gets painted. * - *

[An illustration of the two EtchedBorder variants] + *

[An illustration of the two
+     * EtchedBorder variants] * * @param etchType the desired appearance of the border. The value * must be either {@link javax.swing.border.EtchedBorder#RAISED} @@ -549,7 +553,7 @@ public class BorderUIResource * appearance, explicitly selecting the colors that will be used * for highlight and shadow. * - *

[An illustration that shows which pixels get
      * painted in what color] * @@ -583,8 +587,8 @@ public class BorderUIResource * always install borders that implement UIResource, * such as the borders provided by this class. * - *

[An illustration of two LineBorders] />
+   * <p><img src= + *

[A picture of a MatteBorder made by this
+     * constructor] * * @param top the width of the border at its top edge. * @param left the width of the border at its left edge. @@ -673,7 +678,7 @@ public class BorderUIResource * Constructs a MatteBorderUIResource given the width on each side * and an icon for tiling the border area. * - *

[A picture of a MatteBorder made by this
      * constructor] * @@ -697,10 +702,11 @@ public class BorderUIResource * the left and right edge, the icon height for the top and bottom * edge. * - *

[A picture of a MatteBorder made by this constructor] + *

[A picture of a MatteBorder made by this
+     * constructor] * - * @param tileIcon an icon for tiling the border area. + * @param tileIcon an icon for tiling the border area. */ public MatteBorderUIResource(Icon tileIcon) { diff --git a/libjava/javax/swing/plaf/ComponentUI.java b/libjava/javax/swing/plaf/ComponentUI.java index 22c2f30..5147ebb 100644 --- a/libjava/javax/swing/plaf/ComponentUI.java +++ b/libjava/javax/swing/plaf/ComponentUI.java @@ -50,7 +50,7 @@ import javax.swing.JComponent; * should not need to access this class; it is internal to Swing * and the look-and-feel implementations. * - *

[UML diagram illustrating the architecture for pluggable
  * look and feels] * diff --git a/libjava/javax/swing/plaf/TreeUI.java b/libjava/javax/swing/plaf/TreeUI.java index 59dca9d..7c44134 100644 --- a/libjava/javax/swing/plaf/TreeUI.java +++ b/libjava/javax/swing/plaf/TreeUI.java @@ -125,7 +125,7 @@ public abstract class TreeUI /** * Finds the path that is closest to the specified position. * - *

[A screen shot of a JTree] />
    *
    * <p>As shown by the above illustration, the bounds of the
diff --git a/libjava/javax/swing/plaf/basic/BasicBorders.java b/libjava/javax/swing/plaf/basic/BasicBorders.java
index d59ab25..7002d14 100644
--- a/libjava/javax/swing/plaf/basic/BasicBorders.java
+++ b/libjava/javax/swing/plaf/basic/BasicBorders.java
@@ -85,7 +85,7 @@ public class BasicBorders
    * <code>“Button.light”</code>, and
    * <code>“Button.highlight”</code>.
    *
-   * <p><img src=[A screen shot of the returned border] * * @return a {@link @@ -135,7 +135,7 @@ public class BasicBorders * “RadioButton.light”, and * “RadioButton.highlight”. * - *

[A screen shot of the returned border] * * @return a {@link @@ -187,7 +187,7 @@ public class BasicBorders * “ToggleButton.light”, and * “ToggleButton.highlight”. * - *

[A screen shot of the returned border] * * @return a {@link @@ -238,7 +238,7 @@ public class BasicBorders * using the keys “MenuBar.shadow” and * “MenuBar.highlight”. * - *

[A screen shot of a JMenuBar with this border] * * @return a {@link #MenuBarBorder}. @@ -266,10 +266,10 @@ public class BasicBorders * using the keys “SplitPane.darkShadow” and * “SplitPane.highlight”. * - *

[A screen shot for JSplitPane.HORIZONTAL_SPLIT] * - *

[A screen shot for JSplitPane.VERTICAL_SPLIT] * * @return a {@link #SplitPaneBorder}. @@ -299,8 +299,9 @@ public class BasicBorders * “SplitPane.highlight”. The color of the * other two edges is the background color of the divider. * - *

[A screen shot for JSplitPane.HORIZONTAL_SPLIT] + *

+ * * @return an instance of SplitPaneDividerBorder, which is * not a public API class of this package. @@ -334,7 +335,7 @@ public class BasicBorders * “TextField.light”, and * “TextField.highlight”. * - *

[A screen shot of a border returned by
    * this method] * @@ -364,7 +365,7 @@ public class BasicBorders * feels better use different borders for their progress bars, or * they will look really terrible. * - *

[A screen shot of a border returned by this method] */ public static Border getProgressBarBorder() @@ -380,7 +381,7 @@ public class BasicBorders * Returns a border that is composed of a raised bevel border and a * one-pixel thick line border. * - *

[A screen shot of a border returned by this method] * *

The colors of the border are retrieved from the @@ -440,7 +441,7 @@ public class BasicBorders * A border whose appearance depends on the state of * the enclosed button. * - *

[A screen shot of this border] * * @see javax.swing.plaf.basic.BasicGraphicsUtils#drawBezel @@ -616,7 +617,7 @@ public class BasicBorders * A border that makes its enclosed component appear as lowered * into the surface. Typically used for text fields. * - *

[A screen shot of this border] * * @see javax.swing.plaf.basic.BasicGraphicsUtils#drawEtchedRect @@ -784,7 +785,7 @@ public class BasicBorders * component. If the enclosed component has no such method, * this border will not occupy any space. * - *

[An illustration that shows how MarginBorder
    * determines its borders] * @@ -885,7 +886,7 @@ public class BasicBorders /** * A border for drawing a separator line below JMenuBar. * - *

[A screen shot of a JMenuBar with this border] * * @author Sascha Brawer (brawer@dandelis.ch) @@ -919,7 +920,7 @@ public class BasicBorders * Constructs a new MenuBarBorder for drawing a JMenuBar in * the Basic look and feel. * - *

[A screen shot of a JMenuBar with this
      * border] * @@ -1041,7 +1042,7 @@ public class BasicBorders /** * A border for drawing radio buttons in the Basic look and feel. * - *

[A screen shot of this border] * *

Note about the screen shot: Normally, the @@ -1285,10 +1286,10 @@ public class BasicBorders * in the middle of the JSplitPane has its own border class, of which * an instance can be obtained with {@link #getSplitPaneDividerBorder()}. * - *

[A screen shot for JSplitPane.HORIZONTAL_SPLIT] * - *

[A screen shot for JSplitPane.VERTICAL_SPLIT] * *

In contrast to the other borders of the Basic look and feel, @@ -1381,10 +1382,10 @@ public class BasicBorders /** * Paints the border around a JSplitPane. * - *

[A screen shot for JSplitPane.HORIZONTAL_SPLIT] * - *

[A screen shot for JSplitPane.VERTICAL_SPLIT] * * @param c the JSplitPane whose border is to be painted. @@ -1535,7 +1536,7 @@ public class BasicBorders /** * A border for the divider inside a JSplitPane. * - *

[A screen shot of this border] * * @author Sascha Brawer (brawer@dandelis.ch) @@ -1575,9 +1576,9 @@ public class BasicBorders /** * Paints the border around the divider of a JSplitPane. * - *

[A picture that shows which pixels get painted
-     * in what color] + *

[A picture that shows which pixels
+     * get painted in what color] * * @param c the JSplitPane whose divider’s border * is to be painted. @@ -1687,8 +1688,8 @@ public class BasicBorders /** * A border for toggle buttons in the Basic look and feel. * - *

[A screen shot of this border] + *

[A screen shot of this border] * *

The Sun implementation always seems to draw exactly * the same border, irrespective of the state of the button. diff --git a/libjava/javax/swing/plaf/basic/BasicGraphicsUtils.java b/libjava/javax/swing/plaf/basic/BasicGraphicsUtils.java index a7b6411..d7b53d5 100644 --- a/libjava/javax/swing/plaf/basic/BasicGraphicsUtils.java +++ b/libjava/javax/swing/plaf/basic/BasicGraphicsUtils.java @@ -78,7 +78,7 @@ public class BasicGraphicsUtils * Draws a rectangle that appears etched into the surface, given * four colors that are used for drawing. * - *

[An illustration that shows which pixels
    * get painted in what color] * @@ -166,7 +166,7 @@ public class BasicGraphicsUtils * Draws a rectangle that appears etched into the surface, given * two colors that are used for drawing. * - *

[An illustration that shows which pixels
    * get painted in what color] * @@ -224,7 +224,7 @@ public class BasicGraphicsUtils * Draws a border that is suitable for buttons of the Basic look and * feel. * - *

[An illustration that shows which pixels
    * get painted in what color] * @@ -305,7 +305,7 @@ public class BasicGraphicsUtils * Draws a rectangle that appears lowered into the surface, given * four colors that are used for drawing. * - *

[An illustration that shows which pixels
    * get painted in what color] * @@ -362,7 +362,7 @@ public class BasicGraphicsUtils * drawn without underlining. Drawing is performed in the current * color and font of g. * - *

[An illustration showing how to use the
    * method] * @@ -413,7 +413,7 @@ public class BasicGraphicsUtils * at the specified index. Drawing is performed in the current color * and font of g. * - *

[An illustration showing how to use the
    * method] * @@ -540,7 +540,7 @@ public class BasicGraphicsUtils * those pixels is the current color of the Graphics g. * Any other pixels are left unchanged. * - *

[An illustration that shows which pixels
    * get painted] * diff --git a/libjava/javax/swing/plaf/basic/BasicTreeUI.java b/libjava/javax/swing/plaf/basic/BasicTreeUI.java index d9af101..0c20cb7 100644 --- a/libjava/javax/swing/plaf/basic/BasicTreeUI.java +++ b/libjava/javax/swing/plaf/basic/BasicTreeUI.java @@ -132,7 +132,7 @@ public class BasicTreeUI /** * Finds the path that is closest to the specified position. * - *