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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -440,7 +440,7 @@ public abstract class Component implemen /** * Returns the component's automation ID. * - * @return The component's automation ID, or <tt>null</tt> if the component + * @return The component's automation ID, or {@code null} if the component * does not have an automation ID. */ public String getAutomationID() { @@ -453,7 +453,7 @@ public abstract class Component implemen * component is attached to a component hierarchy. * * @param automationID The automation ID to use for the component, or - * <tt>null</tt> to clear the automation ID. + * {@code null} to clear the automation ID. */ public void setAutomationID(final String automationID) { String previousAutomationID = this.automationID; @@ -475,7 +475,7 @@ public abstract class Component implemen * * @param <E> The enum type that will be used here. * @param enumID The enum value to use as the automation ID for this - * component, or <tt>null</tt> to clear the automation ID. + * component, or {@code null} to clear the automation ID. * @see #setAutomationID(String) */ public <E extends Enum<E>> void setAutomationID(final E enumID) { @@ -756,8 +756,8 @@ public abstract class Component implemen * Returns a flag indicating whether the preferred width was explicitly set * by the caller or is the default value determined by the skin. * - * @return <tt>true</tt> if the preferred width was explicitly set; - * <tt>false</tt>, otherwise. + * @return {@code true} if the preferred width was explicitly set; + * {@code false}, otherwise. */ public boolean isPreferredWidthSet() { return (preferredWidth != -1); @@ -813,8 +813,8 @@ public abstract class Component implemen * Returns a flag indicating whether the preferred height was explicitly set * by the caller or is the default value determined by the skin. * - * @return <tt>true</tt> if the preferred height was explicitly set; - * <tt>false</tt>, otherwise. + * @return {@code true} if the preferred height was explicitly set; + * {@code false}, otherwise. */ public boolean isPreferredHeightSet() { return (preferredHeight != -1); @@ -902,8 +902,8 @@ public abstract class Component implemen * Returns a flag indicating whether the preferred size was explicitly set * by the caller or is the default value determined by the skin. * - * @return <tt>true</tt> if the preferred size was explicitly set; - * <tt>false</tt>, otherwise. + * @return {@code true} if the preferred size was explicitly set; + * {@code false}, otherwise. */ public boolean isPreferredSizeSet() { return isPreferredWidthSet() && isPreferredHeightSet(); @@ -1242,8 +1242,8 @@ public abstract class Component implemen * * @param xValue Horizontal location to check. * @param yValue Vertical location to check. - * @return <tt>true</tt> if the component's shape contains the given - * location; <tt>false</tt>, otherwise. + * @return {@code true} if the component's shape contains the given + * location; {@code false}, otherwise. * @throws UnsupportedOperationException This method is not currently * implemented. */ @@ -1256,7 +1256,7 @@ public abstract class Component implemen /** * Returns the component's visibility. * - * @return <tt>true</tt> if the component will be painted; <tt>false</tt>, + * @return {@code true} if the component will be painted; {@code false}, * otherwise. */ public boolean isVisible() { @@ -1266,8 +1266,8 @@ public abstract class Component implemen /** * Sets the component's visibility. * - * @param visible <tt>true</tt> if the component should be painted; - * <tt>false</tt>, otherwise. + * @param visible {@code true} if the component should be painted; + * {@code false}, otherwise. */ public void setVisible(final boolean visible) { if (this.visible != visible) { @@ -1323,7 +1323,7 @@ public abstract class Component implemen * @param ancestor The ancestor container of this component. * @param xValue The x-coordinate in this component's coordinate space. * @param yValue The y-coordinate in this component's coordinate space. - * @return A point containing the translated coordinates, or <tt>null</tt> if + * @return A point containing the translated coordinates, or {@code null} if * the component is not a descendant of the specified ancestor. */ public Point mapPointToAncestor(final Container ancestor, final int xValue, final int yValue) { @@ -1353,7 +1353,7 @@ public abstract class Component implemen * * @param ancestor The ancestor container of this component. * @param location The coordinates in this component's coordinate space. - * @return A point containing the translated coordinates, or <tt>null</tt> if + * @return A point containing the translated coordinates, or {@code null} if * the component is not a descendant of the specified ancestor. */ public Point mapPointToAncestor(final Container ancestor, final Point location) { @@ -1369,7 +1369,7 @@ public abstract class Component implemen * @param ancestor The ancestor container of this component. * @param xValue The x-coordinate in the ancestors's coordinate space. * @param yValue The y-coordinate in the ancestor's coordinate space. - * @return A point containing the translated coordinates, or <tt>null</tt> if + * @return A point containing the translated coordinates, or {@code null} if * the component is not a descendant of the specified ancestor. */ public Point mapPointFromAncestor(final Container ancestor, final int xValue, final int yValue) { @@ -1403,7 +1403,7 @@ public abstract class Component implemen * Determines if this component is showing. To be showing, the component and * all of its ancestors must be visible and attached to a display. * - * @return <tt>true</tt> if this component is showing; <tt>false</tt> + * @return {@code true} if this component is showing; {@code false} * otherwise. */ public boolean isShowing() { @@ -1422,7 +1422,7 @@ public abstract class Component implemen * ancestors, or, in the case of a Viewport, the viewport bounds. * * @return The visible area of the component in the component's coordinate - * space, or <tt>null</tt> if the component is either not showing or not + * space, or {@code null} if the component is either not showing or not * part of the component hierarchy. */ public Bounds getVisibleArea() { @@ -1436,7 +1436,7 @@ public abstract class Component implemen * * @param area The area to check its visibility. * @return The visible part of the given area in the component's coordinate - * space, or <tt>null</tt> if the component is either not showing or not + * space, or {@code null} if the component is either not showing or not * part of the component hierarchy. */ public Bounds getVisibleArea(final Bounds area) { @@ -1455,7 +1455,7 @@ public abstract class Component implemen * @param width The width of the area. * @param height The height of the area. * @return The visible part of the given area in the component's coordinate - * space, or <tt>null</tt> if the component is either not showing or not + * space, or {@code null} if the component is either not showing or not * part of the component hierarchy. */ public Bounds getVisibleArea(final int xValue, final int yValue, final int width, final int height) { @@ -1780,7 +1780,7 @@ public abstract class Component implemen * not be double buffered. In other words, drawing operations on it will * operate directly on the video RAM. * - * @return A graphics context for this component, or <tt>null</tt> if this + * @return A graphics context for this component, or {@code null} if this * component is not showing. * @see #isShowing() */ @@ -1818,7 +1818,7 @@ public abstract class Component implemen /** * Returns the component's enabled state. * - * @return <tt>true</tt> if the component is enabled; <tt>false</tt>, + * @return {@code true} if the component is enabled; {@code false}, * otherwise. */ public boolean isEnabled() { @@ -1829,7 +1829,7 @@ public abstract class Component implemen * Sets the component's enabled state. Enabled components respond to user * input events; disabled components do not. * - * @param enabled <tt>true</tt> if the component is enabled; <tt>false</tt>, + * @param enabled {@code true} if the component is enabled; {@code false}, * otherwise. */ public void setEnabled(final boolean enabled) { @@ -1856,7 +1856,7 @@ public abstract class Component implemen * Determines if this component is blocked. A component is blocked if the * component or any of its ancestors is disabled. * - * @return <tt>true</tt> if the component is blocked; <tt>false</tt>, + * @return {@code true} if the component is blocked; {@code false}, * otherwise. */ public boolean isBlocked() { @@ -1875,8 +1875,8 @@ public abstract class Component implemen /** * Determines if the mouse is positioned over this component. * - * @return <tt>true</tt> if the mouse is currently located over this - * component; <tt>false</tt>, otherwise. + * @return {@code true} if the mouse is currently located over this + * component; {@code false}, otherwise. */ public boolean isMouseOver() { return (mouseLocation != null); @@ -1885,7 +1885,7 @@ public abstract class Component implemen /** * Returns the current mouse location in the component's coordinate space. * - * @return The current mouse location, or <tt>null</tt> if the mouse is not + * @return The current mouse location, or {@code null} if the mouse is not * currently positioned over this component. */ public Point getMouseLocation() { @@ -1906,7 +1906,7 @@ public abstract class Component implemen * Sets the cursor that is displayed when the mouse pointer is over this * component. * - * @param cursor The cursor to display over the component, or <tt>null</tt> + * @param cursor The cursor to display over the component, or {@code null} * to inherit the cursor of the parent container. */ public void setCursor(final Cursor cursor) { @@ -1924,7 +1924,7 @@ public abstract class Component implemen } /** - * @return The component's tooltip text, or <tt>null</tt> if no tooltip is + * @return The component's tooltip text, or {@code null} if no tooltip is * specified. */ public String getTooltipText() { @@ -1934,7 +1934,7 @@ public abstract class Component implemen /** * Sets the component's tooltip text. * - * @param tooltipText The component's tooltip text, or <tt>null</tt> for no + * @param tooltipText The component's tooltip text, or {@code null} for no * tooltip. */ public void setTooltipText(final String tooltipText) { @@ -1970,8 +1970,8 @@ public abstract class Component implemen /** * Returns the tooltip's mode for wrapping its text. * - * @return <tt>true</tt> if the tooltip text wrap mode is enabled; - * <tt>false</tt> if not. + * @return {@code true} if the tooltip text wrap mode is enabled; + * {@code false} if not. */ public boolean getTooltipWrapText() { return tooltipWrapText; @@ -1995,7 +1995,7 @@ public abstract class Component implemen /** * Tells whether or not this component is fully opaque when painted. * - * @return <tt>true</tt> if this component is opaque; <tt>false</tt> if any + * @return {@code true} if this component is opaque; {@code false} if any * part of it is transparent or translucent. */ public boolean isOpaque() { @@ -2007,8 +2007,8 @@ public abstract class Component implemen * of receiving the focus only when it is showing, unblocked, and its window * is not closing. * - * @return <tt>true</tt> if the component is capable of receiving the focus; - * <tt>false</tt>, otherwise. + * @return {@code true} if the component is capable of receiving the focus; + * {@code false}, otherwise. */ public boolean isFocusable() { boolean focusable = skin.isFocusable(); @@ -2040,8 +2040,8 @@ public abstract class Component implemen /** * Returns the component's focused state. * - * @return <tt>true</tt> if the component has the input focus; - * <tt>false</tt> otherwise. + * @return {@code true} if the component has the input focus; + * {@code false} otherwise. */ public boolean isFocused() { return (focusedComponent == this); @@ -2050,8 +2050,8 @@ public abstract class Component implemen /** * Called to notify a component that its focus state has changed. * - * @param focused <tt>true</tt> if the component has received the input - * focus; <tt>false</tt> if the component has lost the focus. + * @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 * has lost the focus; otherwise, the component that has gained the focus. */ @@ -2068,7 +2068,7 @@ public abstract class Component implemen /** * Requests that focus be given to this component. * - * @return <tt>true</tt> if the component gained the focus; <tt>false</tt> + * @return {@code true} if the component gained the focus; {@code false} * otherwise. */ public boolean requestFocus() { @@ -2088,7 +2088,7 @@ public abstract class Component implemen * Transfers focus to the next focusable component in the given direction. * * @param direction The direction in which to transfer focus. - * @return The new component that has received the focus or <tt>null</tt> + * @return The new component that has received the focus or {@code null} * if no component is focused. */ public Component transferFocus(final FocusTraversalDirection direction) { @@ -2105,7 +2105,7 @@ public abstract class Component implemen /** * Returns the currently focused component. * - * @return The component that currently has the focus, or <tt>null</tt> if + * @return The component that currently has the focus, or {@code null} if * no component is focused. */ public static Component getFocusedComponent() { @@ -2115,7 +2115,7 @@ public abstract class Component implemen /** * Sets the focused component. * - * @param focusedComponent The component to focus, or <tt>null</tt> to clear + * @param focusedComponent The component to focus, or {@code null} to clear * the focus. */ private static void setFocusedComponent(final Component focusedComponent) { @@ -2336,7 +2336,7 @@ public abstract class Component implemen * * @param <T> The enum type of the attribute key. * @param key The attribute key - * @return The attribute value, or <tt>null</tt> if no such attribute exists + * @return The attribute value, or {@code null} if no such attribute exists */ @SuppressWarnings("unchecked") public <T extends Enum<T>> Object getAttribute(final T key) { @@ -2356,8 +2356,8 @@ public abstract class Component implemen * * @param <T> The enum type of the attribute key. * @param key The attribute key - * @param value The attribute value, or <tt>null</tt> to clear the attribute - * @return The previous value of the attribute, or <tt>null</tt> if the + * @param value The attribute value, or {@code null} to clear the attribute + * @return The previous value of the attribute, or {@code null} if the * attribute was unset */ @SuppressWarnings("unchecked")
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentKeyListener.java Thu Dec 31 00:01:39 2020 @@ -84,7 +84,7 @@ public interface ComponentKeyListener { * * @param component Component that has the focus, that is receiving this key. * @param character The decoded character that was typed. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean keyTyped(Component component, char character) { @@ -97,7 +97,7 @@ public interface ComponentKeyListener { * @param component Component that has the focus. * @param keyCode The key code for the key that was pressed. * @param keyLocation Location value for the key (left or right for shift keys, etc.). - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean keyPressed(Component component, int keyCode, Keyboard.KeyLocation keyLocation) { @@ -110,7 +110,7 @@ public interface ComponentKeyListener { * @param component Component that has the focus, that is receiving this key event. * @param keyCode Code for the key that was released. * @param keyLocation Location of the key. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean keyReleased(Component component, int keyCode, Keyboard.KeyLocation keyLocation) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseButtonListener.java Thu Dec 31 00:01:39 2020 @@ -85,7 +85,7 @@ public interface ComponentMouseButtonLis * @param button Which mouse button was pressed. * @param x X position of the mouse. * @param y Y position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate (default). */ default boolean mouseDown(Component component, Mouse.Button button, int x, int y) { @@ -99,7 +99,7 @@ public interface ComponentMouseButtonLis * @param button Which mouse button that was released. * @param x X position of the mouse. * @param y Y position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate (default). */ default boolean mouseUp(Component component, Mouse.Button button, int x, int y) { @@ -114,7 +114,7 @@ public interface ComponentMouseButtonLis * @param x X position of the mouse. * @param y Y position of the mouse. * @param count Number of clicks (1 = single click, 2 = double click, etc.). - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate (default). */ default boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseListener.java Thu Dec 31 00:01:39 2020 @@ -77,7 +77,7 @@ public interface ComponentMouseListener * @param component Component that is under the mouse. * @param x X position of the mouse. * @param y Y position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate (default return). */ default boolean mouseMove(Component component, int x, int y) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseWheelListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseWheelListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseWheelListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentMouseWheelListener.java Thu Dec 31 00:01:39 2020 @@ -49,7 +49,7 @@ public interface ComponentMouseWheelList * @param wheelRotation Rotation value. * @param x X position of the mouse. * @param y Y position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ public boolean mouseWheel(Component component, Mouse.ScrollType scrollType, int scrollAmount, 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -378,8 +378,8 @@ public abstract class Container extends * is considered to be its own ancestor. * * @param component The component to test. - * @return <tt>true</tt> if this container is an ancestor of - * <tt>component</tt>; <tt>false</tt> otherwise. + * @return {@code true} if this container is an ancestor of + * <tt>component</tt>; {@code false} otherwise. */ public boolean isAncestor(Component component) { boolean ancestor = false; @@ -402,8 +402,8 @@ public abstract class Container extends * focusable, this requests that focus be set to the first focusable * descendant in this container. * - * @return <tt>true</tt> if the container or one of its descendants gained - * the focus or <tt>false</tt> if no component was found to gain the focus. + * @return {@code true} if the container or one of its descendants gained + * the focus or {@code false} if no component was found to gain the focus. */ @Override public boolean requestFocus() { @@ -498,8 +498,8 @@ public abstract class Container extends * Tests whether this container is an ancestor of the currently focused * component. * - * @return <tt>true</tt> if a component is focused and this container is an - * ancestor of the component; <tt>false</tt>, otherwise. + * @return {@code true} if a component is focused and this container is an + * ancestor of the component; {@code false}, otherwise. */ public boolean containsFocus() { Component focusedComponent = getFocusedComponent(); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ContainerMouseListener.java Thu Dec 31 00:01:39 2020 @@ -102,7 +102,7 @@ public interface ContainerMouseListener * @param container The container under the mouse. * @param x The X-position of the mouse. * @param y The Y-position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean mouseMove(Container container, int x, int y) { @@ -116,7 +116,7 @@ public interface ContainerMouseListener * @param button Which button was pressed. * @param x The X-position of the mouse. * @param y The Y-position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean mouseDown(Container container, Mouse.Button button, int x, int y) { @@ -130,7 +130,7 @@ public interface ContainerMouseListener * @param button Which mouse button was released. * @param x The X-position at the time of release. * @param y The Y-position at the time of release. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean mouseUp(Container container, Mouse.Button button, int x, int y) { @@ -146,7 +146,7 @@ public interface ContainerMouseListener * @param wheelRotation The amount and direction of wheel rotation. * @param x The X-position of the mouse at the time. * @param y The Y-position of the mouse. - * @return <tt>true</tt> to consume the event; <tt>false</tt> to allow it to + * @return {@code true} to consume the event; {@code false} to allow it to * propagate. */ default boolean mouseWheel(Container container, Mouse.ScrollType scrollType, int scrollAmount, 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -398,8 +398,8 @@ public final class DesktopApplicationCon /** * Terminates the application context. * - * @param optional If <tt>true</tt>, shutdown is optional and may be - * cancelled. If <tt>false</tt>, shutdown cannot be cancelled. + * @param optional If {@code true}, shutdown is optional and may be + * cancelled. If {@code false}, shutdown cannot be cancelled. * @return Whether shutdown was canceled by the application. */ public static boolean exit(boolean optional) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Dialog.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Dialog.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Dialog.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Dialog.java Thu Dec 31 00:01:39 2020 @@ -122,7 +122,7 @@ public class Dialog extends Frame { * Opens the dialog. * * @param display The display on which the dialog will be opened. - * @param owner The window's owner, or <tt>null</tt> if the window has no + * @param owner The window's owner, or {@code null} if the window has no * owner. Required if the dialog is modal. * @param dialogCloseListenerArgument A listener that will be called when the * dialog is closed. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/DragSource.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/DragSource.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/DragSource.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/DragSource.java Thu Dec 31 00:01:39 2020 @@ -26,7 +26,7 @@ public interface DragSource { * @param component The component to drag from. * @param x The X-position of the mouse at the beginning of the drag. * @param y The Y-position of the mouse. - * @return <tt>true</tt> to accept the drag; <tt>false</tt> to reject it. + * @return {@code true} to accept the drag; {@code false} to reject it. */ public boolean beginDrag(Component component, int x, int y); @@ -41,7 +41,7 @@ public interface DragSource { /** * Returns the drag source's native flag. * - * @return If <tt>true</tt>, the drag will be executed via the native OS. + * @return If {@code true}, the drag will be executed via the native OS. * Otherwise, it will be executed locally. */ public boolean isNative(); @@ -54,7 +54,7 @@ public interface DragSource { /** * Returns a visual representing the drag content. * - * @return The drag visual, or <tt>null</tt> for no visual. + * @return The drag visual, or {@code null} for no visual. */ public Visual getRepresentation(); @@ -62,7 +62,7 @@ public interface DragSource { * Returns the offset of the mouse pointer within the drag visual. Not * required unless a representation is specified. * - * @return The mouse offset within the drag visual, or <tt>null</tt> if no + * @return The mouse offset within the drag visual, or {@code null} if no * visual is specified. */ public Point getOffset(); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/DropTarget.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/DropTarget.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/DropTarget.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/DropTarget.java Thu Dec 31 00:01:39 2020 @@ -28,7 +28,7 @@ public interface DropTarget { * @param supportedDropActions What drop actions should be considered. * @param userDropAction What drop action the user is requesting. * @return The drop action that would result if the user dropped the item at - * this location, or <tt>null</tt> if the target cannot accept the drop. + * this location, or {@code null} if the target cannot accept the drop. */ public DropAction dragEnter(Component component, Manifest dragContent, int supportedDropActions, DropAction userDropAction); @@ -51,7 +51,7 @@ public interface DropTarget { * @param y The current mouse Y-location. * @param userDropAction What drop action the user is requesting. * @return The drop action that would result if the user dropped the item at - * this location, or <tt>null</tt> if the target cannot accept the drop. + * this location, or {@code null} if the target cannot accept the drop. */ public DropAction dragMove(Component component, Manifest dragContent, int supportedDropActions, int x, int y, DropAction userDropAction); @@ -67,7 +67,7 @@ public interface DropTarget { * @param y The current mouse Y-location. * @param userDropAction What drop action the user is requesting. * @return The drop action that would result if the user dropped the item at - * this location, or <tt>null</tt> if the target cannot accept the drop. + * this location, or {@code null} if the target cannot accept the drop. */ public DropAction userDropActionChange(Component component, Manifest dragContent, int supportedDropActions, int x, int y, DropAction userDropAction); @@ -81,7 +81,7 @@ public interface DropTarget { * @param x The current mouse X-location. * @param y The current mouse Y-location. * @param userDropAction What drop action the user is requesting. - * @return The drop action used to perform the drop, or <tt>null</tt> if the + * @return The drop action used to perform the drop, or {@code null} if the * target rejected the drop. */ public DropAction drop(Component component, Manifest dragContent, int supportedDropActions, 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -30,8 +30,8 @@ public interface Editor { * object. It is up to implementations to define the behavior when * <tt>isEditing() == false</tt>. * - * @return <tt>true</tt> if the changes were successfully saved; - * <tt>false</tt> otherwise. + * @return {@code true} if the changes were successfully saved; + * {@code false} otherwise. */ public boolean saveChanges(); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Expander.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Expander.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Expander.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Expander.java Thu Dec 31 00:01:39 2020 @@ -41,7 +41,7 @@ public class Expander extends Container /** * Returns the expander's title. * - * @return The pane's title, or <tt>null</tt> if no title is set. + * @return The pane's title, or {@code null} if no title is set. */ public String getTitle() { return title; @@ -50,7 +50,7 @@ public class Expander extends Container /** * Sets the expander's title. * - * @param title The new title, or <tt>null</tt> for no title. + * @param title The new title, or {@code null} for no title. */ public void setTitle(String title) { String previousTitle = this.title; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/FileBrowser.java Thu Dec 31 00:01:39 2020 @@ -111,7 +111,7 @@ public class FileBrowser extends Contain * Adds a file to the file selection. * * @param file The new file to add to the selection. - * @return <tt>true</tt> if the file was added; <tt>false</tt> if it was + * @return {@code true} if the file was added; {@code false} if it was * already selected. * @throws IllegalArgumentException if the file argument is {@code null} * or if the file is not in the current root directory. @@ -140,7 +140,7 @@ public class FileBrowser extends Contain * Removes a file from the file selection. * * @param file The previously selected file to be removed from the selection. - * @return <tt>true</tt> if the file was removed; <tt>false</tt> if it was + * @return {@code true} if the file was removed; {@code false} if it was * not already selected. * @throws IllegalArgumentException if the file argument is {@code null}. */ @@ -263,8 +263,8 @@ public class FileBrowser extends Contain /** * Sets the file browser's multi-select state. * - * @param multiSelect <tt>true</tt> if multi-select is enabled; - * <tt>false</tt>, otherwise. + * @param multiSelect {@code true} if multi-select is enabled; + * {@code false}, otherwise. */ public void setMultiSelect(boolean multiSelect) { if (this.multiSelect != multiSelect) { @@ -280,7 +280,7 @@ public class FileBrowser extends Contain /** * Returns the current file filter. * - * @return The current file filter, or <tt>null</tt> if no filter is set. + * @return The current file filter, or {@code null} if no filter is set. */ public Filter<File> getDisabledFileFilter() { return disabledFileFilter; @@ -289,7 +289,7 @@ public class FileBrowser extends Contain /** * Sets the file filter. * - * @param disabledFileFilter The file filter to use, or <tt>null</tt> for no + * @param disabledFileFilter The file filter to use, or {@code null} for no * filter. */ public void setDisabledFileFilter(Filter<File> disabledFileFilter) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/FocusTraversalPolicy.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/FocusTraversalPolicy.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/FocusTraversalPolicy.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/FocusTraversalPolicy.java Thu Dec 31 00:01:39 2020 @@ -26,10 +26,10 @@ public interface FocusTraversalPolicy { * * @param container The container to which the traversal policy applies. * @param component The component from which focus is being transferred. If - * <tt>null</tt>, implementations should return the first component for a + * {@code null}, implementations should return the first component for a * forward traversal and the last component for a backward traversal. * @param direction The direction in which to transfer focus. - * @return The component to focus, or <tt>null</tt> if there are no more + * @return The component to focus, or {@code null} if there are no more * components in the given direction or next component cannot be determined. */ Component getNextComponent(Container container, Component component, Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java Thu Dec 31 00:01:39 2020 @@ -46,7 +46,7 @@ public final class FontUtilities { * a font relative to the current theme}, or one of the * {@link Font#decode(String) standard Java font specifications}. * @return The font corresponding to the specification. - * @throws IllegalArgumentException if the given string is <tt>null</tt> + * @throws IllegalArgumentException if the given string is {@code null} * or empty or the font specification cannot be decoded. */ public static Font decodeFont(final String value) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Form.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Form.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Form.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Form.java Thu Dec 31 00:01:39 2020 @@ -244,7 +244,7 @@ public class Form extends Container { private MessageType messageType = null; /** - * The flag message. May be <tt>null</tt>. + * The flag message. May be {@code null}. */ private String message = null; @@ -272,7 +272,7 @@ public class Form extends Container { * * @param messageType The type of the flag. * @param message The message text associated with the flag, or - * <tt>null</tt> for no message. + * {@code null} for no message. */ public Flag(MessageType messageType, String message) { Utils.checkNull(messageType, "messageType"); @@ -305,7 +305,7 @@ public class Form extends Container { /** * Returns the flag message. * - * @return The message text associated with the flag, or <tt>null</tt> + * @return The message text associated with the flag, or {@code null} * if there is no message. */ public String getMessage() { @@ -316,7 +316,7 @@ public class Form extends Container { * Sets the flag message. * * @param message The message text associated with the flag, or - * <tt>null</tt> if there is no message. + * {@code null} if there is no message. */ public void setMessage(String message) { this.message = message; @@ -389,7 +389,7 @@ public class Form extends Container { /** * Returns the number of fields that are flagged with a given message type. * - * @param messageType The message type to count, or <tt>null</tt> to return + * @param messageType The message type to count, or {@code null} to return * the count of all flagged fields regardless of message type. * @return The number of flagged fields. */ @@ -412,7 +412,7 @@ public class Form extends Container { /** * Ensures that the first field with the given flag type is visible. * - * @param messageType The message type, or <tt>null</tt> to scroll the first + * @param messageType The message type, or {@code null} to scroll the first * flag of any type to visible. */ public void scrollFirstFlagToVisible(MessageType messageType) { 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -241,8 +241,8 @@ public class Gauge<T extends Number> ext /** * Set a level at which the gauge will start showing "warning" indication * (basically the warning color set in the skin). - * <p> If the warning (or critical) value is set to <tt>null</tt>, and/or - * the warning (or critical) color is set to <tt>null</tt> then the display + * <p> If the warning (or critical) value is set to {@code null}, and/or + * the warning (or critical) color is set to {@code null} then the display * will always be the same color, no matter the value. * <p> The assumption is that the warning level will be less than the critical * level, and both will be in the range of the min - max values (this is not @@ -280,8 +280,8 @@ public class Gauge<T extends Number> ext /** * Set a level at which the gauge will start showing "critical" indication * (basically the critical color set in the skin). - * <p> If the critical (or warning) value is set to <tt>null</tt>, and/or - * the critical (or warning) color is set to <tt>null</tt> then the display + * <p> If the critical (or warning) value is set to {@code null}, and/or + * the critical (or warning) color is set to {@code null} then the display * will always be the same color, no matter the value. * <p> The assumption is that the warning level will be less than the critical * level, and both will be in the range of the min - max values (this is not @@ -318,7 +318,7 @@ public class Gauge<T extends Number> ext /** * Set the text string to be displayed in the middle of the gauge. - * @param text The new text to be shown (can be <tt>null</tt> or empty). + * @param text The new text to be shown (can be {@code null} or empty). */ public void setText(String text) { // Null text is allowed 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -52,7 +52,7 @@ public class GridPane extends Container /** * Returns the grid pane with which this row is associated. * - * @return The row's grid pane, or <tt>null</tt> if the row does not + * @return The row's grid pane, or {@code null} if the row does not * currently belong to a grid. */ public GridPane getGridPane() { @@ -384,7 +384,7 @@ public class GridPane extends Container * * @param rowIndex The row index of the cell. * @param columnIndex The column index of the cell. - * @return The component in the specified cell, or <tt>null</tt> if the cell + * @return The component in the specified cell, or {@code null} if the cell * is empty. */ public Component getCellComponent(int rowIndex, int columnIndex) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ImageView.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ImageView.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ImageView.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ImageView.java Thu Dec 31 00:01:39 2020 @@ -118,7 +118,7 @@ public class ImageView extends Component /** * Creates an image view with the given image. * - * @param image The initial image to set, or <tt>null</tt> for no image. + * @param image The initial image to set, or {@code null} for no image. */ public ImageView(final Image image) { setImage(image); @@ -129,7 +129,7 @@ public class ImageView extends Component /** * Returns the image view's current image. * - * @return The current image, or <tt>null</tt> if no image is set. + * @return The current image, or {@code null} if no image is set. */ public final Image getImage() { return image; @@ -138,7 +138,7 @@ public class ImageView extends Component /** * Sets the image view's current image. * - * @param image The image to set, or <tt>null</tt> for no image. + * @param image The image to set, or {@code null} for no image. */ public final void setImage(final Image image) { Image previousImage = this.image; @@ -224,8 +224,8 @@ public class ImageView extends Component /** * Returns the image view's asynchronous flag. * - * @return <tt>true</tt> if images specified via URL will be loaded in the - * background; <tt>false</tt> if they will be loaded synchronously. + * @return {@code true} if images specified via URL will be loaded in the + * background; {@code false} if they will be loaded synchronously. */ public boolean isAsynchronous() { return asynchronous; @@ -234,8 +234,8 @@ public class ImageView extends Component /** * Sets the image view's asynchronous flag. * - * @param asynchronous <tt>true</tt> if images specified via URL will be - * loaded in the background; <tt>false</tt> if they will be loaded + * @param asynchronous {@code true} if images specified via URL will be + * loaded in the background; {@code false} if they will be loaded * synchronously. */ public void setAsynchronous(final boolean asynchronous) { @@ -248,7 +248,7 @@ public class ImageView extends Component /** * Returns the image view's image key. * - * @return The image key, or <tt>null</tt> if no key is set. + * @return The image key, or {@code null} if no key is set. */ public String getImageKey() { return imageKey; @@ -257,7 +257,7 @@ public class ImageView extends Component /** * Sets the image view's image key. * - * @param imageKey The image key, or <tt>null</tt> to clear the binding. + * @param imageKey The image key, or {@code null} to clear the binding. */ public void setImageKey(final String imageKey) { String previousImageKey = this.imageKey; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Keyboard.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Keyboard.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Keyboard.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Keyboard.java Thu Dec 31 00:01:39 2020 @@ -319,7 +319,7 @@ public final class Keyboard { * Tests the pressed state of a modifier. * * @param modifier The modifier to test. - * @return <tt>true</tt> if the modifier is pressed; <tt>false</tt>, + * @return {@code true} if the modifier is pressed; {@code false}, * otherwise. */ public static boolean isPressed(final Modifier modifier) { @@ -330,7 +330,7 @@ public final class Keyboard { * Are any of the given set of {@link Modifier}s pressed? * * @param modifierSet The set of modifiers to test. - * @return <tt>true</tt> if any of them are pressed, <tt>false</tt> + * @return {@code true} if any of them are pressed, {@code false} * if none are pressed. */ public static boolean areAnyPressed(final Set<Modifier> modifierSet) { @@ -341,7 +341,7 @@ public final class Keyboard { * Are any of the given list of {@link Modifier}s pressed? * * @param modifierList The list of modifiers to test. - * @return <tt>true</tt> if any of them are pressed, <tt>false</tt> + * @return {@code true} if any of them are pressed, {@code false} * if none are pressed. */ public static boolean areAnyPressed(final Modifier... modifierList) { @@ -353,7 +353,7 @@ public final class Keyboard { * <p> This is typically used to test two modifiers (like CTRL and SHIFT). * * @param modifierSet The set of modifiers to test. - * @return <tt>true</tt> if all of the modifiers are pressed, <tt>false</tt> + * @return {@code true} if all of the modifiers are pressed, {@code false} * if only some or none are pressed. */ public static boolean areAllPressed(final Set<Modifier> modifierSet) { @@ -366,7 +366,7 @@ public final class Keyboard { * <p> This is typically used to test two modifiers (like CTRL and SHIFT). * * @param modifierList The list of modifiers to test. - * @return <tt>true</tt> if all of the modifiers are pressed, <tt>false</tt> + * @return {@code true} if all of the modifiers are pressed, {@code false} * if only some or none are pressed. */ public static boolean areAllPressed(final Modifier... modifierList) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Label.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Label.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Label.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Label.java Thu Dec 31 00:01:39 2020 @@ -111,7 +111,7 @@ public class Label extends Component { /** * Returns the label's text key. * - * @return The text key, or <tt>null</tt> if no text key is set. + * @return The text key, or {@code null} if no text key is set. */ public String getTextKey() { return textKey; @@ -150,7 +150,7 @@ public class Label extends Component { /** * Sets the label's text key. * - * @param textKey The text key, or <tt>null</tt> to clear the binding. + * @param textKey The text key, or {@code null} to clear the binding. */ public void setTextKey(final String textKey) { String previousTextKey = this.textKey; 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -395,7 +395,7 @@ public class ListButton extends Button { * Returns an item's disabled state. * * @param index The index of the item whose disabled state is to be tested. - * @return <tt>true</tt> if the item is disabled; <tt>false</tt>, otherwise. + * @return {@code true} if the item is disabled; {@code false}, otherwise. */ @SuppressWarnings("unchecked") public boolean isItemDisabled(int index) { @@ -412,7 +412,7 @@ public class ListButton extends Button { /** * Returns the disabled item filter. * - * @return The disabled item filter, or <tt>null</tt> if no disabled item + * @return The disabled item filter, or {@code null} if no disabled item * filter is set. */ public Filter<?> getDisabledItemFilter() { @@ -422,7 +422,7 @@ public class ListButton extends Button { /** * Sets the disabled item filter. * - * @param disabledItemFilter The disabled item filter, or <tt>null</tt> for + * @param disabledItemFilter The disabled item filter, or {@code null} for * no disabled item filter. */ public void setDisabledItemFilter(Filter<?> disabledItemFilter) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonSelectionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonSelectionListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonSelectionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ListButtonSelectionListener.java Thu Dec 31 00:01:39 2020 @@ -71,7 +71,7 @@ public interface ListButtonSelectionList * * @param listButton The source of the event. * @param previousSelectedItem The item that was previously selected, or - * <tt>null</tt> if the previous selection cannot be determined. + * {@code null} if the previous selection cannot be determined. */ default void selectedItemChanged(ListButton listButton, Object previousSelectedItem) { } 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -69,18 +69,18 @@ public class ListView extends Component /** * Prepares the renderer for layout or paint. * - * @param item The item to render, or <tt>null</tt> if called to + * @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 <tt>null</tt>. + * <tt>item</tt> is {@code null}. * @param listView The host component. - * @param selected If <tt>true</tt>, the item is selected. the item. + * @param selected If {@code true}, the item is selected. the item. * @param state The selected, unselected or mixed state for the checkmark. * If tri-state checkmarks are not enabled, this value will either be * selected or unselected. - * @param highlighted If <tt>true</tt>, the item is highlighted. - * @param disabled If <tt>true</tt>, the item is disabled. + * @param highlighted If {@code true}, the item is highlighted. + * @param disabled If {@code true}, the item is disabled. */ public void render(Object item, int index, ListView listView, boolean selected, Button.State state, boolean highlighted, boolean disabled); @@ -89,7 +89,7 @@ public class ListView extends Component * Converts a list item to a string representation. * * @param item The particular list item. - * @return The item's string representation, or <tt>null</tt> if the item + * @return The item's string representation, or {@code null} if the item * does not have a string representation. <p> Note that this method may * be called often during keyboard navigation, so implementations should * avoid unnecessary string allocations. @@ -112,7 +112,7 @@ public class ListView extends Component /** * Terminates an edit operation. * - * @param result <tt>true</tt> to perform the edit; <tt>false</tt> to + * @param result {@code true} to perform the edit; {@code false} to * cancel it. */ public void endEdit(boolean result); @@ -564,7 +564,7 @@ public class ListView extends Component /** * Returns the editor used to edit items in this list. * - * @return The item editor, or <tt>null</tt> if no editor is installed. + * @return The item editor, or {@code null} if no editor is installed. */ public ItemEditor getItemEditor() { return itemEditor; @@ -744,8 +744,8 @@ public class ListView extends Component * Adds a single index to the selection. * * @param index The index to add. - * @return <tt>true</tt> if the index was added to the selection; - * <tt>false</tt>, otherwise. + * @return {@code true} if the index was added to the selection; + * {@code false}, otherwise. */ public boolean addSelectedIndex(int index) { Sequence<Span> addedRanges = addSelectedRange(index, index); @@ -805,8 +805,8 @@ public class ListView extends Component * Removes a single index from the selection. * * @param index The index to remove. - * @return <tt>true</tt> if the index was removed from the selection; - * <tt>false</tt>, otherwise. + * @return {@code true} if the index was removed from the selection; + * {@code false}, otherwise. */ public boolean removeSelectedIndex(int index) { Sequence<Span> removedRanges = removeSelectedRange(index, index); @@ -878,7 +878,7 @@ public class ListView extends Component * Returns the selection state of a given index. * * @param index The index whose selection state is to be tested. - * @return <tt>true</tt> if the index is selected; <tt>false</tt>, otherwise. + * @return {@code true} if the index is selected; {@code false}, otherwise. */ public boolean isItemSelected(int index) { indexBoundsCheck("index", index, 0, listData.getLength() - 1); @@ -998,7 +998,7 @@ public class ListView extends Component /** * Returns an item's checked state. * <p> For a tri-state checkmark, if the {@link #checkmarksMixedAsChecked} flag - * is set, this method returns <tt>true</tt> if the state is {@link Button.State#MIXED}. + * is set, this method returns {@code true} if the state is {@link Button.State#MIXED}. * * @param index The index of the item to test. * @return Whether or not the given item is checked. @@ -1086,7 +1086,7 @@ public class ListView extends Component * * @param index The index of the item whose disabled checkmark state is to * be tested. - * @return <tt>true</tt> if the item's checkmark is disabled; <tt>false</tt> + * @return {@code true} if the item's checkmark is disabled; {@code false} * otherwise (such as if no disabled checkmark filter is set). */ @SuppressWarnings("unchecked") @@ -1221,13 +1221,13 @@ public class ListView extends Component * Returns the disabled checkmark filter, which determines which checkboxes * are interactive and which are not. Note that this filter only affects * user interaction; items may still be checked programatically despite - * their inclusion in this filter. If this filter is set to <tt>null</tt>, + * their inclusion in this filter. If this filter is set to {@code null}, * all checkboxes will be interactive. * <p> * <b>Note:</b> this filter is only relevant if * {@link #setCheckmarksEnabled(boolean) checkmarksEnabled} is set to true. * - * @return The disabled checkmark filter, or <tt>null</tt> if no disabled + * @return The disabled checkmark filter, or {@code null} if no disabled * checkmark filter is set */ public Filter<?> getDisabledCheckmarkFilter() { @@ -1238,13 +1238,13 @@ public class ListView extends Component * Sets the disabled checkmark filter, which determines which checkboxes are * interactive and which are not. Note that this filter only affects user * interaction; items may still be checked programatically despite their - * inclusion in this filter. If this filter is set to <tt>null</tt>, all + * inclusion in this filter. If this filter is set to {@code null}, all * checkboxes will be interactive. <p> <b>Note:</b> this filter is only * relavent if {@link #setCheckmarksEnabled(boolean) checkmarksEnabled} is * set to true. enabled. * * @param disabledCheckmarkFilter The disabled checkmark filter, or - * <tt>null</tt> for no disabled checkmark filter + * {@code null} for no disabled checkmark filter */ public void setDisabledCheckmarkFilter(Filter<?> disabledCheckmarkFilter) { Filter<?> previousDisabledCheckmarkFilter = this.disabledCheckmarkFilter; @@ -1293,8 +1293,8 @@ public class ListView extends Component /** * Get the flag saying whether the mixed state of tri-state checkmarks should be treated for * all other purposes as "checked" or not. This setting will also affect what happens when - * we get mouse clicks on the checkmark. Set to <tt>false</tt> <code>UNSELECTED</code> - * will go to <code>MIXED</code>; while set to <tt>true</tt> <code>UNSELECTED</code> will + * we get mouse clicks on the checkmark. Set to {@code false} <code>UNSELECTED</code> + * will go to <code>MIXED</code>; while set to {@code true} <code>UNSELECTED</code> will * go to <code>SELECTED</code>. * * @return Whether or not to treat the mixed state as "checked". @@ -1321,7 +1321,7 @@ public class ListView extends Component * Returns an item's disabled state. * * @param index The index of the item whose disabled state is to be tested. - * @return <tt>true</tt> if the item is disabled; <tt>false</tt>, otherwise. + * @return {@code true} if the item is disabled; {@code false}, otherwise. */ @SuppressWarnings("unchecked") public boolean isItemDisabled(int index) { @@ -1338,7 +1338,7 @@ public class ListView extends Component /** * Returns the disabled item filter. * - * @return The disabled item filter, or <tt>null</tt> if no disabled item + * @return The disabled item filter, or {@code null} if no disabled item * filter is set. */ public Filter<?> getDisabledItemFilter() { @@ -1348,7 +1348,7 @@ public class ListView extends Component /** * Sets the disabled item filter. * - * @param disabledItemFilter The disabled item filter, or <tt>null</tt> for + * @param disabledItemFilter The disabled item filter, or {@code null} for * no disabled item filter. */ public void setDisabledItemFilter(Filter<?> disabledItemFilter) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewSelectionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewSelectionListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewSelectionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/ListViewSelectionListener.java Thu Dec 31 00:01:39 2020 @@ -108,7 +108,7 @@ public interface ListViewSelectionListen * @param previousSelectedRanges If the selection changed directly, contains * the ranges that were previously selected. If the selection changed * indirectly as a result of a model change, contains the current selection. - * Otherwise, contains <tt>null</tt>. + * Otherwise, contains {@code null}. */ default void selectedRangesChanged(ListView listView, Sequence<Span> previousSelectedRanges) { } Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuHandler.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuHandler.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuHandler.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/MenuHandler.java Thu Dec 31 00:01:39 2020 @@ -70,8 +70,8 @@ public interface MenuHandler { * @param menu The menu to be configured. * @param x The X location of the click. * @param y The Y location of the click. - * @return <tt>true</tt> to stop propagation of context menu configuration; - * <tt>false</tt> to allow it to continue (default). + * @return {@code true} to stop propagation of context menu configuration; + * {@code false} to allow it to continue (default). */ default boolean configureContextMenu(Component component, Menu menu, int x, int y) { return false; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Mouse.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Mouse.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Mouse.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Mouse.java Thu Dec 31 00:01:39 2020 @@ -67,7 +67,7 @@ public final class Mouse { * Tests the pressed state of a button. * * @param button The button to test. - * @return <tt>true</tt> if the button is pressed; <tt>false</tt>, otherwise. + * @return {@code true} if the button is pressed; {@code false}, otherwise. */ public static boolean isPressed(final Button button) { return (buttons & button.getMask()) > 0; @@ -139,7 +139,7 @@ public final class Mouse { /** * Returns the mouse capturer. * - * @return The component that has captured the mouse, or <tt>null</tt> if + * @return The component that has captured the mouse, or {@code null} if * the mouse is not currently captured. */ public static Component getCapturer() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/MovieView.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/MovieView.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/MovieView.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/MovieView.java Thu Dec 31 00:01:39 2020 @@ -39,7 +39,7 @@ public class MovieView extends Component /** * Creates an movie view with the given movie. * - * @param movie The initial movie to set, or <tt>null</tt> for no movie. + * @param movie The initial movie to set, or {@code null} for no movie. */ public MovieView(Movie movie) { setMovie(movie); @@ -50,7 +50,7 @@ public class MovieView extends Component /** * Returns the movie view's current movie. * - * @return The current movie, or <tt>null</tt> if no movie is set. + * @return The current movie, or {@code null} if no movie is set. */ public Movie getMovie() { return movie; @@ -59,7 +59,7 @@ public class MovieView extends Component /** * Sets the movie view's current movie. * - * @param movie The movie to set, or <tt>null</tt> for no movie. + * @param movie The movie to set, or {@code null} for no movie. */ public void setMovie(Movie movie) { Movie previousMovie = this.movie; 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -298,7 +298,7 @@ public class RangeSelection { * Tests for the presence of an index in the selection. * * @param index The index to look for in the selection. - * @return <tt>true</tt> if the index is selected; <tt>false</tt>, otherwise. + * @return {@code true} if the index is selected; {@code false}, otherwise. */ public boolean containsIndex(final int index) { Span range = new Span(index); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/SortDirection.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/SortDirection.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/SortDirection.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/SortDirection.java Thu Dec 31 00:01:39 2020 @@ -17,7 +17,7 @@ package org.apache.pivot.wtk; /** - * Enumeration representing a sort direction. A value of <tt>null</tt> is + * Enumeration representing a sort direction. A value of {@code null} is * assumed to mean "no sort". */ public enum SortDirection { 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -121,7 +121,7 @@ public final class Span { * Determines whether this span contains another span. * * @param span The span to test for containment. - * @return <tt>true</tt> if this span contains <tt>span</tt>; <tt>false</tt>, + * @return {@code true} if this span contains <tt>span</tt>; {@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 <tt>true</tt> if this span is adjacent <tt>span</tt>; <tt>false</tt>, + * @return {@code true} if this span is adjacent <tt>span</tt>; {@code false}, * otherwise. * @throws IllegalArgumentException if the given span is {@code null}. */ @@ -173,7 +173,7 @@ public final class Span { * normalized start of the other span. * * @param span The span to test. - * @return <tt>true</tt> if this span is "before" <tt>span</tt>; <tt>false</tt>, + * @return {@code true} if this span is "before" <tt>span</tt>; {@code false}, * otherwise. * @throws IllegalArgumentException if the given span is {@code null}. */ @@ -189,7 +189,7 @@ public final class Span { * normalized end of the other span. * * @param span The span to test. - * @return <tt>true</tt> if this span is "after" <tt>span</tt>; <tt>false</tt>, + * @return {@code true} if this span is "after" <tt>span</tt>; {@code false}, * otherwise. * @throws IllegalArgumentException if the given span is {@code null}. */ @@ -203,8 +203,8 @@ public final class Span { * Determines whether this span intersects with another span. * * @param span The span to test for intersection. - * @return <tt>true</tt> if this span intersects with <tt>span</tt>; - * <tt>false</tt>, otherwise. + * @return {@code true} if this span intersects with <tt>span</tt>; + * {@code false}, otherwise. * @throws IllegalArgumentException if the given span is {@code null}. */ public boolean intersects(final Span span) { @@ -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 <tt>null</tt> if the spans do not intersect. + * <tt>span</tt>, or {@code null} if the spans do not intersect. * @throws IllegalArgumentException if the given span is {@code null}. */ public Span intersect(final Span span) { @@ -271,7 +271,7 @@ public final class Span { } /** - * @return <tt>true</tt> if the span is "normal", meaning the start is + * @return {@code true} if the span is "normal", meaning the start is * less or equal the end. */ public boolean isNormal() { 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -44,7 +44,7 @@ public class Spinner extends Container { /** * Prepares the renderer for layout or paint. * - * @param item The item to render, or <tt>null</tt> if called to + * @param item The item to render, or {@code null} if called to * calculate preferred height for skins that assume a fixed renderer * height. * @param spinner The host component. @@ -55,7 +55,7 @@ public class Spinner extends Container { * Converts a spinner item to a string representation. * * @param item The item from the spinner's data. - * @return The item's string representation, or <tt>null</tt> if the item + * @return The item's string representation, or {@code null} if the item * does not have a string representation. <p> Note that this method may * be called often during keyboard navigation, so implementations should * avoid unnecessary string allocations. Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerSelectionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerSelectionListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerSelectionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/SpinnerSelectionListener.java Thu Dec 31 00:01:39 2020 @@ -71,7 +71,7 @@ public interface SpinnerSelectionListene * * @param spinner The source of the event. * @param previousSelectedItem The item that was previously selected, or - * <tt>null</tt> if the previous selection cannot be determined. + * {@code null} if the previous selection cannot be determined. */ default void selectedItemChanged(Spinner spinner, Object previousSelectedItem) { } 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -144,7 +144,7 @@ public class SplitPane extends Container /** * @return The "top" component of the split pane, which only applies in vertical mode; - * otherwise it is <tt>null</tt>. + * otherwise it is {@code null}. */ public Component getTop() { return (orientation == Orientation.HORIZONTAL) ? null : getTopLeft(); @@ -156,7 +156,7 @@ public class SplitPane extends Container /** * @return The "bottom" component of the split pane, which only applies in vertical mode; - * otherwise it is <tt>null</tt>. + * otherwise it is {@code null}. */ public Component getBottom() { return (orientation == Orientation.HORIZONTAL) ? null : getBottomRight(); @@ -168,7 +168,7 @@ public class SplitPane extends Container /** * @return The "left" component of the split pane, which only applies in horizontal mode; - * otherwise it is <tt>null</tt>. + * otherwise it is {@code null}. */ public Component getLeft() { return (orientation == Orientation.VERTICAL) ? null : getTopLeft(); @@ -180,7 +180,7 @@ public class SplitPane extends Container /** * @return The "right" component of the split pane, which only applies in horizontal mode; - * otherwise it is <tt>null</tt>. + * otherwise it is {@code null}. */ public Component getRight() { return (orientation == Orientation.VERTICAL) ? null : getBottomRight(); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/SuggestionPopupSelectionListener.java Thu Dec 31 00:01:39 2020 @@ -71,7 +71,7 @@ public interface SuggestionPopupSelectio * * @param suggestionPopup The source of the event. * @param previousSelectedSuggestion The item that was previously selected, - * or <tt>null</tt> if the previous selection cannot be determined. + * or {@code null} if the previous selection cannot be determined. */ default void selectedSuggestionChanged(SuggestionPopup suggestionPopup, Object previousSelectedSuggestion) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPane.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPane.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPane.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TabPane.java Thu Dec 31 00:01:39 2020 @@ -278,8 +278,8 @@ public class TabPane extends Container { } /** - * @return <tt>true</tt> if the TabPane is collapsible and no tab is - * selected; <tt>false</tt>, otherwise. + * @return {@code true} if the TabPane is collapsible and no tab is + * selected; {@code false}, otherwise. * @see #isCollapsible() * @see #getSelectedIndex() */ @@ -290,7 +290,7 @@ public class TabPane extends Container { /** * Collapse or expand the TabPane (if it is collapsible). * - * @param collapsed <tt>true</tt> to collapse, <tt>false</tt> to expand and + * @param collapsed {@code true} to collapse, {@code false} to expand and * select the first tab. Use {@link #setSelectedIndex(int)} to expand and * select a specific Tab. * @see #isCollapsible() 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -89,7 +89,7 @@ public class TablePane extends Container /** * Returns the table pane with which this row is associated. * - * @return The row's table pane, or <tt>null</tt> if the row does not + * @return The row's table pane, or {@code null} if the row does not * currently belong to a table. */ public TablePane getTablePane() { @@ -108,7 +108,7 @@ public class TablePane extends Container /** * Returns the relative flag. * - * @return <tt>true</tt> if the row height is relative, <tt>false</tt> + * @return {@code true} if the row height is relative, {@code false} * if it is fixed. */ public boolean isRelative() { @@ -147,8 +147,8 @@ public class TablePane extends Container * Sets the row height. * * @param height The height of the row. - * @param relative <tt>true</tt> if the row height is relative, - * <tt>false</tt> if it is fixed. + * @param relative {@code true} if the row height is relative, + * {@code false} if it is fixed. */ public void setHeight(int height, boolean relative) { int previousHeight = this.height; @@ -168,7 +168,7 @@ public class TablePane extends Container /** * Returns the highlighted flag. * - * @return <tt>true</tt> if the row is highlighted, <tt>false</tt> if it + * @return {@code true} if the row is highlighted, {@code false} if it * is not */ public boolean isHighlighted() { @@ -178,8 +178,8 @@ public class TablePane extends Container /** * Sets the highlighted flag. * - * @param highlighted <tt>true</tt> to set the row as highlighted, - * <tt>false</tt> to set it as not highlighted + * @param highlighted {@code true} to set the row as highlighted, + * {@code false} to set it as not highlighted */ public void setHighlighted(boolean highlighted) { if (highlighted != this.highlighted) { @@ -335,7 +335,7 @@ public class TablePane extends Container /** * Returns the table pane with which this column is associated. * - * @return The column's table pane, or <tt>null</tt> if the column does + * @return The column's table pane, or {@code null} if the column does * not currently belong to a table. */ public TablePane getTablePane() { @@ -354,7 +354,7 @@ public class TablePane extends Container /** * Returns the relative flag. * - * @return <tt>true</tt> if the column width is relative, <tt>false</tt> + * @return {@code true} if the column width is relative, {@code false} * if it is fixed. */ public boolean isRelative() { @@ -393,8 +393,8 @@ public class TablePane extends Container * Sets the column width. * * @param width The width of the column. - * @param relative <tt>true</tt> if the column width is relative, - * <tt>false</tt> if it is fixed. + * @param relative {@code true} if the column width is relative, + * {@code false} if it is fixed. */ public void setWidth(int width, boolean relative) { int previousWidth = this.width; @@ -414,7 +414,7 @@ public class TablePane extends Container /** * Returns the highlighted flag. * - * @return <tt>true</tt> if the column is highlighted, <tt>false</tt> if + * @return {@code true} if the column is highlighted, {@code false} if * it is not */ public boolean isHighlighted() { @@ -424,8 +424,8 @@ public class TablePane extends Container /** * Sets the highlighted flag. * - * @param highlighted <tt>true</tt> to set the column as highlighted, - * <tt>false</tt> to set it as not highlighted + * @param highlighted {@code true} to set the column as highlighted, + * {@code false} to set it as not highlighted */ public void setHighlighted(boolean highlighted) { if (highlighted != this.highlighted) { @@ -751,7 +751,7 @@ public class TablePane extends Container * * @param rowIndex The row index of the cell * @param columnIndex The column index of the cell - * @return The component in the specified cell, or <tt>null</tt> if the cell + * @return The component in the specified cell, or {@code null} if the cell * is empty */ public Component getCellComponent(int rowIndex, int columnIndex) {