Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/BlurDecorator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/BlurDecorator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/BlurDecorator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/BlurDecorator.java Thu Dec 31 18:02:57 2020 @@ -26,7 +26,7 @@ import org.apache.pivot.wtk.Component; /** * Decorator that applies a blur to a component. <p> Blurs are given an integer * magnitude, which represents the intensity of the blur. This value translates - * to a grid of pixels (<tt>blurMagnitude^2</tt>), where each pixel value is + * to a grid of pixels (<code>blurMagnitude^2</code>), where each pixel value is * calculated by consulting its neighboring pixels according to the grid. * Because of this, note that you will get "prettier" blurring if you choose odd * values for the blur magnitude; this allows the pixel in question to reside at @@ -47,7 +47,7 @@ public class BlurDecorator implements De private Graphics2D bufferedImageGraphics = null; /** - * Creates a <tt>BlurDecorator</tt> with the default blur magnitude. + * Creates a {@code BlurDecorator} with the default blur magnitude. * * @see #BlurDecorator(int) */ @@ -56,7 +56,7 @@ public class BlurDecorator implements De } /** - * Creates a <tt>BlurDecorator</tt> with the specified blur magnitude. + * Creates a {@code BlurDecorator} with the specified blur magnitude. * * @param blurMagnitude The intensity of the blur. */
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Decorator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Decorator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Decorator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Decorator.java Thu Dec 31 18:02:57 2020 @@ -26,13 +26,13 @@ import org.apache.pivot.wtk.Component; * Interface defining a component "decorator". Decorators allow a caller to * attach additional visual effects to a component. <p> Decorators use a chained * prepare/update model to modify the graphics in which a component is painted. - * The <tt>prepare()</tt> method of each decorator in a component's decorator - * sequence is called in reverse order before the component's <tt>paint()</tt> - * method is called. <tt>prepare()</tt> returns an instance of - * <tt>Graphics2D</tt> that is passed to prior decorators, and ultimately to the + * The {@code prepare()} method of each decorator in a component's decorator + * sequence is called in reverse order before the component's {@code paint()} + * method is called. {@code prepare()} returns an instance of + * {@code Graphics2D} that is passed to prior decorators, and ultimately to the * component itself. This allows decorators to modify the graphics context * before it reaches the component. After the component has been painted, each - * decorator's <tt>update()</tt> method is then called in order to allow the + * decorator's {@code update()} method is then called in order to allow the * decorator to further modify the resulting output. <p> Decorators are not * restricted to painting within the component's bounds. However, they are * clipped to the bounds of the component's parent. They are not clipped to Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ScaleDecorator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ScaleDecorator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ScaleDecorator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ScaleDecorator.java Thu Dec 31 18:02:57 2020 @@ -44,15 +44,15 @@ public class ScaleDecorator implements D private VerticalAlignment verticalAlignment = VerticalAlignment.CENTER; /** - * Creates a new <tt>ScaleDecorator</tt> with the default <tt>scaleX</tt> - * <tt>scaleY</tt> values of <tt>1.0f</tt>. + * Creates a new {@code ScaleDecorator} with the default <code>scaleX</code> + * <code>scaleY</code> values of <code>1.0f</code>. */ public ScaleDecorator() { this(1f, 1f); } /** - * Creates a new <tt>ScaleDecorator</tt> with a "square" scaling of the given + * Creates a new {@code ScaleDecorator} with a "square" scaling of the given * value in both directions. * * @param scale The scale to use for both X and Y directions. @@ -62,8 +62,8 @@ public class ScaleDecorator implements D } /** - * Creates a new <tt>ScaleDecorator</tt> with the specified <tt>scaleX</tt> - * and <tt>scaleY</tt> values. + * Creates a new {@code ScaleDecorator} with the specified <code>scaleX</code> + * and <code>scaleY</code> values. * * @param scaleX The amount to scale the component's x-axis * @param scaleY The amount to scale the component's y-axis @@ -224,8 +224,8 @@ public class ScaleDecorator implements D /** * Gets the x translation that will be applied with respect to the specified - * component, given this decorator's <tt>scaleX</tt> and - * <tt>horizontalAlignment</tt> properties. + * component, given this decorator's <code>scaleX</code> and + * <code>horizontalAlignment</code> properties. * * @param component The component being decorated * @return The amount to translate x-coordinate actions when decorating this @@ -254,8 +254,8 @@ public class ScaleDecorator implements D /** * Gets the y translation that will be applied with respect to the specified - * component, given this decorator's <tt>scaleY</tt> and - * <tt>verticalAlignment</tt> properties. + * component, given this decorator's <code>scaleY</code> and + * <code>verticalAlignment</code> properties. * * @param component The component being decorated * @return The amount to translate y-coordinate actions when decorating this Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ShadeDecorator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ShadeDecorator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ShadeDecorator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/ShadeDecorator.java Thu Dec 31 18:02:57 2020 @@ -37,7 +37,7 @@ public class ShadeDecorator implements D private Graphics2D graphics; /** - * Creates a new <tt>ShadeDecorator</tt> with the default opacity and shade + * Creates a new {@code ShadeDecorator} with the default opacity and shade * color. */ public ShadeDecorator() { @@ -51,7 +51,7 @@ public class ShadeDecorator implements D } /** - * Creates a new <tt>ShadeDecorator</tt> with the specified opacity and + * Creates a new {@code ShadeDecorator} with the specified opacity and * shade color. * * @param opacity The opacity of the shade, between 0.0 and 1.0, exclusive. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java Thu Dec 31 18:02:57 2020 @@ -262,7 +262,7 @@ public abstract class Transition { /** * Starts the transition. Calls {@link #update()} to establish the initial * state and starts a timer that will repeatedly call {@link #update()} at - * the current rate. The specified <tt>TransitionListener</tt> will be + * the current rate. The specified {@code TransitionListener} will be * notified when the transition completes. * * @param transitionListenerArgument The listener to get notified when the Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/WatermarkDecorator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/WatermarkDecorator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/WatermarkDecorator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/WatermarkDecorator.java Thu Dec 31 18:02:57 2020 @@ -48,14 +48,14 @@ public class WatermarkDecorator implemen private Graphics2D graphics = null; /** - * Creates a new <tt>WatermarkDecorator</tt> with no text or image. + * Creates a new {@code WatermarkDecorator} with no text or image. */ public WatermarkDecorator() { this(null, null); } /** - * Creates a new <tt>WatermarkDecorator</tt> with the specified string as + * Creates a new {@code WatermarkDecorator} with the specified string as * its text and no image. * * @param text The text to paint over the decorated component @@ -65,7 +65,7 @@ public class WatermarkDecorator implemen } /** - * Creates a new <tt>WatermarkDecorator</tt> with no text and the specified + * Creates a new {@code WatermarkDecorator} with no text and the specified * image. * * @param image The image to paint over the decorated component @@ -75,7 +75,7 @@ public class WatermarkDecorator implemen } /** - * Creates a new <tt>WatermarkDecorator</tt> with the specified text and + * Creates a new {@code WatermarkDecorator} with the specified text and * image. * * @param text The text to paint over the decorated component @@ -218,7 +218,7 @@ public class WatermarkDecorator implemen /** * Sets the angle at the watermark will be painted, in radians. This value - * must lie between <tt>0</tt> and <tt>PI / 2</tt> (inclusive). + * must lie between <code>0</code> and <code>PI / 2</code> (inclusive). * * @param theta This decorator's watermark angle */ Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/media/BufferedImageSerializer.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/media/BufferedImageSerializer.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/media/BufferedImageSerializer.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/media/BufferedImageSerializer.java Thu Dec 31 18:02:57 2020 @@ -99,7 +99,7 @@ public class BufferedImageSerializer imp * Reads a serialized image from an input stream. * * @param inputStream The stream to read the image from. - * @return A <tt>BufferedImage</tt> object + * @return A {@code BufferedImage} object */ @Override public BufferedImage readObject(final InputStream inputStream) throws IOException, Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/media/MovieListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/media/MovieListener.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/media/MovieListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/media/MovieListener.java Thu Dec 31 18:02:57 2020 @@ -142,7 +142,7 @@ public interface MovieListener { /** * Called when the movie begins playing. The frame at which the movie is - * starting can be obtained via <tt>getCurrentFrame()</tt> (it is not + * starting can be obtained via {@code getCurrentFrame()} (it is not * guaranteed to be positioned before the first frame when it is started). * * @param movie The movie that has just started to play. @@ -152,7 +152,7 @@ public interface MovieListener { /** * Called when the movie stops playing. The frame at which the movie stopped - * can be obtained via <tt>getCurrentFrame()</tt> (it is not guaranteed to + * can be obtained via {@code getCurrentFrame()} (it is not guaranteed to * have completed the last frame when it is stopped). * * @param movie The movie that has just stopped playing. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java Thu Dec 31 18:02:57 2020 @@ -474,7 +474,7 @@ public abstract class ComponentSkin impl /** * Returns the input method listener for this component. * <p> Should be overridden by any component's skin that wants - * to handle Input Method events (such as <tt>TextInput</tt>). + * to handle Input Method events (such as {@code TextInput}). * * @return The input method listener (if any) for this * component. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/NumberRulerSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/NumberRulerSkin.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/NumberRulerSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/NumberRulerSkin.java Thu Dec 31 18:02:57 2020 @@ -329,7 +329,7 @@ public class NumberRulerSkin extends Com * Set the number of pixels interval at which to draw the markers * (for horizontal orientation only). * - * @param spacing The number of pixels between markers (must be >= 1). + * @param spacing The number of pixels between markers (must be {@code >= 1}). */ public final void setMarkerSpacing(final int spacing) { Utils.checkPositive(spacing, "markerSpacing"); @@ -342,7 +342,7 @@ public class NumberRulerSkin extends Com * Set the number of pixels interval at which to draw the markers * (for horizontal orientation only). * - * @param spacing The integer number of pixels between markers (must be >= 1). + * @param spacing The integer number of pixels between markers (must be {@code >= 1}). */ public final void setMarkerSpacing(final Number spacing) { Utils.checkNull(spacing, "markerSpacing"); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/RulerSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/RulerSkin.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/RulerSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/RulerSkin.java Thu Dec 31 18:02:57 2020 @@ -324,7 +324,7 @@ public class RulerSkin extends Component /** * Set the number of pixels interval at which to draw the markers. * - * @param spacing The number of pixels between markers (must be >= 1). + * @param spacing The number of pixels between markers (must be {@code >= 1}). */ public final void setMarkerSpacing(int spacing) { Utils.checkPositive(spacing, "markerSpacing"); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ScrollPaneSkin.java Thu Dec 31 18:02:57 2020 @@ -479,7 +479,7 @@ public class ScrollPaneSkin extends Cont } /** - * Gets the maximum legal <tt>scrollTop</tt> value this this skin imposes. + * Gets the maximum legal {@code scrollTop} value this this skin imposes. * This is the largest value possible that still shows as much of the view * component as it can. * @@ -514,7 +514,7 @@ public class ScrollPaneSkin extends Cont } /** - * Gets the maximum legal <tt>scrollLeft</tt> value this this skin imposes. + * Gets the maximum legal {@code scrollLeft} value this this skin imposes. * This is the largest value possible that still shows as much of the view * component as it can. * @@ -616,13 +616,13 @@ public class ScrollPaneSkin extends Cont } /** - * Layout helper method that assumes that the <tt>FILL_TO_CAPACITY</tt> + * Layout helper method that assumes that the <code>FILL_TO_CAPACITY</code> * scroll policy doesn't exist. * * @param horizontalPolicy The assumed horizontal scroll policy; musn't be - * <tt>FILL_TO_CAPACITY</tt> + * <code>FILL_TO_CAPACITY</code> * @param verticalPolicy The assumed vertical scroll policy; musn't be - * <tt>FILL_TO_CAPACITY</tt> + * <code>FILL_TO_CAPACITY</code> */ private void layoutHelper(final ScrollBarPolicy horizontalPolicy, final ScrollBarPolicy verticalPolicy) { ScrollPane scrollPane = (ScrollPane) getComponent(); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java Thu Dec 31 18:02:57 2020 @@ -751,26 +751,26 @@ public class TextAreaSkin extends Compon } /** - * Gets current value of style that determines the behavior of <tt>TAB</tt> - * and <tt>Ctrl-TAB</tt> characters. + * Gets current value of style that determines the behavior of <code>TAB</code> + * and <code>Ctrl-TAB</code> characters. * - * @return {@code true} if <tt>TAB</tt> inserts an appropriate number of - * spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * {@code false} (default) means <tt>TAB</tt> shifts focus and - * <tt>Ctrl-TAB</tt> inserts spaces. + * @return {@code true} if <code>TAB</code> inserts an appropriate number of + * spaces, while <code>Ctrl-TAB</code> shifts focus to next component. + * {@code false} (default) means <code>TAB</code> shifts focus and + * <code>Ctrl-TAB</code> inserts spaces. */ public final boolean getAcceptsTab() { return acceptsTab; } /** - * Sets current value of style that determines the behavior of <tt>TAB</tt> - * and <tt>Ctrl-TAB</tt> characters. + * Sets current value of style that determines the behavior of <code>TAB</code> + * and <code>Ctrl-TAB</code> characters. * - * @param acceptsTab {@code true} if <tt>TAB</tt> inserts an appropriate - * number of spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * {@code false} (default) means <tt>TAB</tt> shifts focus and - * <tt>Ctrl-TAB</tt> inserts spaces. + * @param acceptsTab {@code true} if <code>TAB</code> inserts an appropriate + * number of spaces, while <code>Ctrl-TAB</code> shifts focus to next component. + * {@code false} (default) means <code>TAB</code> shifts focus and + * <code>Ctrl-TAB</code> inserts spaces. */ public final void setAcceptsTab(final boolean acceptsTab) { this.acceptsTab = acceptsTab; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java Thu Dec 31 18:02:57 2020 @@ -551,26 +551,26 @@ org.apache.pivot.util.Console.getDefault } /** - * Gets current value of style that determines the behavior of <tt>TAB</tt> - * and <tt>Ctrl-TAB</tt> characters. + * Gets current value of style that determines the behavior of <code>TAB</code> + * and <code>Ctrl-TAB</code> characters. * - * @return {@code true} if <tt>TAB</tt> inserts an appropriate number of - * spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * {@code false} (default) means <tt>TAB</tt> shifts focus and - * <tt>Ctrl-TAB</tt> inserts spaces. + * @return {@code true} if <code>TAB</code> inserts an appropriate number of + * spaces, while <code>Ctrl-TAB</code> shifts focus to next component. + * {@code false} (default) means <code>TAB</code> shifts focus and + * <code>Ctrl-TAB</code> inserts spaces. */ public boolean getAcceptsTab() { return acceptsTab; } /** - * Sets current value of style that determines the behavior of <tt>TAB</tt> - * and <tt>Ctrl-TAB</tt> characters. + * Sets current value of style that determines the behavior of <code>TAB</code> + * and <code>Ctrl-TAB</code> characters. * - * @param acceptsTab {@code true} if <tt>TAB</tt> inserts an appropriate - * number of spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * {@code false} (default) means <tt>TAB</tt> shifts focus and - * <tt>Ctrl-TAB</tt> inserts spaces. + * @param acceptsTab {@code true} if <code>TAB</code> inserts an appropriate + * number of spaces, while <code>Ctrl-TAB</code> shifts focus to next component. + * {@code false} (default) means <code>TAB</code> shifts focus and + * <code>Ctrl-TAB</code> inserts spaces. */ public void setAcceptsTab(final boolean acceptsTab) { this.acceptsTab = acceptsTab; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinNodeView.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinNodeView.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinNodeView.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinNodeView.java Thu Dec 31 18:02:57 2020 @@ -284,9 +284,9 @@ abstract class TextPaneSkinNodeView impl } /** - * Create a node view for the given model node attached to this <tt>TextPaneSkin</tt>. + * Create a node view for the given model node attached to this {@code TextPaneSkin}. * - * @param textPaneSkin The overall skin of this <tt>TextPane</tt>. + * @param textPaneSkin The overall skin of this {@code TextPane}. * @param node The data node we are creating the view for. * @return The corresponding view node. */ Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/text/PlainTextSerializer.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/text/PlainTextSerializer.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/text/PlainTextSerializer.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/text/PlainTextSerializer.java Thu Dec 31 18:02:57 2020 @@ -92,7 +92,7 @@ public class PlainTextSerializer impleme /** * Sets the buffer size used internally for reading and writing. The - * default value is {@link Constants#BUFFER_SIZE}. A value of <tt>0</tt> will + * default value is {@link Constants#BUFFER_SIZE}. A value of <code>0</code> will * use the default value in the {@link BufferedReader} and {@link BufferedWriter} * classes (probably 8192). * Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java Thu Dec 31 18:02:57 2020 @@ -36,7 +36,7 @@ public final class ColorUtilities { /** * Returns a brighter version of the specified color. Specifically, it * increases the brightness (in the HSB color model) by the given - * <tt>adjustment</tt> factor (usually in the range ]0 .. 1[). + * {@code adjustment} factor (usually in the range ]0 .. 1[). * * @param color the color * @param adjustment the adjustment factor @@ -49,7 +49,7 @@ public final class ColorUtilities { /** * Returns a darker version of the specified color. Specifically, it * decreases the brightness (in the HSB color model) by the given - * <tt>adjustment</tt> factor (usually in the range ]0 .. 1[). + * {@code adjustment} factor (usually in the range ]0 .. 1[). * * @param color the color * @param adjustment the adjustment factor @@ -221,7 +221,7 @@ public final class ColorUtilities { /** * @return An encoded value for the given color in the form of: - * <tt>#RRGGBB</tt> or <tt>0xRRGGBBTT</tt> (where <tt>"TT"</tt> is the + * <code>#RRGGBB</code> or <code>0xRRGGBBTT</code> (where <code>"TT"</code> is the * alpha transparency value of the color, if not solid), * either of which is suitable for lookup in the * {@link org.apache.pivot.wtk.GraphicsUtilities#decodeColor(String)} method. @@ -242,7 +242,7 @@ public final class ColorUtilities { /** * @return An encoded value for the given {@link CSSColor} in the form of: - * <tt>#RRGGBB</tt> only (since these are always solid colors by definition), + * <code>#RRGGBB</code> only (since these are always solid colors by definition), * which is suitable for lookup in the * {@link org.apache.pivot.wtk.GraphicsUtilities#decodeColor(String)} method. * @param color The input color to convert. Added: pivot/trunk/wtk/src/org/apache/pivot/wtk/util/package.html URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/util/package.html?rev=1884991&view=auto ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/util/package.html (added) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/util/package.html Thu Dec 31 18:02:57 2020 @@ -0,0 +1,23 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, +Version 2.0 (the "License"); you may not use this file except in +compliance with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> + +<html> +<head></head> +<body> +<p>Utilities classes to provide helpers for some common operations.</p> +</body> +</html> Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/IntRangeValidator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/IntRangeValidator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/IntRangeValidator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/IntRangeValidator.java Thu Dec 31 18:02:57 2020 @@ -19,7 +19,7 @@ import org.apache.pivot.wtk.Limits; /** - * A validator for an <tt>int</tt> value limited to a range. + * A validator for an {@code int} value limited to a range. * <p> {@link BigInteger} math is used here so that proper checks against * the limits of the type can be done. * Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/LongRangeValidator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/LongRangeValidator.java?rev=1884991&r1=1884990&r2=1884991&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/LongRangeValidator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/LongRangeValidator.java Thu Dec 31 18:02:57 2020 @@ -17,7 +17,7 @@ import java.math.BigInteger; import java.util.Locale; /** - * A validator for a <tt>long</tt> value limited to a range. + * A validator for a {@code long} value limited to a range. * <p> {@link BigInteger} math is used here so that proper checks against * the limits of the type can be done. *