You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2020/12/31 18:02:58 UTC
svn commit: r1884991 [2/3] - in /pivot/trunk:
core/src/org/apache/pivot/beans/ core/src/org/apache/pivot/collections/
core/src/org/apache/pivot/collections/adapter/
core/src/org/apache/pivot/serialization/ core/src/org/apache/pivot/text/
core/src/org/a...
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/CardPane.java Thu Dec 31 18:02:57 2020
@@ -35,7 +35,7 @@ public class CardPane extends Container
/**
* Returns the currently selected card index.
*
- * @return The selected card index, or <tt>-1</tt> if no card is selected.
+ * @return The selected card index, or <code>-1</code> if no card is selected.
*/
public int getSelectedIndex() {
return selectedIndex;
@@ -44,7 +44,7 @@ public class CardPane extends Container
/**
* Sets the selected card index.
*
- * @param selectedIndex The selected card index, or <tt>-1</tt> for no
+ * @param selectedIndex The selected card index, or <code>-1</code> for no
* selection.
*/
public void setSelectedIndex(int selectedIndex) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ColorChooser.java Thu Dec 31 18:02:57 2020
@@ -90,7 +90,7 @@ public class ColorChooser extends Contai
/**
* Sets the selected color.
*
- * @param selectedColor The color to select, or <tt>"null"</tt> to clear the
+ * @param selectedColor The color to select, or {@code null} to clear the
* selection.
*/
public void setSelectedColor(final String selectedColor) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Component.java Thu Dec 31 18:02:57 2020
@@ -717,7 +717,7 @@ public abstract class Component implemen
* Returns the component's constrained preferred width.
*
* @param height The height value by which the preferred width should be
- * constrained, or <tt>-1</tt> for no constraint.
+ * constrained, or <code>-1</code> for no constraint.
* @return The constrained preferred width.
*/
@Override
@@ -745,7 +745,7 @@ public abstract class Component implemen
/**
* Sets the component's preferred width.
*
- * @param preferredWidth The preferred width value, or <tt>-1</tt> to use
+ * @param preferredWidth The preferred width value, or <code>-1</code> to use
* the default value determined by the skin.
*/
public void setPreferredWidth(final int preferredWidth) {
@@ -774,7 +774,7 @@ public abstract class Component implemen
* Returns the component's constrained preferred height.
*
* @param width The width value by which the preferred height should be
- * constrained, or <tt>-1</tt> for no constraint.
+ * constrained, or <code>-1</code> for no constraint.
* @return The constrained preferred height.
*/
@Override
@@ -802,7 +802,7 @@ public abstract class Component implemen
/**
* Sets the component's preferred height.
*
- * @param preferredHeight The preferred height value, or <tt>-1</tt> to use
+ * @param preferredHeight The preferred height value, or <code>-1</code> to use
* the default value determined by the skin.
*/
public void setPreferredHeight(final int preferredHeight) {
@@ -868,9 +868,9 @@ public abstract class Component implemen
/**
* Sets the component's preferred size.
*
- * @param preferredWidth The preferred width value, or <tt>-1</tt> to use
+ * @param preferredWidth The preferred width value, or <code>-1</code> to use
* the default value determined by the skin.
- * @param preferredHeight The preferred height value, or <tt>-1</tt> to use
+ * @param preferredHeight The preferred height value, or <code>-1</code> to use
* the default value determined by the skin.
*/
public void setPreferredSize(final int preferredWidth, final int preferredHeight) {
@@ -1157,7 +1157,7 @@ public abstract class Component implemen
* Returns the component's baseline.
*
* @return The baseline relative to the origin of this component, or
- * <tt>-1</tt> if this component does not have a baseline.
+ * <code>-1</code> if this component does not have a baseline.
*/
@Override
public int getBaseline() {
@@ -1172,7 +1172,7 @@ public abstract class Component implemen
* Returns the component's baseline for a given width and height.
*
* @return The baseline relative to the origin of this component, or
- * <tt>-1</tt> if this component does not have a baseline.
+ * <code>-1</code> if this component does not have a baseline.
*/
@Override
public int getBaseline(final int width, final int height) {
@@ -1180,7 +1180,7 @@ public abstract class Component implemen
}
/**
- * @return The component's bounding area. The <tt>x</tt> and <tt>y</tt>
+ * @return The component's bounding area. The <code>x</code> and <code>y</code>
* values are relative to the parent container.
*/
public Bounds getBounds() {
@@ -1189,7 +1189,7 @@ public abstract class Component implemen
/**
* @return The component's bounding area including decorators.
- * The <tt>x</tt> and <tt>y</tt> values are relative to the parent container.
+ * The <code>x</code> and <code>y</code> values are relative to the parent container.
*/
public Bounds getDecoratedBounds() {
Bounds decoratedBounds = new Bounds(0, 0, getWidth(), getHeight());
@@ -2052,7 +2052,7 @@ public abstract class Component implemen
*
* @param focused {@code true} if the component has received the input
* focus; {@code false} if the component has lost the focus.
- * @param obverseComponent If <tt>focused</tt> is true, the component that
+ * @param obverseComponent If {@code focused} is true, the component that
* has lost the focus; otherwise, the component that has gained the focus.
*/
protected void setFocused(final boolean focused, final Component obverseComponent) {
@@ -2379,7 +2379,7 @@ public abstract class Component implemen
/**
* If the mouse is currently over the component, causes the component to
- * fire <tt>mouseOut()</tt> and a <tt>mouseMove()</tt> at the current mouse
+ * fire {@code mouseOut()} and a {@code mouseMove()} at the current mouse
* location. <p> This method is primarily useful when consuming container
* mouse motion events, since it allows a caller to reset the mouse state
* based on the event consumption logic.
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ConstrainedVisual.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ConstrainedVisual.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ConstrainedVisual.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ConstrainedVisual.java Thu Dec 31 18:02:57 2020
@@ -45,7 +45,7 @@ public interface ConstrainedVisual exten
* constraint.
*
* @param height The height by which to constrain the preferred width, or
- * <tt>-1</tt> for no constraint.
+ * <code>-1</code> for no constraint.
* @return The preferred width given the height constraint.
*/
int getPreferredWidth(int height);
@@ -55,7 +55,7 @@ public interface ConstrainedVisual exten
* constraint.
*
* @param width The width by which to constrain the preferred height, or
- * <tt>-1</tt> for no constraint.
+ * <code>-1</code> for no constraint.
* @return The preferred height given the width constraint.
*/
int getPreferredHeight(int width);
@@ -71,7 +71,7 @@ public interface ConstrainedVisual exten
*
* @param width Constrained width to compute the baseline for.
* @param height Constrained height to compute the baseline for.
- * @return The baseline relative to the origin of this visual, or <tt>-1</tt>
+ * @return The baseline relative to the origin of this visual, or <code>-1</code>
* if this visual does not have a baseline.
*/
int getBaseline(int width, int height);
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Container.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Container.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Container.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Container.java Thu Dec 31 18:02:57 2020
@@ -379,7 +379,7 @@ public abstract class Container extends
*
* @param component The component to test.
* @return {@code true} if this container is an ancestor of
- * <tt>component</tt>; {@code false} otherwise.
+ * {@code component}; {@code false} otherwise.
*/
public boolean isAncestor(Component component) {
boolean ancestor = false;
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.java Thu Dec 31 18:02:57 2020
@@ -878,7 +878,7 @@ public final class DesktopApplicationCon
}
/**
- * Utility method to make it easier to define <tt>main()</tt> entry-points
+ * Utility method to make it easier to define {@code main()} entry-points
* into applications. For example:
* <pre> public class MyApp implements Application {
* public static void main(String[] args) throws Exception {
@@ -898,7 +898,7 @@ public final class DesktopApplicationCon
/**
/**
- * Utility method to make it easier to define <tt>main()</tt> entry-points
+ * Utility method to make it easier to define {@code main()} entry-points
* into applications. For example:
* <pre> public class MyApp implements Application {
* public static void main(String[] args) throws Exception {
@@ -921,7 +921,7 @@ public final class DesktopApplicationCon
}
/**
- * Utility method to make it easier to define <tt>main()</tt> entry-points
+ * Utility method to make it easier to define {@code main()} entry-points
* into applications.<br> This is useful if application instance has
* already been created, for example from a scripting environment and I set
* some external properties in the application for later reuse, so I must
@@ -942,7 +942,7 @@ public final class DesktopApplicationCon
}
/**
- * Utility method to make it easier to define <tt>main()</tt> entry-points
+ * Utility method to make it easier to define {@code main()} entry-points
* into applications.<br> This is useful if application instance has
* already been created, for example from a scripting environment and I set
* some external properties in the application for later reuse, so I must
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Editor.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Editor.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Editor.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Editor.java Thu Dec 31 18:02:57 2020
@@ -28,7 +28,7 @@ public interface Editor {
/**
* Saves an edit that is in progress by updating the appropriate data
* object. It is up to implementations to define the behavior when
- * <tt>isEditing() == false</tt>.
+ * <code>isEditing() == false</code>.
*
* @return {@code true} if the changes were successfully saved;
* {@code false} otherwise.
@@ -38,7 +38,7 @@ public interface Editor {
/**
* Cancels an edit that is in progress by reverting any edits the user has
* made. It is up to implementations to define the behavior when
- * <tt>isEditing() == false</tt>.
+ * <code>isEditing() == false</code>.
*/
public void cancelEdit();
}
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/FillPane.java Thu Dec 31 18:02:57 2020
@@ -27,7 +27,7 @@ import org.apache.pivot.util.Utils;
* FillPane, such as a {@link ScrollPane}, will allow that child to fill the
* containing area (as opposed to using a {@link BoxPane} which will only size
* itself to the size of its children, which doesn't always work well with a
- * <tt>ScrollPane</tt>). <p> The <b>n</b> children of a FillPane will be given
+ * {@code ScrollPane}). <p> The <b>n</b> children of a FillPane will be given
* 1/n of the total space available, depending on the orientation. For vertical,
* each child's height will be 1/n of the total height, and for horizontal each
* child's width will be 1/n of the total width. The children will always
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Gauge.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Gauge.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Gauge.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Gauge.java Thu Dec 31 18:02:57 2020
@@ -38,7 +38,7 @@ public class Gauge<T extends Number> ext
/**
* Default constructor for this component, with the default {@link Origin}
- * value (which is <tt>NORTH</tt>).
+ * value (which is <code>NORTH</code>).
*/
public Gauge() {
this(Origin.NORTH);
@@ -135,7 +135,7 @@ public class Gauge<T extends Number> ext
* Sets the current value displayed by the gauge.
* @param value The new value, of the same type as declared for the gauge.
* @throws ClassCastException if the type of this value is not what was given
- * by the {@link #setType setType()} call or any previous call to the <tt>"setXXXValue"</tt>
+ * by the {@link #setType setType()} call or any previous call to the {@code "setXXXValue"}
* methods (which all call {@link #setOrCheckClass}).
*/
public void setValue(T value) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.java Thu Dec 31 18:02:57 2020
@@ -171,13 +171,13 @@ public final class GraphicsUtilities {
* Draws a rectangle with a thickness of one pixel at the specified
* coordinates whose <u>outer border</u> is the specified width and height.
* In other words, the distance from the left edge of the leftmost pixel to
- * the left edge of the rightmost pixel is <tt>width - 1</tt>. <p> This
+ * the left edge of the rightmost pixel is <code>width - 1</code>. <p> This
* method provides more reliable pixel rounding behavior than
- * <tt>java.awt.Graphics#drawRect</tt> when scaling is applied because this
+ * {@code java.awt.Graphics#drawRect} when scaling is applied because this
* method does not stroke the shape but instead explicitly fills the desired
* pixels with the graphics context's paint. For this reason, and because
* Pivot supports scaling the display host, it is recommended that skins use
- * this method over <tt>java.awt.Graphics#drawRect</tt>.
+ * this method over {@code java.awt.Graphics#drawRect}.
*
* @param graphics The graphics context that will be used to perform the operation.
* @param x The x-coordinate of the upper-left corner of the rectangle.
@@ -195,13 +195,13 @@ public final class GraphicsUtilities {
* Draws a rectangle with the specified thickness at the specified
* coordinates whose <u>outer border</u> is the specified width and height.
* In other words, the distance from the left edge of the leftmost pixel to
- * the left edge of the rightmost pixel is <tt>width - thickness</tt>. <p>
+ * the left edge of the rightmost pixel is <code>width - thickness</code>. <p>
* This method provides more reliable pixel rounding behavior than
- * <tt>java.awt.Graphics#drawRect</tt> when scaling is applied because this
+ * {@code java.awt.Graphics#drawRect} when scaling is applied because this
* method does not stroke the shape but instead explicitly fills the desired
* pixels with the graphics context's paint. For this reason, and because
* Pivot supports scaling the display host, it is recommended that skins use
- * this method over <tt>java.awt.Graphics#drawRect</tt>.
+ * this method over {@code java.awt.Graphics#drawRect}.
*
* @param graphics The graphics context that will be used to perform the operation.
* @param x The x-coordinate of the upper-left corner of the rectangle.
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/GridPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/GridPane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/GridPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/GridPane.java Thu Dec 31 18:02:57 2020
@@ -337,7 +337,7 @@ public class GridPane extends Container
* Returns the index of the row at a given location.
*
* @param y The y-coordinate of the row to identify.
- * @return The row index, or <tt>-1</tt> if there is no row at the given
+ * @return The row index, or <code>-1</code> if there is no row at the given
* y-coordinate.
*/
public int getRowAt(int y) {
@@ -360,7 +360,7 @@ public class GridPane extends Container
* Returns the index of the column at a given location.
*
* @param x The x-coordinate of the column to identify.
- * @return The column index, or <tt>-1</tt> if there is no column at the
+ * @return The column index, or <code>-1</code> if there is no column at the
* given x-coordinate.
*/
public int getColumnAt(int x) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Insets.java Thu Dec 31 18:02:57 2020
@@ -97,7 +97,7 @@ public final class Insets implements Ser
}
/**
- * Construct an <tt>Insets</tt> value given the total
+ * Construct an {@code Insets} value given the total
* height and width values to produce.
* <p> This will assign half the height to each of the top
* and bottom, and half the width each to the left and right.
@@ -119,7 +119,7 @@ public final class Insets implements Ser
}
/**
- * Construct an <tt>Insets</tt> value given the total
+ * Construct an {@code Insets} value given the total
* dimensions of the value to produce.
* <p> This will assign half the dimensions height to each of the top
* and bottom, and half the dimensions width each to the left and right.
@@ -197,7 +197,7 @@ public final class Insets implements Ser
/**
* Return the total size of this insets value as a single
- * <tt>Dimensions</tt> value.
+ * {@code Dimensions} value.
*
* @return The total width and height of this object.
* @see #getWidth
@@ -248,7 +248,7 @@ public final class Insets implements Ser
* </ul>
*
* @param value The string value of the Insets to decode.
- * @return The parsed <tt>Insets</tt> value.
+ * @return The parsed {@code Insets} value.
* @throws IllegalArgumentException if the input is not in one of these
* formats.
* @see #Insets(Dictionary)
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Limits.java Thu Dec 31 18:02:57 2020
@@ -131,8 +131,8 @@ public final class Limits implements Ser
}
/**
- * Determines whether the given value is contained by this Limits, that is,
- * whether the value is >= the minimum and <= the maximum.
+ * Determines whether the given value is contained by this {@code Limits}, that is,
+ * whether the {@code value >= minimum} and {@code value <= maximum}.
*
* @param value The value to test.
* @return Whether the value is contained within the limits.
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButton.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButton.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButton.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButton.java Thu Dec 31 18:02:57 2020
@@ -349,7 +349,7 @@ public class ListButton extends Button {
/**
* Returns the current selection.
*
- * @return The index of the currently selected list item, or <tt>-1</tt> if
+ * @return The index of the currently selected list item, or <code>-1</code> if
* nothing is selected.
*/
public int getSelectedIndex() {
@@ -359,7 +359,7 @@ public class ListButton extends Button {
/**
* Sets the selection.
*
- * @param selectedIndex The index of the list item to select, or <tt>-1</tt>
+ * @param selectedIndex The index of the list item to select, or <code>-1</code>
* to clear the selection.
*/
public void setSelectedIndex(int selectedIndex) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ListView.java Thu Dec 31 18:02:57 2020
@@ -72,8 +72,8 @@ public class ListView extends Component
* @param item The item to render, or {@code null} if called to
* calculate preferred height for skins that assume a fixed renderer
* height.
- * @param index The index of the item being rendered, or <tt>-1</tt> if
- * <tt>item</tt> is {@code null}.
+ * @param index The index of the item being rendered, or <code>-1</code> if
+ * {@code item} is {@code null}.
* @param listView The host component.
* @param selected If {@code true}, the item is selected. the item.
* @param state The selected, unselected or mixed state for the checkmark.
@@ -172,7 +172,7 @@ public class ListView extends Component
* @param listData The source list data.
* @param value The value to locate.
* @return The index of first occurrence of the value if it exists in the
- * list; <tt>-1</tt>, otherwise.
+ * list; <code>-1</code>, otherwise.
*/
public int indexOf(List<?> listData, Object value);
@@ -492,8 +492,8 @@ public class ListView extends Component
/**
* Sets the list data.
*
- * @param listData A JSON string (must begin with <tt>[</tt> and end with
- * <tt>]</tt>) denoting the data to be presented by the list view.
+ * @param listData A JSON string (must begin with <code>[</code> and end with
+ * <code>]</code>) denoting the data to be presented by the list view.
* @throws IllegalArgumentException if the list data argument is {@code null}
* or cannot be parsed into a list of items.
*/
@@ -596,7 +596,7 @@ public class ListView extends Component
/**
* Sets the selection to a single index.
*
- * @param index The index to select, or <tt>-1</tt> to clear the selection.
+ * @param index The index to select, or <code>-1</code> to clear the selection.
*/
public void setSelectedIndex(int index) {
if (index == -1) {
@@ -724,7 +724,7 @@ public class ListView extends Component
/**
* Returns the first selected index.
*
- * @return The first selected index, or <tt>-1</tt> if nothing is selected.
+ * @return The first selected index, or <code>-1</code> if nothing is selected.
*/
public int getFirstSelectedIndex() {
return (rangeSelection.getLength() > 0) ? rangeSelection.get(0).start : -1;
@@ -733,7 +733,7 @@ public class ListView extends Component
/**
* Returns the last selected index.
*
- * @return The last selected index, or <tt>-1</tt> if nothing is selected.
+ * @return The last selected index, or <code>-1</code> if nothing is selected.
*/
public int getLastSelectedIndex() {
return (rangeSelection.getLength() > 0) ? rangeSelection.get(rangeSelection.getLength() - 1).end
@@ -1044,7 +1044,7 @@ public class ListView extends Component
/**
* Returns the indexes of currently checked items.
* <p> If the {@link #checkmarksMixedAsChecked} flag is set this method
- * will return all the checked and <tt>MIXED</tt> state items.
+ * will return all the checked and <code>MIXED</code> state items.
* @return The complete list of currently checked items.
*/
public ImmutableList<Integer> getCheckedIndexes() {
@@ -1256,7 +1256,7 @@ public class ListView extends Component
}
/**
- * Get the flag saying whether tri-state checkmarks are allowed in this <tt>ListView</tt>.
+ * Get the flag saying whether tri-state checkmarks are allowed in this {@code ListView}.
* <p> Tri-state checkmarks show checked, unchecked and mixed states. For a list view with
* this property enabled, then there are additional methods to set the mixed state, to get
* the true state of all the items, and to decide if mixed state should be treated as checked
@@ -1268,7 +1268,7 @@ public class ListView extends Component
}
/**
- * Set the flag saying whether tri-state checkmarks are allowed in this <tt>ListView</tt>.
+ * Set the flag saying whether tri-state checkmarks are allowed in this {@code ListView}.
* <p> Tri-state checkmarks show checked, unchecked and mixed states. For a list view with
* this property enabled, then there are additional methods to set the mixed state, to get
* the true state of all the items, and to decide if mixed state should be treated as checked
@@ -1857,7 +1857,7 @@ public class ListView extends Component
* Returns the index of the item at a given location.
*
* @param y The y-coordinate of the item to identify.
- * @return The item index, or <tt>-1</tt> if there is no item at the given
+ * @return The item index, or <code>-1</code> if there is no item at the given
* y-coordinate.
*/
public int getItemAt(int y) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewItemListener.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewItemListener.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewItemListener.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewItemListener.java Thu Dec 31 18:02:57 2020
@@ -99,7 +99,7 @@ public interface ListViewItemListener {
*
* @param listView The source of the event.
* @param index The first index affected by the event.
- * @param count The number of items that were removed, or <tt>-1</tt> if all
+ * @param count The number of items that were removed, or <code>-1</code> if all
* items were removed.
*/
default void itemsRemoved(ListView listView, int index, int count) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Point.java Thu Dec 31 18:02:57 2020
@@ -66,9 +66,9 @@ public final class Point implements Seri
}
/**
- * Return a new <tt>Point</tt> object which represents
- * this point moved to a new location, <tt>dx</tt> and
- * <tt>dy</tt> away from the original.
+ * Return a new {@code Point} object which represents
+ * this point moved to a new location, {@code dx} and
+ * {@code dy} away from the original.
*
* @param dx The distance to move in the horizontal
* direction (positive or negative).
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/RadioButtonGroup.java Thu Dec 31 18:02:57 2020
@@ -32,8 +32,8 @@ import org.apache.pivot.wtk.Keyboard.Mod
/**
* Extension of {@link ButtonGroup} providing keyboard navigation within the
* group and modified focus navigation that treats the group as a single
- * focusable entity.<br><br> {@link KeyCode#UP UP} & {@link KeyCode#LEFT LEFT}
- * Select the previous button<br> {@link KeyCode#DOWN DOWN} &
+ * focusable entity.<br><br> {@link KeyCode#UP UP} and {@link KeyCode#LEFT LEFT}
+ * Select the previous button<br> {@link KeyCode#DOWN DOWN} and
* {@link KeyCode#RIGHT RIGHT} Select the next button<br> {@link KeyCode#HOME
* HOME} Select the first button<br> {@link KeyCode#END END} Select the last
* button<br><br> (Note that only {@link Component#isFocusable() focusable}
@@ -54,7 +54,7 @@ import org.apache.pivot.wtk.Keyboard.Mod
* <code>add(T)</code> and <code>remove(T)</code> methods in the
* {@link Group#add(Object) Group} and {@link Sequence#add(Object) Sequence}
* interfaces, this class cannot actually implement
- * <code>Sequence<Button></code>, although most of the same methods are
+ * {@code Sequence<Button>}, although most of the same methods are
* implemented.<br>
*/
public class RadioButtonGroup extends ButtonGroup {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/RangeSelection.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/RangeSelection.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/RangeSelection.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/RangeSelection.java Thu Dec 31 18:02:57 2020
@@ -250,7 +250,7 @@ public class RangeSelection {
}
/**
- * @return The smallest start value of this selection, or <tt>-1</tt>
+ * @return The smallest start value of this selection, or <code>-1</code>
* if it is empty.
*/
public int getStart() {
@@ -262,7 +262,7 @@ public class RangeSelection {
}
/**
- * @return The largest end value of this selection, or <tt>-1</tt>
+ * @return The largest end value of this selection, or <code>-1</code>
* if the range is empty.
*/
public int getEnd() {
@@ -279,7 +279,7 @@ public class RangeSelection {
*
* @param range The range to look for.
* @return The index of the range, if it exists in the selection;
- * <tt>-1</tt>, otherwise.
+ * <code>-1</code>, otherwise.
*/
public int indexOf(final Span range) {
assert (range != null);
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ScriptApplication.java Thu Dec 31 18:02:57 2020
@@ -136,7 +136,7 @@ public class ScriptApplication implement
* automatic application startup (mainly used for tests, demos, etc.).
*
* @param srcArgument The name of a source file that will be used if
- * the <tt>--src=...</tt> argument is missing from the command line.
+ * the <code>--src=...</code> argument is missing from the command line.
*/
public ScriptApplication(final String srcArgument) {
if (srcArgument.startsWith("@")) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ScrollPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ScrollPane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/ScrollPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ScrollPane.java Thu Dec 31 18:02:57 2020
@@ -69,7 +69,7 @@ public class ScrollPane extends Viewport
/**
* Component class representing the components that will get placed in the
- * corners of a <tt>ScrollPane</tt>. Skins will instantiate these components
+ * corners of a {@code ScrollPane}. Skins will instantiate these components
* as needed when unfilled corners are introduced by a row header or column
* header.
*/
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Skin.java Thu Dec 31 18:02:57 2020
@@ -20,9 +20,9 @@ package org.apache.pivot.wtk;
* Interface defining a "skin". A skin is the graphical representation of a
* component. In MVC terminology, a skin represents the "view" of the "model"
* data provided by a component. Components delegate a number of methods to the
- * skin, including all methods defined by the <tt>Visual</tt> interface as well
+ * skin, including all methods defined by the {@link Visual} interface as well
* as style properties and layout. In conjunction with renderers
- * (implementations of the <tt>Renderer</tt> interface), skins define the
+ * (implementations of the {@link Renderer} interface), skins define the
* overall look and feel of an application. <p> Skins are primarily responsible
* for the following: <ul> <li>Adding additional subcomponents, if a
* composite.</li> <li>Painting the component; if a container, this is
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Span.java Thu Dec 31 18:02:57 2020
@@ -27,7 +27,7 @@ import org.apache.pivot.util.Utils;
/**
* Class representing a range of integer values. The range includes all values
* in the interval <i>[start, end]</i>. Values may be negative, and the value of
- * <tt>start</tt> may be less than or equal to the value of <tt>end</tt>.
+ * {@code start} may be less than or equal to the value of {@code end}.
*/
public final class Span {
public final int start;
@@ -111,7 +111,7 @@ public final class Span {
/**
* Returns the length of the span.
*
- * @return The absolute value of (<tt>end</tt> minus <tt>start</tt>) + 1.
+ * @return The absolute value of ({@code end} minus {@code start}) + 1.
*/
public long getLength() {
return Math.abs((long) end - (long) start) + 1;
@@ -121,7 +121,7 @@ public final class Span {
* Determines whether this span contains another span.
*
* @param span The span to test for containment.
- * @return {@code true} if this span contains <tt>span</tt>; {@code false},
+ * @return {@code true} if this span contains {@code span}; {@code false},
* otherwise.
* @throws IllegalArgumentException if the given span is {@code null}.
*/
@@ -147,7 +147,7 @@ public final class Span {
* either end of the other span (since start and end are inclusive).
*
* @param span The span to test for adjacency.
- * @return {@code true} if this span is adjacent <tt>span</tt>; {@code false},
+ * @return {@code true} if this span is adjacent {@code span}; {@code false},
* otherwise.
* @throws IllegalArgumentException if the given span is {@code null}.
*/
@@ -169,11 +169,11 @@ public final class Span {
/**
* Determines whether this span is "before" another span.
- * <p>"Before" means that the normalized end of this span is < the
+ * <p>"Before" means that the normalized end of this span is {@code <} the
* normalized start of the other span.
*
* @param span The span to test.
- * @return {@code true} if this span is "before" <tt>span</tt>; {@code false},
+ * @return {@code true} if this span is "before" {@code span}; {@code false},
* otherwise.
* @throws IllegalArgumentException if the given span is {@code null}.
*/
@@ -185,11 +185,11 @@ public final class Span {
/**
* Determines whether this span is "after" another span.
- * <p>"After" means that the normalized start of this span is > the
+ * <p>"After" means that the normalized start of this span is {@code >} the
* normalized end of the other span.
*
* @param span The span to test.
- * @return {@code true} if this span is "after" <tt>span</tt>; {@code false},
+ * @return {@code true} if this span is "after" {@code span}; {@code false},
* otherwise.
* @throws IllegalArgumentException if the given span is {@code null}.
*/
@@ -203,7 +203,7 @@ public final class Span {
* Determines whether this span intersects with another span.
*
* @param span The span to test for intersection.
- * @return {@code true} if this span intersects with <tt>span</tt>;
+ * @return {@code true} if this span intersects with {@code span};
* {@code false}, otherwise.
* @throws IllegalArgumentException if the given span is {@code null}.
*/
@@ -228,7 +228,7 @@ public final class Span {
*
* @param span The span to intersect with this span.
* @return A new Span instance representing the intersection of this span and
- * <tt>span</tt>, or {@code null} if the spans do not intersect.
+ * {@code span}, or {@code null} if the spans do not intersect.
* @throws IllegalArgumentException if the given span is {@code null}.
*/
public Span intersect(final Span span) {
@@ -246,7 +246,7 @@ public final class Span {
*
* @param span The span to union with this span.
* @return A new Span instance representing the union of this span and
- * <tt>span</tt>.
+ * {@code span}.
*/
public Span union(final Span span) {
Utils.checkNull(span, "span");
@@ -294,8 +294,8 @@ public final class Span {
}
/**
- * @return A normalized equivalent of the span in which <tt>start</tt> is
- * guaranteed to be less or equal to <tt>end</tt>.
+ * @return A normalized equivalent of the span in which {@code start} is
+ * guaranteed to be less or equal to {@code end}.
* <p> Note: if the span is already "normal", then no new object is
* created.
*/
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Spinner.java Thu Dec 31 18:02:57 2020
@@ -105,7 +105,7 @@ public class Spinner extends Container {
* @param spinnerData The source spinner data.
* @param value The value to locate.
* @return The index of first occurrence of the value if it exists in the
- * list; <tt>-1</tt>, otherwise.
+ * list; <code>-1</code>, otherwise.
*/
public int indexOf(List<?> spinnerData, Object value);
@@ -222,8 +222,7 @@ public class Spinner extends Container {
* contents is an {@link ImmutableList} so that if the default property
* (which is "spinnerData") is invoked in a BXML file,
* <code>BXMLSerializer</code> trying to add to this immutable sequence will
- * catch an exception and will do a {@link #setSpinnerData
- * setSpinnerData(List<?>)} instead.
+ * catch an exception and will do a {@link #setSpinnerData(List)} instead.
*/
public Spinner() {
this(new ImmutableList<>(new ArrayList<>()));
@@ -231,7 +230,7 @@ public class Spinner extends Container {
/**
* Creates a spinner populated with the given spinner data. <p> Note that
- * the default renderer uses (as last option) the toString method on list
+ * the default renderer uses (as last option) the {@code toString} method on list
* elements, so override it to return whatever you want to display as text,
* or implement your own custom renderer.
*
@@ -356,7 +355,7 @@ public class Spinner extends Container {
/**
* Sets the selection to the specified index.
*
- * @param selectedIndex The index to select, or <tt>-1</tt> to clear the
+ * @param selectedIndex The index to select, or <code>-1</code> to clear the
* selection.
*/
public void setSelectedIndex(int selectedIndex) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/SplitPane.java Thu Dec 31 18:02:57 2020
@@ -21,13 +21,13 @@ import org.apache.pivot.util.ListenerLis
import org.apache.pivot.util.Utils;
/**
- * A <tt>SplitPane</tt> is a container component that splits its size up into
+ * A {@code SplitPane} is a container component that splits its size up into
* two regions, each of which is capable of holding one component. A split pane
* may be setup to support either horizontal or veritcal splits. The area in
* between the two regions is known as the <i>splitter</i> and typically allows
* the user to adjust the partitioning between the two regions. <p> Since
- * <tt>SplitPane</tt>s only support a single splitter, multiple
- * <tt>SplitPane</tt>s may be nested to support more complex layouts. In that
+ * {@code SplitPane}s only support a single splitter, multiple
+ * {@code SplitPane}s may be nested to support more complex layouts. In that
* case, one split pane will "own" the other. The implication of this is noticed
* when a split pane directly contains a child split pane of the same
* orientation. The parent pane's separator will be able to travel past that of
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopup.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopup.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopup.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopup.java Thu Dec 31 18:02:57 2020
@@ -219,7 +219,7 @@ public class SuggestionPopup extends Win
/**
* Returns the current selection.
*
- * @return The index of the currently selected suggestion, or <tt>-1</tt> if
+ * @return The index of the currently selected suggestion, or <code>-1</code> if
* nothing is selected.
*/
public int getSelectedIndex() {
@@ -230,7 +230,7 @@ public class SuggestionPopup extends Win
* Sets the selection.
*
* @param selectedIndex The index of the suggestion to select, or
- * <tt>-1</tt> to clear the selection.
+ * <code>-1</code> to clear the selection.
*/
public void setSelectedIndex(int selectedIndex) {
indexBoundsCheck("selectedIndex", selectedIndex, -1, suggestionData.getLength() - 1);
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TablePane.java Thu Dec 31 18:02:57 2020
@@ -28,8 +28,8 @@ import org.apache.pivot.util.Utils;
/**
* Container that arranges components in a two-dimensional grid, optionally
- * spanning multiple rows and columns, much like an HTML <tt><table></tt>
- * element. <p> Note that unlike an HTML <tt><table></tt>, components that
+ * spanning multiple rows and columns, much like an HTML {@code <table>}
+ * element. <p> Note that unlike an HTML {@code <table>}, components that
* span multiple rows or columns will not "push" other components out of their
* way. Instead, the spanning components will simply overlay the cells into
* which they span. This means that application developers may have to use
@@ -658,14 +658,14 @@ public class TablePane extends Container
public static final String RELATIVE_SIZE_INDICATOR = "*";
/**
- * Creates a new <tt>TablePane</tt> with empty row and column sequences.
+ * Creates a new {@code TablePane} with empty row and column sequences.
*/
public TablePane() {
this(new ArrayList<Column>());
}
/**
- * Creates a new <tt>TablePane</tt> with the specified columns.
+ * Creates a new {@code TablePane} with the specified columns.
*
* @param columns The column sequence to use. A copy of this sequence will
* be made
@@ -699,7 +699,7 @@ public class TablePane extends Container
* Returns the index of the row at a given location.
*
* @param y The y-coordinate of the row to identify.
- * @return The row index, or <tt>-1</tt> if there is no row at the given
+ * @return The row index, or <code>-1</code> if there is no row at the given
* y-coordinate.
*/
public int getRowAt(int y) {
@@ -728,7 +728,7 @@ public class TablePane extends Container
* Returns the index of the column at a given location.
*
* @param x The x-coordinate of the column to identify.
- * @return The column index, or <tt>-1</tt> if there is no column at the
+ * @return The column index, or <code>-1</code> if there is no column at the
* given x-coordinate.
*/
public int getColumnAt(int x) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TableView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TableView.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TableView.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TableView.java Thu Dec 31 18:02:57 2020
@@ -484,8 +484,8 @@ public class TableView extends Component
*
* @param row The row to render, or {@code null} if called to calculate
* preferred height for skins that assume a fixed renderer height.
- * @param rowIndex The index of the row being rendered, or <tt>-1</tt> if
- * <tt>value</tt> is {@code null}.
+ * @param rowIndex The index of the row being rendered, or <code>-1</code> if
+ * {@code value} is {@code null}.
* @param columnIndex The index of the column being rendered.
* @param tableView The host component.
* @param columnName The name of the column being rendered.
@@ -614,7 +614,7 @@ public class TableView extends Component
* @param tableData The source table data.
* @param value The value to locate.
* @return The index of first occurrence of the value if it exists in the
- * list; <tt>-1</tt>, otherwise.
+ * list; <code>-1</code>, otherwise.
*/
public int indexOf(List<?> tableData, Object value);
@@ -991,8 +991,8 @@ public class TableView extends Component
/**
* Sets the table data.
*
- * @param tableData A JSON string (must begin with <tt>[</tt> and end with
- * <tt>]</tt>, denoting a list) which will be the data to be presented by the table view.
+ * @param tableData A JSON string (must begin with <code>[</code> and end with
+ * <code>]</code>, denoting a list) which will be the data to be presented by the table view.
*/
public final void setTableData(final String tableData) {
Utils.checkNull(tableData, "Table data");
@@ -1072,7 +1072,7 @@ public class TableView extends Component
/**
* Sets the selection to a single index.
*
- * @param index The index to select, or <tt>-1</tt> to clear the selection.
+ * @param index The index to select, or <code>-1</code> to clear the selection.
*/
public void setSelectedIndex(final int index) {
if (index == -1) {
@@ -1196,7 +1196,7 @@ public class TableView extends Component
/**
* Returns the first selected index.
*
- * @return The first selected index, or <tt>-1</tt> if nothing is selected.
+ * @return The first selected index, or <code>-1</code> if nothing is selected.
*/
public int getFirstSelectedIndex() {
return (rangeSelection.getLength() > 0) ? rangeSelection.get(0).start : -1;
@@ -1205,7 +1205,7 @@ public class TableView extends Component
/**
* Returns the last selected index.
*
- * @return The last selected index, or <tt>-1</tt> if nothing is selected.
+ * @return The last selected index, or <code>-1</code> if nothing is selected.
*/
public int getLastSelectedIndex() {
return (rangeSelection.getLength() > 0) ? rangeSelection.get(rangeSelection.getLength() - 1).end
@@ -1866,7 +1866,7 @@ public class TableView extends Component
* Returns the index of the row at a given location.
*
* @param y The y-coordinate of the row to identify.
- * @return The row index, or <tt>-1</tt> if there is no row at the given
+ * @return The row index, or <code>-1</code> if there is no row at the given
* y-coordinate.
*/
public int getRowAt(final int y) {
@@ -1878,7 +1878,7 @@ public class TableView extends Component
* Returns the index of the column at a given location.
*
* @param x The x-coordinate of the column to identify.
- * @return The column index, or <tt>-1</tt> if there is no column at the
+ * @return The column index, or <code>-1</code> if there is no column at the
* given x-coordinate.
*/
public int getColumnAt(final int x) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewHeader.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewHeader.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewHeader.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewHeader.java Thu Dec 31 18:02:57 2020
@@ -98,7 +98,7 @@ public class TableViewHeader extends Com
* Returns the index of the header at a given location.
*
* @param x The x-coordinate of the header to identify.
- * @return The column index, or <tt>-1</tt> if there is no column at the
+ * @return The column index, or <code>-1</code> if there is no column at the
* given x-coordinate.
*/
public int getHeaderAt(final int x) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewRowListener.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewRowListener.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewRowListener.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewRowListener.java Thu Dec 31 18:02:57 2020
@@ -99,7 +99,7 @@ public interface TableViewRowListener {
*
* @param tableView The source of the event.
* @param index The first index affected by the event.
- * @param count The number of rows that were removed, or <tt>-1</tt> if all
+ * @param count The number of rows that were removed, or <code>-1</code> if all
* rows were removed.
*/
default void rowsRemoved(TableView tableView, int index, int count) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TaskAdapter.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TaskAdapter.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TaskAdapter.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TaskAdapter.java Thu Dec 31 18:02:57 2020
@@ -28,7 +28,7 @@ public class TaskAdapter<T> implements T
private TaskListener<T> taskListener;
/**
- * Creates a new <tt>TaskAdapter</tt> that wraps the specified task listener.
+ * Creates a new {@code TaskAdapter} that wraps the specified task listener.
*
* @param taskListener The task listener that will be notified on the UI thread.
*/
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TextArea.java Thu Dec 31 18:02:57 2020
@@ -924,7 +924,7 @@ public class TextArea extends Component
}
/**
- * @return The length of the selection; may be <tt>0</tt>.
+ * @return The length of the selection; may be <code>0</code>.
*/
public int getSelectionLength() {
return selectionLength;
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java Thu Dec 31 18:02:57 2020
@@ -438,7 +438,7 @@ public class TextInput extends Component
}
/**
- * @return The length of the selection; may be <tt>0</tt>.
+ * @return The length of the selection; may be <code>0</code>.
*/
public final int getSelectionLength() {
return selectionLength;
@@ -449,7 +449,7 @@ public class TextInput extends Component
*
* @return A span containing the current selection. Both start and end
* points are inclusive. Returns {@code null} if the selection length is
- * <tt>0</tt>.
+ * <code>0</code>.
*/
public final Span getSelection() {
return (selectionLength == 0) ? null : new Span(selectionStart, selectionStart + selectionLength - 1);
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPane.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPane.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPane.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TextPane.java Thu Dec 31 18:02:57 2020
@@ -549,7 +549,7 @@ public class TextPane extends Container
/**
* Returns character count of the document.
*
- * @return The document's character count, or <tt>0</tt> if the document is
+ * @return The document's character count, or <code>0</code> if the document is
* {@code null}.
*/
public int getCharacterCount() {
@@ -557,9 +557,9 @@ public class TextPane extends Container
}
/**
- * Delete the currently selected text (if selection length > 0),
+ * Delete the currently selected text (if {@code selectionLength > 0}),
* or the character before or after the current cursor position,
- * depending on the <tt>backspace</tt> flag.
+ * depending on the {@code backspace} flag.
* @param backspace {@code true} if the single character delete is
* the character before the current position, or {@code false} for
* the character after (at) the current position.
@@ -987,7 +987,7 @@ public class TextPane extends Container
}
/**
- * @return The length of the selection; may be <tt>0</tt>.
+ * @return The length of the selection; may be <code>0</code>.
*/
public int getSelectionLength() {
return selectionLength;
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeView.java Thu Dec 31 18:02:57 2020
@@ -40,7 +40,7 @@ import org.apache.pivot.wtk.content.Tree
@DefaultProperty("treeData")
public class TreeView extends Component {
/**
- * Enumeration defining supported selection modes. <tt>TreeView</tt>
+ * Enumeration defining supported selection modes. {@code TreeView}
* defaults to single select mode.
*/
public enum SelectMode {
@@ -61,7 +61,7 @@ public class TreeView extends Component
}
/**
- * Enumeration defining node check states. Note that <tt>TreeView</tt> does
+ * Enumeration defining node check states. Note that {@code TreeView} does
* not involve itself in the propagation of checkmarks (either up or down
* the tree). Developers who wish to propagate checkmarks may do so by
* registering a {@link TreeViewNodeStateListener} and setting the desired
@@ -74,7 +74,7 @@ public class TreeView extends Component
CHECKED,
/**
- * The node is unchecked. If <tt>showMixedCheckmarkState</tt> is true,
+ * The node is unchecked. If {@code showMixedCheckmarkState} is true,
* this implies that all of the node's descendants are unchecked as
* well.
*/
@@ -83,7 +83,7 @@ public class TreeView extends Component
/**
* The node's check state is mixed, meaning that it is not checked, but
* at least one of its descendants is checked. This state will only be
- * reported if <tt>showMixedCheckmarkState</tt> is true. Otherwise, the
+ * reported if {@code showMixedCheckmarkState} is true. Otherwise, the
* node will be reported as {@link #UNCHECKED}.
*/
MIXED
@@ -101,9 +101,9 @@ public class TreeView extends Component
* calculate preferred height for skins that assume a fixed renderer
* height.
* @param path The path to the node being rendered, or {@code null} if
- * <tt>node</tt> is {@code null}.
+ * {@code node} is {@code null}.
* @param rowIndex The row index of the node being rendered, as seen in
- * the current visible nodes list, or <tt>-1</tt> if <tt>node</tt> is
+ * the current visible nodes list, or <code>-1</code> if {@code node} is
* {@code null}.
* @param treeView The host component.
* @param expanded {@code true} if the node is expanded; {@code false}
@@ -200,7 +200,7 @@ public class TreeView extends Component
* of any given node in the tree will change.
*
* @param path The path to the node.
- * @return The row index of the node, or <tt>-1</tt> if the node is not
+ * @return The row index of the node, or <code>-1</code> if the node is not
* currently visible.
*/
public int getRowIndex(Path path);
@@ -232,7 +232,7 @@ public class TreeView extends Component
}
/**
- * Notifies the tree of nested <tt>ListListener</tt> events that occur on
+ * Notifies the tree of nested {@code ListListener} events that occur on
* the tree data.
*/
private class BranchHandler extends ArrayList<BranchHandler> implements ListListener<Object> {
@@ -245,7 +245,7 @@ public class TreeView extends Component
private List<?> branchData;
/**
- * Creates a new <tt>BranchHandler</tt> tied to the specified parent and
+ * Creates a new {@code BranchHandler} tied to the specified parent and
* listening to events from the specified branch data.
*
* @param parent The branch handler for our parent node.
@@ -297,7 +297,7 @@ public class TreeView extends Component
/**
* @return The path that leads from the root of the tree data to this
- * branch. Note: <tt>rootBranchHandler.getPath()</tt> will return an
+ * branch. Note: {@code rootBranchHandler.getPath()} will return an
* empty sequence.
*/
@SuppressWarnings("unchecked")
@@ -468,10 +468,10 @@ public class TreeView extends Component
/**
* Updates the paths within the specified sequence in response to a tree
- * data path insertion. For instance, if <tt>paths</tt> is <tt>[[3, 0],
- * [5, 0]]</tt>, <tt>basePath</tt> is <tt>[]</tt>, and <tt>index</tt> is
- * <tt>4</tt>, then <tt>paths</tt> will be updated to <tt>[[3, 0], [6,
- * 0]]</tt>. No events are fired.
+ * data path insertion. For instance, if {@code paths} is <code>[[3, 0],
+ * [5, 0]]</code>, {@code basePath} is <code>[]</code>, and {@code index} is
+ * <code>4</code>, then {@code paths} will be updated to <code>[[3, 0], [6,
+ * 0]]</code>. No events are fired.
*
* @param paths Sequence of paths guaranteed to be sorted by
* "row order".
@@ -519,10 +519,10 @@ public class TreeView extends Component
/**
* Updates the paths within the specified sequence in response to items
* having been removed from the base path. For instance, if
- * <tt>paths</tt> is <tt>[[3, 0], [3, 1], [6, 0]]</tt>,
- * <tt>basePath</tt> is <tt>[]</tt>, <tt>index</tt> is <tt>3</tt>, and
- * <tt>count</tt> is <tt>2</tt>, then <tt>paths</tt> will be updated to
- * <tt>[[4, 0]]</tt>. No events are fired.
+ * {@code paths} is <code>[[3, 0], [3, 1], [6, 0]]</code>,
+ * {@code basePath} is <code>[]</code>, {@code index} is <code>3</code>, and
+ * {@code count} is <code>2</code>, then {@code paths} will be updated to
+ * <code>[[4, 0]]</code>. No events are fired.
*
* @param paths Sequence of paths guaranteed to be sorted by "row order".
* @param basePath The path to the parent of the removed items.
@@ -577,10 +577,10 @@ public class TreeView extends Component
/**
* Removes affected paths from within the specified sequence in response
* to an item having been updated in the base path. For instance, if
- * <tt>paths</tt> is <tt>[[3], [3, 0], [3, 1], [5, 0]]</tt>,
- * <tt>basePath</tt> is <tt>[3]</tt>, and <tt>index</tt> is <tt>0</tt>,
- * then <tt>paths</tt> will be updated to <tt>[[3], [3, 1], [5,
- * 0]]</tt>. No events are fired.
+ * {@code paths} is <code>[[3], [3, 0], [3, 1], [5, 0]]</code>,
+ * {@code basePath} is <code>[3]</code>, and {@code index} is <code>0</code>,
+ * then {@code paths} will be updated to <code>[[3], [3, 1], [5,
+ * 0]]</code>. No events are fired.
*
* @param paths Sequence of paths guaranteed to be sorted by "row order".
* @param basePath The path to the parent of the updated item.
@@ -611,10 +611,10 @@ public class TreeView extends Component
/**
* Removes affected paths from within the specified sequence in response
- * to a base path having been sorted. For instance, if <tt>paths</tt> is
- * <tt>[[3], [3, 0], [3, 1], [5, 0]]</tt> and <tt>basePath</tt> is
- * <tt>[3]</tt>, then <tt>paths</tt> will be updated to <tt>[[3], [5,
- * 0]]</tt>. No events are fired.
+ * to a base path having been sorted. For instance, if {@code paths} is
+ * <code>[[3], [3, 0], [3, 1], [5, 0]]</code> and {@code basePath} is
+ * <code>[3]</code>, then {@code paths} will be updated to <code>[[3], [5,
+ * 0]]</code>. No events are fired.
*
* @param paths Sequence of paths guaranteed to be sorted by "row order".
* @param basePath The path whose children were sorted.
@@ -680,18 +680,18 @@ public class TreeView extends Component
private static final Comparator<Path> PATH_COMPARATOR = new PathComparator();
/**
- * Creates a new <tt>TreeView</tt> with empty tree data.
+ * Creates a new {@code TreeView} with empty tree data.
*/
public TreeView() {
this(new ArrayList<>());
}
/**
- * Creates a new <tt>TreeView</tt> with the specified tree data.
+ * Creates a new {@code TreeView} with the specified tree data.
*
* @param treeData Default data set to be used with the tree. This list
* represents the root set of items displayed by the tree and will never
- * itself be painted. Sub-items that also implement the <tt>List</tt>
+ * itself be painted. Sub-items that also implement the {@code List}
* interface are considered branches; other items are considered leaves.
* @see #setTreeData(List)
*/
@@ -716,7 +716,7 @@ public class TreeView extends Component
/**
* Returns the tree view's data model. This list represents the root set of
* items displayed by the tree and will never itself be painted. Sub-items
- * that also implement the <tt>List</tt> interface are considered branches;
+ * that also implement the {@code List} interface are considered branches;
* other items are considered leaves. <p> For instance, a tree view that
* displays a single root branch would be backed by list with one child
* (also a list).
@@ -791,7 +791,7 @@ public class TreeView extends Component
* Gets the tree view's node renderer, which is responsible for the
* appearance of the node data. As such, note that there is an implied
* coordination between the node renderer and the data model. The default
- * node renderer used is an instance of <tt>TreeViewNodeRenderer</tt>.
+ * node renderer used is an instance of {@code TreeViewNodeRenderer}.
*
* @return The current node renderer.
* @see TreeViewNodeRenderer
@@ -895,7 +895,7 @@ public class TreeView extends Component
* @param selectedPaths The new set of paths to the selected nodes.
* @return The new set of selected paths (with duplicates eliminated).
* @throws IllegalStateException If selection has been disabled (select mode
- * <tt>NONE</tt>).
+ * <code>NONE</code>).
*/
public Sequence<Path> setSelectedPaths(Sequence<Path> selectedPaths) {
Utils.checkNull(selectedPaths, "Selected paths");
@@ -981,7 +981,7 @@ public class TreeView extends Component
* @return The selected object, or {@code null} if nothing is selected.
* Note that technically, the selected path could be backed by a
* {@code null} data value. If the caller wishes to distinguish between
- * these cases, they can use <tt>getSelectedPath()</tt> instead.
+ * these cases, they can use {@code getSelectedPath()} instead.
*/
public Object getSelectedNode() {
Path path = getSelectedPath();
@@ -1205,7 +1205,7 @@ public class TreeView extends Component
* one or more of its descendants are." When this state is configured to not
* be shown, such nodes will simply be reported as unchecked. <p> Changing
* this flag may result in some nodes changing their reported check state.
- * Note that the corresponding <tt>nodeCheckStateChanged</tt> events will
+ * Note that the corresponding {@code nodeCheckStateChanged} events will
* <b>not</b> be fired, since the possibility of such a change in check
* state is implied by the
* {@link TreeViewListener#showMixedCheckmarkStateChanged(TreeView)
@@ -1243,11 +1243,11 @@ public class TreeView extends Component
/**
* Returns the checkmark state of the node at the specified path. If
- * checkmarks are not enabled, this is guaranteed to be <tt>UNCHECKED</tt>.
- * <p> Note that the <tt>MIXED</tt> check state (meaning "the node is not
+ * checkmarks are not enabled, this is guaranteed to be <code>UNCHECKED</code>.
+ * <p> Note that the <code>MIXED</code> check state (meaning "the node is not
* checked, but one or more of its descendants are") is only reported when
* the tree view is configured as such. Otherwise, such nodes will be
- * reported as <tt>UNCHECKED</tt>.
+ * reported as <code>UNCHECKED</code>.
*
* @param path The path to the node.
* @return The checkmark state of the specified node.
@@ -1284,7 +1284,7 @@ public class TreeView extends Component
/**
* Sets the check state of the node at the specified path. If the node
* already has the specified check state, nothing happens. <p> Note that it
- * is impossible to set the check state of a node to <tt>MIXED</tt>. This is
+ * is impossible to set the check state of a node to <code>MIXED</code>. This is
* because the mixed check state is a derived state meaning "the node is not
* checked, but one or more of its descendants are."
*
@@ -1623,7 +1623,7 @@ public class TreeView extends Component
* any given node in the tree will change.
*
* @param path The path to the node.
- * @return The row index of the node, or <tt>-1</tt> if the node is not
+ * @return The row index of the node, or <code>-1</code> if the node is not
* currently visible.
*/
public int getRowIndex(Path path) {
@@ -1632,7 +1632,7 @@ public class TreeView extends Component
}
/**
- * Gets the <tt>TreeViewListener</tt>s. Developers interested in these
+ * Gets the {@code TreeViewListener}s. Developers interested in these
* events can register for notification on these events by adding themselves
* to the listener list.
*
@@ -1643,7 +1643,7 @@ public class TreeView extends Component
}
/**
- * Gets the <tt>TreeViewBranchListener</tt>s. Developers interested in these
+ * Gets the {@code TreeViewBranchListener}s. Developers interested in these
* events can register for notification on these events by adding themselves
* to the listener list.
*
@@ -1654,7 +1654,7 @@ public class TreeView extends Component
}
/**
- * Gets the <tt>TreeViewNodeListener</tt>s. Developers interested in these
+ * Gets the {@code TreeViewNodeListener}s. Developers interested in these
* events can register for notification on these events by adding themselves
* to the listener list.
*
@@ -1665,7 +1665,7 @@ public class TreeView extends Component
}
/**
- * Gets the <tt>TreeViewNodeStateListener</tt>s. Developers interested in
+ * Gets the {@code TreeViewNodeStateListener}s. Developers interested in
* these events can register for notification on these events by adding
* themselves to the listener list.
*
@@ -1676,7 +1676,7 @@ public class TreeView extends Component
}
/**
- * Gets the <tt>TreeViewSelectionListener</tt>s. Developers interested in
+ * Gets the {@code TreeViewSelectionListener}s. Developers interested in
* these events can register for notification on these events by adding
* themselves to the listener list.
*
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewNodeListener.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewNodeListener.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewNodeListener.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TreeViewNodeListener.java Thu Dec 31 18:02:57 2020
@@ -102,7 +102,7 @@ public interface TreeViewNodeListener {
* @param treeView The source of this event.
* @param path The path to the branch where the node(s) were removed.
* @param index The index to the first removed node within the branch.
- * @param count The number of nodes that were removed, or <tt>-1</tt> if all
+ * @param count The number of nodes that were removed, or <code>-1</code> if all
* nodes were removed.
*/
default void nodesRemoved(TreeView treeView, Path path, int index, int count) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Viewport.java Thu Dec 31 18:02:57 2020
@@ -121,7 +121,7 @@ public abstract class Viewport extends C
}
/**
- * Returns the <tt>consumeRepaint</tt> flag, which controls whether the
+ * Returns the {@code consumeRepaint} flag, which controls whether the
* viewport will propagate repaints to its parent or consume them. This flag
* enables skins to optimize viewport scrolling by blitting the display to
* reduce the required repaint area.
@@ -134,7 +134,7 @@ public abstract class Viewport extends C
}
/**
- * Sets the <tt>consumeRepaint</tt> flag, which controls whether the
+ * Sets the {@code consumeRepaint} flag, which controls whether the
* viewport will propagate repaints to its parent or consume them. This flag
* enables skins to optimize viewport scrolling by blitting the display to
* reduce the required repaint area.
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Visual.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Visual.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/Visual.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Visual.java Thu Dec 31 18:02:57 2020
@@ -52,7 +52,7 @@ public interface Visual {
/**
* Returns the visual's baseline.
*
- * @return The baseline relative to the origin of the visual, or <tt>-1</tt>
+ * @return The baseline relative to the origin of the visual, or <code>-1</code>
* if this visual does not have a baseline.
*/
int getBaseline();
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/CalendarDateSpinnerData.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/CalendarDateSpinnerData.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/CalendarDateSpinnerData.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/CalendarDateSpinnerData.java Thu Dec 31 18:02:57 2020
@@ -31,7 +31,7 @@ import org.apache.pivot.util.Utils;
/**
* Spinner data model that presents a bounded list of calendar dates. <p> This
* is a lightweight class that spoofs the actual list data by using an internal
- * calendar instance from which <tt>CalendarDate</tt> instances are created on
+ * calendar instance from which {@code CalendarDate} instances are created on
* demand.
*/
public class CalendarDateSpinnerData extends ReadOnlySequence<CalendarDate> implements List<CalendarDate> {
@@ -78,15 +78,15 @@ public class CalendarDateSpinnerData ext
private transient ListListenerList<CalendarDate> listListeners = new ListListenerList<>();
/**
- * Creates a new <tt>CalendarDateSpinnerData</tt> bounded from
- * <tt>1900-01-01</tt> to <tt>2099-12-31</tt>.
+ * Creates a new {@code CalendarDateSpinnerData} bounded from
+ * <code>1900-01-01</code> to <code>2099-12-31</code>.
*/
public CalendarDateSpinnerData() {
this(new CalendarDate(1900, 0, 0), new CalendarDate(2099, 11, 30));
}
/**
- * Creates a new <tt>CalendarDateSpinnerData</tt> bounded by the specified
+ * Creates a new {@code CalendarDateSpinnerData} bounded by the specified
* calendar dates (inclusive).
*
* @param lowerBound The earliest date to include in this spinner data.
@@ -134,7 +134,7 @@ public class CalendarDateSpinnerData ext
}
/**
- * Throws <tt>UnsupportedOperationException</tt>.
+ * Throws {@code UnsupportedOperationException}.
*/
@UnsupportedOperation
@Override
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewIndexBindMapping.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewIndexBindMapping.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewIndexBindMapping.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewIndexBindMapping.java Thu Dec 31 18:02:57 2020
@@ -28,14 +28,14 @@ import org.apache.pivot.wtk.ListView;
public class ListViewIndexBindMapping implements ListView.ItemBindMapping {
/**
- * Called during <tt>load</tt>, and <tt>value</tt> is what is
- * stored in our data object (which is the <tt>Integer</tt>
+ * Called during {@code load}, and {@code value} is what is
+ * stored in our data object (which is the {@code Integer}
* index value).
*
- * @param listData The <tt>ListView</tt>'s data list.
+ * @param listData The {@code ListView}'s data list.
* @param value The object value to map to an index in this list
- * (which is an <tt>Integer</tt> value).
- * @return The value converted to an integer, or <tt>-1</tt>
+ * (which is an {@code Integer} value).
+ * @return The value converted to an integer, or <code>-1</code>
* if the value is out of range of the list size.
*/
@Override
@@ -50,13 +50,13 @@ public class ListViewIndexBindMapping im
}
/**
- * Called during <tt>store</tt>, and <tt>index</tt> is the
+ * Called during {@code store}, and {@code index} is the
* selected item index. We are going to just return an
- * <tt>Integer</tt> representing the index itself.
+ * {@code Integer} representing the index itself.
*
- * @param listData The underlying data for the <tt>ListView</tt>.
+ * @param listData The underlying data for the {@code ListView}.
* @param index The index value to convert to a "storable" value.
- * @return The <tt>Integer</tt> value of the index.
+ * @return The {@code Integer} value of the index.
*/
@Override
public Object get(final List<?> listData, final int index) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/NumericSpinnerData.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/NumericSpinnerData.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/NumericSpinnerData.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/NumericSpinnerData.java Thu Dec 31 18:02:57 2020
@@ -30,9 +30,9 @@ import org.apache.pivot.util.ListenerLis
/**
* Spinner data model that presents a bounded list of integers. This is a
* lightweight class that spoofs the actual list data (no data is stored in the
- * list). <p> The iterator returned by this class's <tt>iterator</tt> method is
+ * list). <p> The iterator returned by this class's {@code iterator} method is
* <i>fail-fast</i>: if the bounds of the enclosing spinner data change during
- * iteration, a <tt>ConcurrentModificationException</tt> will be thrown.
+ * iteration, a {@code ConcurrentModificationException} will be thrown.
*/
public class NumericSpinnerData extends ReadOnlySequence<Integer> implements List<Integer> {
@@ -82,8 +82,8 @@ public class NumericSpinnerData extends
private transient ListListenerList<Integer> listListeners = new ListListenerList<>();
/**
- * Creates a new <tt>NumericSpinnerData</tt> instance bounded from
- * <tt>Short.MIN_VALUE</tt> to <tt>Short.MAX_VALUE</tt> and an increment of
+ * Creates a new {@code NumericSpinnerData} instance bounded from
+ * <code>Short.MIN_VALUE</code> to <code>Short.MAX_VALUE</code> and an increment of
* one.
*/
public NumericSpinnerData() {
@@ -91,7 +91,7 @@ public class NumericSpinnerData extends
}
/**
- * Creates a new <tt>NumericSpinnerData</tt> with the specified bounded
+ * Creates a new {@code NumericSpinnerData} with the specified bounded
* range and an increment of one.
*
* @param lowerBound The lower bound for the data.
@@ -102,7 +102,7 @@ public class NumericSpinnerData extends
}
/**
- * Creates a new <tt>NumericSpinnerData</tt> with the specified bounded
+ * Creates a new {@code NumericSpinnerData} with the specified bounded
* range and increment.
*
* @param lowerBound The lower bound for the data.
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerIndexBindMapping.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerIndexBindMapping.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerIndexBindMapping.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerIndexBindMapping.java Thu Dec 31 18:02:57 2020
@@ -28,14 +28,14 @@ import org.apache.pivot.wtk.Spinner;
public class SpinnerIndexBindMapping implements Spinner.ItemBindMapping {
/**
- * Called during <tt>load</tt>, and <tt>value</tt> is what is
- * stored in our data object (which is the <tt>Integer</tt>
+ * Called during {@code load}, and {@code value} is what is
+ * stored in our data object (which is the {@code Integer}
* index value).
*
- * @param spinnerData The <tt>Spinner</tt>'s data list.
+ * @param spinnerData The {@code Spinner}'s data list.
* @param value The object value to map to an index in this list
- * (which is an <tt>Integer</tt> value).
- * @return The value converted to an integer, or <tt>-1</tt>
+ * (which is an {@code Integer} value).
+ * @return The value converted to an integer, or <code>-1</code>
* if the value is out of range of the data list size.
*/
@Override
@@ -50,13 +50,13 @@ public class SpinnerIndexBindMapping imp
}
/**
- * Called during <tt>store</tt>, and <tt>index</tt> is the
+ * Called during {@code store}, and {@code index} is the
* selected item index. We are going to just return an
- * <tt>Integer</tt> representing the index itself.
+ * {@code Integer} representing the index itself.
*
- * @param spinnerData The underlying data for the <tt>Spinner</tt>.
+ * @param spinnerData The underlying data for the {@code Spinner}.
* @param index The index value to convert to a "storable" value.
- * @return The <tt>Integer</tt> value of the index.
+ * @return The {@code Integer} value of the index.
*/
@Override
public Object get(final List<?> spinnerData, final int index) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerItemRenderer.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerItemRenderer.java?rev=1884991&r1=1884990&r2=1884991&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerItemRenderer.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerItemRenderer.java Thu Dec 31 18:02:57 2020
@@ -26,7 +26,7 @@ import org.apache.pivot.wtk.VerticalAlig
/**
* Default spinner item renderer, which renders all items as strings by calling
- * <tt>toString()</tt> on them.
+ * {@code toString()} on them.
*/
public class SpinnerItemRenderer extends Label implements Spinner.ItemRenderer {
public SpinnerItemRenderer() {