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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -116,7 +116,7 @@ public class TableView extends Component * @param name The column name. * @param headerData The column header data. * @param width The width of the column. - * @param relative If <tt>true</tt>, specifies a relative column width; + * @param relative If {@code true}, specifies a relative column width; * otherwise, specifies a fixed column width. */ public Column(final String name, final Object headerData, final int width, final boolean relative) { @@ -152,7 +152,7 @@ public class TableView extends Component /** * Returns the table view with which this column is associated. * - * @return The column's table view, or <tt>null</tt> if the column does + * @return The column's table view, or {@code null} if the column does * not currently belong to a table. */ public TableView getTableView() { @@ -188,7 +188,7 @@ public class TableView extends Component /** * Returns the column header data. * - * @return The column header data, or <tt>null</tt> if the column has no + * @return The column header data, or {@code null} if the column has no * header data. */ public Object getHeaderData() { @@ -198,7 +198,7 @@ public class TableView extends Component /** * Sets the column header data. * - * @param headerData The column header data, or <tt>null</tt> for no + * @param headerData The column header data, or {@code null} for no * header data. */ public void setHeaderData(final Object headerData) { @@ -252,7 +252,7 @@ public class TableView extends Component /** * 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() { @@ -291,8 +291,8 @@ public class TableView extends Component * 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(final int width, final boolean relative) { if (width < (relative ? 0 : -1)) { @@ -398,7 +398,7 @@ public class TableView extends Component /** * Returns the column's filter. * - * @return The column's filter, or <tt>null</tt> if the column does not + * @return The column's filter, or {@code null} if the column does not * have a filter. */ public Object getFilter() { @@ -408,7 +408,7 @@ public class TableView extends Component /** * Sets the column's filter. * - * @param filter The column's filter, or <tt>null</tt> for no filter. + * @param filter The column's filter, or {@code null} for no filter. */ public void setFilter(final Object filter) { Object previousFilter = this.filter; @@ -482,16 +482,16 @@ public class TableView extends Component /** * Prepares the renderer for layout or paint. * - * @param row The row to render, or <tt>null</tt> if called to calculate + * @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 <tt>null</tt>. + * <tt>value</tt> 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. - * @param selected If <tt>true</tt>, the row is selected. - * @param highlighted If <tt>true</tt>, the row is highlighted. - * @param disabled If <tt>true</tt>, the row is disabled. + * @param selected If {@code true}, the row is selected. + * @param highlighted If {@code true}, the row is highlighted. + * @param disabled If {@code true}, the row is disabled. */ public void render(Object row, int rowIndex, int columnIndex, TableView tableView, String columnName, boolean selected, boolean highlighted, boolean disabled); @@ -501,7 +501,7 @@ public class TableView extends Component * * @param row The row object. * @param columnName The name of the column. - * @return The cell data's string representation, or <tt>null</tt> if the + * @return The cell data's string representation, or {@code null} if the * data 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. @@ -517,13 +517,13 @@ public class TableView extends Component /** * Prepares the renderer for layout or paint. * - * @param data The data to render, or <tt>null</tt> if called to + * @param data The data to render, or {@code null} if called to * calculate preferred height for skins that assume a fixed renderer * height. * @param columnIndex The index of the column being rendered. * @param tableViewHeader The host component. * @param columnName The name of the column being rendered. - * @param highlighted If <tt>true</tt>, the item is highlighted. + * @param highlighted If {@code true}, the item is highlighted. */ public void render(Object data, int columnIndex, TableViewHeader tableViewHeader, String columnName, boolean highlighted); @@ -532,7 +532,7 @@ public class TableView extends Component * Converts table view header data to a string representation. * * @param item The header data item. - * @return The data's string representation, or <tt>null</tt> if the data + * @return The data's string representation, or {@code null} if the data * 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. @@ -556,7 +556,7 @@ public class TableView 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); @@ -1040,7 +1040,7 @@ public class TableView extends Component /** * Returns the editor used to edit rows in this table. * - * @return The row editor, or <tt>null</tt> if no editor is installed. + * @return The row editor, or {@code null} if no editor is installed. */ public RowEditor getRowEditor() { return rowEditor; @@ -1216,8 +1216,8 @@ public class TableView 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(final int index) { Sequence<Span> addedRanges = addSelectedRange(index, index); @@ -1275,8 +1275,8 @@ public class TableView 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(final int index) { Sequence<Span> removedRanges = removeSelectedRange(index, index); @@ -1351,7 +1351,7 @@ public class TableView 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 isRowSelected(final int index) { indexBoundsCheck("index", index, 0, tableData.getLength() - 1); @@ -1546,7 +1546,7 @@ public class TableView extends Component * Returns the disabled state of a given row. * * @param index The index of the row whose disabled state is to be tested. - * @return <tt>true</tt> if the row is disabled; <tt>false</tt>, otherwise. + * @return {@code true} if the row is disabled; {@code false}, otherwise. */ @SuppressWarnings("unchecked") public boolean isRowDisabled(final int index) { @@ -1563,7 +1563,7 @@ public class TableView extends Component /** * Returns the disabled row filter. * - * @return The disabled row filter, or <tt>null</tt> if no disabled row + * @return The disabled row filter, or {@code null} if no disabled row * filter is set. */ public Filter<?> getDisabledRowFilter() { @@ -1573,7 +1573,7 @@ public class TableView extends Component /** * Sets the disabled row filter. * - * @param disabledRowFilter The disabled row filter, or <tt>null</tt> for no + * @param disabledRowFilter The disabled row filter, or {@code null} for no * disabled row filter. */ public void setDisabledRowFilter(final Filter<?> disabledRowFilter) {
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSelectionListener.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSelectionListener.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSelectionListener.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/TableViewSelectionListener.java Thu Dec 31 00:01:39 2020 @@ -104,7 +104,7 @@ public interface TableViewSelectionListe * @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(TableView tableView, Sequence<Span> previousSelectedRanges) { } 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -934,7 +934,7 @@ public class TextArea extends Component * Returns a span representing the current selection. * * @return A span containing the current selection. Both start and end - * points are inclusive. Returns <tt>null</tt> if the selection is empty. + * points are inclusive. Returns {@code null} if the selection is empty. */ public Span getSelection() { return (selectionLength == 0) ? null : new Span(selectionStart, selectionStart @@ -1079,7 +1079,7 @@ public class TextArea extends Component /** * Returns the text area'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; @@ -1088,7 +1088,7 @@ public class TextArea extends Component /** * Sets the text area'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(String textKey) { String previousTextKey = this.textKey; 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -448,7 +448,7 @@ public class TextInput extends Component * Returns a span representing the current selection. * * @return A span containing the current selection. Both start and end - * points are inclusive. Returns <tt>null</tt> if the selection length is + * points are inclusive. Returns {@code null} if the selection length is * <tt>0</tt>. */ public final Span getSelection() { @@ -606,7 +606,7 @@ public class TextInput extends Component /** * Returns the password flag. * - * @return <tt>true</tt> if this is a password text input; <tt>false</tt>, + * @return {@code true} if this is a password text input; {@code false}, * otherwise. */ public final boolean isPassword() { @@ -617,8 +617,8 @@ public class TextInput extends Component * Sets or clears the password flag. If the password flag is set, the text * input will visually mask its contents. * - * @param password <tt>true</tt> if this is a password text input; - * <tt>false</tt>, otherwise. + * @param password {@code true} if this is a password text input; + * {@code false}, otherwise. */ public final void setPassword(final boolean password) { if (this.password != password) { @@ -637,7 +637,7 @@ public class TextInput extends Component /** * Sets the text input's prompt. * - * @param prompt The prompt text, or <tt>null</tt> for no prompt. + * @param prompt The prompt text, or {@code null} for no prompt. */ public final void setPrompt(final String prompt) { String previousPrompt = this.prompt; @@ -651,7 +651,7 @@ public class TextInput extends Component /** * Returns the text input'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 final String getTextKey() { return textKey; @@ -660,7 +660,7 @@ public class TextInput extends Component /** * Sets the text input'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 final void setTextKey(final String textKey) { String previousTextKey = this.textKey; @@ -750,7 +750,7 @@ public class TextInput extends Component /** * Sets the validator associated with this text input. * - * @param validator The validator to use, or <tt>null</tt> to use no + * @param validator The validator to use, or {@code null} to use no * validator. */ public final void setValidator(final Validator validator) { @@ -798,8 +798,8 @@ public class TextInput extends Component * Reports whether this text input's text is currently valid as defined by * its validator. * - * @return <tt>true</tt> if the text is valid or no validator is installed; - * <tt>false</tt>, otherwise. + * @return {@code true} if the text is valid or no validator is installed; + * {@code false}, otherwise. */ public final boolean isTextValid() { return textValid; 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -550,7 +550,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 - * <tt>null</tt>. + * {@code null}. */ public int getCharacterCount() { return (document == null) ? 0 : document.getCharacterCount(); @@ -997,7 +997,7 @@ public class TextPane extends Container * Returns a span representing the current selection. * * @return A span containing the current selection. Both start and end - * points are inclusive. Returns <tt>null</tt> if the selection is empty. + * points are inclusive. Returns {@code null} if the selection is empty. */ public Span getSelection() { return (selectionLength == 0) ? null : new Span(selectionStart, selectionStart @@ -1112,7 +1112,7 @@ public class TextPane extends Container * Returns the currently selected text. * * @return A new string containing a copy of the text in the selected range, - * or <tt>null</tt> if nothing is selected. + * or {@code null} if nothing is selected. */ public String getSelectedText() { return selectionLength > 0 ? getText(selectionStart, selectionStart + selectionLength) : null; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Theme.java Thu Dec 31 00:01:39 2020 @@ -127,9 +127,9 @@ public abstract class Theme { * Returns the skin class responsible for skinning the specified component class. * * @param componentClass The component class. - * @return The skin class, or <tt>null</tt> if no skin mapping exists for + * @return The skin class, or {@code null} if no skin mapping exists for * the component class. - * @throws IllegalArgumentException if the given component class is <tt>null</tt>. + * @throws IllegalArgumentException if the given component class is {@code null}. */ public final Class<? extends Skin> getSkinClass(final Class<? extends Component> componentClass) { Utils.checkNull(componentClass, "Component class"); @@ -300,7 +300,7 @@ public abstract class Theme { * </ul> * Omitted values are taken from the theme's font. * @return The new font derived from the current font. - * @throws IllegalArgumentException if the supplied dictionary is <tt>null</tt>. + * @throws IllegalArgumentException if the supplied dictionary is {@code null}. */ public static Font deriveFont(final Dictionary<String, ?> dictionary) { Utils.checkNull(dictionary, "dictionary"); 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -97,23 +97,23 @@ public class TreeView extends Component /** * Prepares the renderer for layout or paint. * - * @param node The node value to render, or <tt>null</tt> if called to + * @param node The node value to render, or {@code null} if called to * calculate preferred height for skins that assume a fixed renderer * height. - * @param path The path to the node being rendered, or <tt>null</tt> if - * <tt>node</tt> is <tt>null</tt>. + * @param path The path to the node being rendered, or {@code null} if + * <tt>node</tt> 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 - * <tt>null</tt>. + * {@code null}. * @param treeView The host component. - * @param expanded <tt>true</tt> if the node is expanded; <tt>false</tt> + * @param expanded {@code true} if the node is expanded; {@code false} * otherwise. - * @param selected <tt>true</tt> if the node is selected; <tt>false</tt> + * @param selected {@code true} if the node is selected; {@code false} * otherwise. * @param checkState The node's {@linkplain NodeCheckState check state}. - * @param highlighted <tt>true</tt> if the node is highlighted; - * <tt>false</tt> otherwise. - * @param disabled <tt>true</tt> if the node is disabled; <tt>false</tt> + * @param highlighted {@code true} if the node is highlighted; + * {@code false} otherwise. + * @param disabled {@code true} if the node is disabled; {@code false} * otherwise. */ public void render(Object node, Path path, int rowIndex, TreeView treeView, @@ -124,7 +124,7 @@ public class TreeView extends Component * Converts a tree node to a string representation. * * @param node The actual tree node data object. - * @return The node's string representation, or <tt>null</tt> if the node + * @return The node's string representation, or {@code null} if the node * 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. @@ -147,7 +147,7 @@ public class TreeView 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); @@ -167,7 +167,7 @@ public class TreeView extends Component * (relative to the tree view). * * @param y The y-coordinate in pixels. - * @return The path to the node, or <tt>null</tt> if there is no node + * @return The path to the node, or {@code null} if there is no node * being painted at the specified y-coordinate. */ public Path getNodeAt(int y); @@ -178,7 +178,7 @@ public class TreeView extends Component * the pixel value of a node's indent, use {@link #getNodeIndent(int)}. * * @param path The path to the node. - * @return The bounds, or <tt>null</tt> if the node is not currently + * @return The bounds, or {@code null} if the node is not currently * visible. */ public Bounds getNodeBounds(Path path); @@ -820,7 +820,7 @@ public class TreeView extends Component /** * Returns the editor used to edit nodes in this tree. * - * @return The node editor, or <tt>null</tt> if no editor is installed. + * @return The node editor, or {@code null} if no editor is installed. */ public NodeEditor getNodeEditor() { return nodeEditor; @@ -941,7 +941,7 @@ public class TreeView extends Component /** * Returns the first selected path, as it would appear in a fully expanded tree. * - * @return The first selected path, or <tt>null</tt> if nothing is selected. + * @return The first selected path, or {@code null} if nothing is selected. */ public Path getFirstSelectedPath() { return (selectedPaths.getLength() > 0 ? selectedPaths.get(0) : null); @@ -950,7 +950,7 @@ public class TreeView extends Component /** * Returns the last selected path, as it would appear in a fully expanded tree. * - * @return The last selected path, or <tt>null</tt> if nothing is selected. + * @return The last selected path, or {@code null} if nothing is selected. */ public Path getLastSelectedPath() { return (selectedPaths.getLength() > 0 ? selectedPaths.get(selectedPaths.getLength() - 1) @@ -960,7 +960,7 @@ public class TreeView extends Component /** * Returns the currently selected index, even when in multi-select mode. * - * @return The selected path, or <tt>null</tt> if nothing is selected. + * @return The selected path, or {@code null} if nothing is selected. */ public Path getSelectedPath() { return getFirstSelectedPath(); @@ -978,9 +978,9 @@ public class TreeView extends Component } /** - * @return The selected object, or <tt>null</tt> if nothing is selected. + * @return The selected object, or {@code null} if nothing is selected. * Note that technically, the selected path could be backed by a - * <tt>null</tt> data value. If the caller wishes to distinguish between + * {@code null} data value. If the caller wishes to distinguish between * these cases, they can use <tt>getSelectedPath()</tt> instead. */ public Object getSelectedNode() { @@ -998,8 +998,8 @@ public class TreeView extends Component * Adds a path to the selection. * * @param path The path to the node to be added to the selection. - * @return <tt>true</tt> if the path was added to the selection; - * <tt>false</tt>, otherwise. + * @return {@code true} if the path was added to the selection; + * {@code false}, otherwise. * @throws IllegalStateException If multi-select is not enabled. */ public boolean addSelectedPath(Path path) { @@ -1029,8 +1029,8 @@ public class TreeView extends Component * Removes a path from the selection. * * @param path Path to the node to be removed from the selection. - * @return <tt>true</tt> if the path was removed from the selection; - * <tt>false</tt>, otherwise. + * @return {@code true} if the path was removed from the selection; + * {@code false}, otherwise. * @throws IllegalStateException If multi-select is not enabled. */ public boolean removeSelectedPath(Path path) { @@ -1105,7 +1105,7 @@ public class TreeView extends Component * Returns the disabled state of a given node. * * @param path The path to the node whose disabled state is to be tested - * @return <tt>true</tt> if the node is disabled; <tt>false</tt>, otherwise + * @return {@code true} if the node is disabled; {@code false}, otherwise */ @SuppressWarnings("unchecked") public boolean isNodeDisabled(Path path) { @@ -1126,9 +1126,9 @@ public class TreeView extends Component * all nodes. Disabled nodes are not interactive to the user. Note, however, * that disabled nodes may still be expanded, selected, and checked * <i>programatically</i>. A disabled node may have enabled children. <p> If - * the disabled node filter is set to <tt>null</tt>, all nodes are enabled. + * the disabled node filter is set to {@code null}, all nodes are enabled. * - * @return The disabled node filter, or <tt>null</tt> if no disabled node + * @return The disabled node filter, or {@code null} if no disabled node * filter is set */ public Filter<?> getDisabledNodeFilter() { @@ -1140,9 +1140,9 @@ public class TreeView extends Component * nodes. Disabled nodes are not interactive to the user. Note, however, * that disabled nodes may still be expanded, selected, and checked * <i>programatically</i>. A disabled node may have enabled children. <p> If - * the disabled node filter is set to <tt>null</tt>, all nodes are enabled. + * the disabled node filter is set to {@code null}, all nodes are enabled. * - * @param disabledNodeFilter The disabled node filter, or <tt>null</tt> for + * @param disabledNodeFilter The disabled node filter, or {@code null} for * no disabled node filter */ public void setDisabledNodeFilter(Filter<?> disabledNodeFilter) { @@ -1169,8 +1169,8 @@ public class TreeView extends Component * {@link TreeViewListener#checkmarksEnabledChanged(TreeView) * checkmarksEnabledChanged} event. * - * @param checkmarksEnabled <tt>true</tt> to enable checkmarks; - * <tt>false</tt> to disable them. + * @param checkmarksEnabled {@code true} to enable checkmarks; + * {@code false} to disable them. */ public void setCheckmarksEnabled(boolean checkmarksEnabled) { if (this.checkmarksEnabled != checkmarksEnabled) { @@ -1191,8 +1191,8 @@ 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. * - * @return <tt>true</tt> if the tree view will report so-called mixed nodes - * as mixed; <tt>false</tt> if it will report them as unchecked. + * @return {@code true} if the tree view will report so-called mixed nodes + * as mixed; {@code false} if it will report them as unchecked. * @see NodeCheckState#MIXED */ public boolean getShowMixedCheckmarkState() { @@ -1211,8 +1211,8 @@ public class TreeView extends Component * {@link TreeViewListener#showMixedCheckmarkStateChanged(TreeView) * showMixedCheckmarkStateChanged} event. * - * @param showMixedCheckmarkState <tt>true</tt> to show the derived mixed - * state; <tt>false</tt> to report so-called "mixed" nodes as unchecked. + * @param showMixedCheckmarkState {@code true} to show the derived mixed + * state; {@code false} to report so-called "mixed" nodes as unchecked. * @see NodeCheckState#MIXED */ public void setShowMixedCheckmarkState(boolean showMixedCheckmarkState) { @@ -1227,11 +1227,11 @@ public class TreeView extends Component /** * Tells whether or not the node at the specified path is checked. If - * checkmarks are not enabled, this is guaranteed to be <tt>false</tt>. So + * checkmarks are not enabled, this is guaranteed to be {@code false}. So * called mixed nodes will always be reported as unchecked in this method. * * @param path The path to the node. - * @return <tt>true</tt> if the node is explicitly checked; <tt>false</tt> + * @return {@code true} if the node is explicitly checked; {@code false} * otherwise. * @see #getCheckmarksEnabled() */ @@ -1289,7 +1289,7 @@ public class TreeView extends Component * checked, but one or more of its descendants are." * * @param path The path to the node. - * @param checked <tt>true</tt> to check the node; <tt>false</tt> to uncheck it. + * @param checked {@code true} to check the node; {@code false} to uncheck it. * @throws IllegalStateException If checkmarks are not enabled (see * {@link #getCheckmarksEnabled()}). * @see NodeCheckState#MIXED @@ -1364,7 +1364,7 @@ public class TreeView extends Component * this will still only return the nodes that are fully checked. * * @return The paths to the checked nodes in the tree, guaranteed to be - * non-<tt>null</tt>. + * non-{@code null}. */ public Sequence<Path> getCheckedPaths() { return new ImmutableList<>(checkedPaths); @@ -1374,12 +1374,12 @@ public class TreeView 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; nodes 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 * relavent 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() { @@ -1390,13 +1390,13 @@ public class TreeView 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; nodes 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; @@ -1414,7 +1414,7 @@ public class TreeView extends Component * for any reason. If the vote passes, then the state is changed. * * @param path The path to the branch node. - * @param expanded <tt>true</tt> to expand the branch; <tt>false</tt> to + * @param expanded {@code true} to expand the branch; {@code false} to * collapse it. */ public void setBranchExpanded(Path path, boolean expanded) { @@ -1450,7 +1450,7 @@ public class TreeView extends Component * Tells whether or not the specified branch is expanded. * * @param path The path to the branch node. - * @return <tt>true</tt> if the branch is expanded; <tt>false</tt> otherwise. + * @return {@code true} if the branch is expanded; {@code false} otherwise. */ public boolean isBranchExpanded(Path path) { checkNullOrEmpty(path); @@ -1538,8 +1538,8 @@ public class TreeView extends Component * node along the specified path. * * @param path A path leading to a nested branch node. - * @param includeSelf If <tt>true</tt> then include the last path element (if - * it is a branch), or <tt>false</tt> to just iterate to the parent branch in + * @param includeSelf If {@code true} then include the last path element (if + * it is a branch), or {@code false} to just iterate to the parent branch in * the path. * @throws IndexOutOfBoundsException If a path element is out of bounds. * @throws IllegalArgumentException If the path contains any leaf nodes. @@ -1580,7 +1580,7 @@ public class TreeView extends Component * to the tree view). * * @param y The y-coordinate in pixels. - * @return The path to the node, or <tt>null</tt> if there is no node being + * @return The path to the node, or {@code null} if there is no node being * painted at the specified y-coordinate. */ public Path getNodeAt(int y) { @@ -1594,7 +1594,7 @@ public class TreeView extends Component * pixel value of a node's indent, use {@link #getNodeIndent(int)}. * * @param path The path to the node. - * @return The bounds, or <tt>null</tt> if the node is not currently visible. + * @return The bounds, or {@code null} if the node is not currently visible. */ public Bounds getNodeBounds(Path path) { checkNullOrEmpty(path); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java Thu Dec 31 00:01:39 2020 @@ -232,7 +232,7 @@ public class VFSBrowser extends Containe * Adds a file to the file selection. * * @param file The new file to be selected. - * @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 FileSystemException if there are any problems. */ @@ -261,7 +261,7 @@ public class VFSBrowser extends Containe * Removes a file from the file selection. * * @param file The file to be unselected. - * @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. */ public boolean removeSelectedFile(FileObject file) { @@ -389,8 +389,8 @@ public class VFSBrowser extends Containe /** * 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) { @@ -406,7 +406,7 @@ public class VFSBrowser extends Containe /** * 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<FileObject> getDisabledFileFilter() { return disabledFileFilter; @@ -415,7 +415,7 @@ public class VFSBrowser extends Containe /** * 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<FileObject> disabledFileFilter) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java Thu Dec 31 00:01:39 2020 @@ -99,7 +99,7 @@ public class VFSBrowserSheet extends She * constructor must be used when a custom root folder has to be set. * * @param manager The VFS FileSystemManager that we will be browsing. If - * <tt>null</tt> the default (local) will be used. + * {@code null} the default (local) will be used. * @param mode The mode for opening the sheet. * @param rootFolder The root folder full name. * @throws FileSystemException if there are any problems. @@ -116,7 +116,7 @@ public class VFSBrowserSheet extends She * custom home folder has to be set. * * @param manager The VFS FileSystemManager that we will be browsing. - * If <tt>null</tt> the default (local) will be used. + * If {@code null} the default (local) will be used. * @param mode The mode for opening the sheet. * @param rootFolder The root folder full name. * @param homeFolder The default for the "home" folder (full name). @@ -146,7 +146,7 @@ public class VFSBrowserSheet extends She * custom home folder has to be set. * * @param manager The VFS FileSystemManager that we will be browsing. - * If <tt>null</tt> the default (local) will be used. + * If {@code null} the default (local) will be used. * @param mode The mode for opening the sheet. * @param rootFolder The root folder object. * @param homeFolder The default for the "home" folder. 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -126,8 +126,8 @@ public abstract class Viewport extends C * enables skins to optimize viewport scrolling by blitting the display to * reduce the required repaint area. * - * @return <tt>true</tt> if this viewport will consume repaints that bubble - * up through it; <tt>false</tt> if it will propagate them up like normal. + * @return {@code true} if this viewport will consume repaints that bubble + * up through it; {@code false} if it will propagate them up like normal. */ public boolean isConsumeRepaint() { return consumeRepaint; @@ -139,8 +139,8 @@ public abstract class Viewport extends C * enables skins to optimize viewport scrolling by blitting the display to * reduce the required repaint area. * - * @param consumeRepaint <tt>true</tt> to consume repaints that bubble up - * through this viewport; <tt>false</tt> to propagate them up like normal. + * @param consumeRepaint {@code true} to consume repaints that bubble up + * through this viewport; {@code false} to propagate them up like normal. */ public void setConsumeRepaint(boolean consumeRepaint) { this.consumeRepaint = consumeRepaint; @@ -190,10 +190,10 @@ public abstract class Viewport extends C * area, default), or repaint all. <p> This is implemented as a workaround * for various painting issues on some platforms. So, if you experience * problems with the scrolled-in area not being painted properly by default, - * consider setting this property <tt>true</tt> using the + * consider setting this property {@code true} using the * {@link #setRepaintAllViewport setRepaintAllViewport} method. * - * @return <tt>false</tt> if optimized, otherwise <tt>true</tt> (repaint + * @return {@code false} if optimized, otherwise {@code true} (repaint * entire viewport) */ public boolean isRepaintAllViewport() { @@ -204,10 +204,10 @@ public abstract class Viewport extends C * Set the viewport painting mode. <p> This is implemented as a workaround * for various painting issues on some platforms. So, if you experience * problems with the scrolled-in area not being painted properly by default, - * consider setting this property <tt>true</tt> (default is <tt>false</tt>). + * consider setting this property {@code true} (default is {@code false}). * - * @param repaintAllViewport <tt>false</tt> means optimized (repaint only - * needed area, default), while <tt>true</tt> means repaint all + * @param repaintAllViewport {@code false} means optimized (repaint only + * needed area, default), while {@code true} means repaint all */ public void setRepaintAllViewport(boolean repaintAllViewport) { this.repaintAllViewport = repaintAllViewport; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/Window.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/Window.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/Window.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/Window.java Thu Dec 31 00:01:39 2020 @@ -392,8 +392,8 @@ public class Window extends Container { * window is not considered an owner of itself. * * @param window The window which could be an owned descendant of this window. - * @return <tt>true</tt> if this window is an owning ancestor of the given - * window; <tt>false</tt>, otherwise. + * @return {@code true} if this window is an owning ancestor of the given + * window; {@code false}, otherwise. */ public boolean isOwner(Window window) { Utils.checkNull(window, "window"); @@ -410,7 +410,7 @@ public class Window extends Container { /** * Returns this window's open state. * - * @return <tt>true</tt> if the window is open; <tt>false</tt>, otherwise. + * @return {@code true} if the window is open; {@code false}, otherwise. */ public boolean isOpen() { return (getParent() != null); @@ -419,7 +419,7 @@ public class Window extends Container { /** * Returns this window's opening state. * - * @return <tt>true</tt> if the window is opening; <tt>false</tt>, + * @return {@code true} if the window is opening; {@code false}, * otherwise. */ public boolean isOpening() { @@ -453,7 +453,7 @@ public class Window extends Container { * schedules an event to open the window. * * @param display The display on which the window will be opened. - * @param ownerArgument The window's owner, or <tt>null</tt> if the window + * @param ownerArgument The window's owner, or {@code null} if the window * has no owner. */ public void open(Display display, Window ownerArgument) { @@ -513,7 +513,7 @@ public class Window extends Container { /** * Returns this window's closed state. * - * @return <tt>true</tt> if the window is closed; <tt>false</tt>, otherwise. + * @return {@code true} if the window is closed; {@code false}, otherwise. */ public boolean isClosed() { return !isOpen(); @@ -522,7 +522,7 @@ public class Window extends Container { /** * Returns this window's closing state. * - * @return <tt>true</tt> if the window is closing; <tt>false</tt>, + * @return {@code true} if the window is closing; {@code false}, * otherwise. */ public boolean isClosing() { @@ -588,7 +588,7 @@ public class Window extends Container { /** * Returns the window'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; @@ -597,7 +597,7 @@ public class Window extends Container { /** * Sets the window'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; @@ -680,7 +680,7 @@ public class Window extends Container { /** * Returns the window's active state. * - * @return <tt>true</tt> if the window is active; <tt>false</tt>; otherwise. + * @return {@code true} if the window is active; {@code false}; otherwise. */ public boolean isActive() { return (activeWindow == this); @@ -689,7 +689,7 @@ public class Window extends Container { /** * Requests that this window become the active window. * - * @return <tt>true</tt> if the window became active; <tt>false</tt>, + * @return {@code true} if the window became active; {@code false}, * otherwise. */ public boolean requestActive() { @@ -713,7 +713,7 @@ public class Window extends Container { /** * Returns the currently active window. * - * @return The window that is currently active, or <tt>null</tt> if no + * @return The window that is currently active, or {@code null} if no * window is active. */ public static Window getActiveWindow() { @@ -724,7 +724,7 @@ public class Window extends Container { * Sets the active window. The window must be activatable, open, and * enabled. If the window is not currently visible, it will be made visible. * - * @param activeWindow The window to activate, or <tt>null</tt> to clear the + * @param activeWindow The window to activate, or {@code null} to clear the * active window. */ private static void setActiveWindow(Window activeWindow) { 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=1884977&r1=1884976&r2=1884977&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 00:01:39 2020 @@ -159,7 +159,7 @@ public class CalendarDateSpinnerData ext /** * Gets the comparator for this list, which is guaranteed to always be - * <tt>null</tt>. The generated data is inherently in date order, thus + * {@code null}. The generated data is inherently in date order, thus * sorting doesn't make sense. */ @Override Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewItemRenderer.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewItemRenderer.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewItemRenderer.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewItemRenderer.java Thu Dec 31 00:01:39 2020 @@ -157,7 +157,7 @@ public class ListViewItemRenderer extend /** * Gets the bounds of the text that is rendered by this renderer. * - * @return The bounds of the rendered text, or <tt>null</tt> if this + * @return The bounds of the rendered text, or {@code null} if this * renderer did not render any text. */ public Bounds getTextBounds() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowComparator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowComparator.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowComparator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowComparator.java Thu Dec 31 00:01:39 2020 @@ -41,8 +41,8 @@ public class TableViewRowComparator impl * {@link Comparable}, the {@link Comparable#compareTo(Object)} method will * be used to compare the values. Otherwise, the values will be compared as * strings using {@link Object#toString()}. If either value is - * <tt>null</tt>, it will be considered as less than the other value. If - * both values are <tt>null</tt>, they will be considered equal. + * {@code null}, it will be considered as less than the other value. If + * both values are {@code null}, they will be considered equal. */ @Override @SuppressWarnings("unchecked") Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TableViewRowEditor.java Thu Dec 31 00:01:39 2020 @@ -295,7 +295,7 @@ public class TableViewRowEditor extends /** * Returns the effect that is applied when the editor opens or closes. * - * @return The edit effect, or <tt>null</tt> for no effect. + * @return The edit effect, or {@code null} for no effect. */ public CardPaneSkin.SelectionChangeEffect getEditEffect() { return (CardPaneSkin.SelectionChangeEffect) cardPane.getStyles().get( @@ -305,7 +305,7 @@ public class TableViewRowEditor extends /** * Sets the effect that is applied when the editor opens or closes. * - * @param editEffect The edit effect, or <tt>null</tt> for no effect. + * @param editEffect The edit effect, or {@code null} for no effect. */ public void setEditEffect(CardPaneSkin.SelectionChangeEffect editEffect) { cardPane.getStyles().put(Style.selectionChangeEffect, editEffect); Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TreeViewNodeRenderer.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TreeViewNodeRenderer.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TreeViewNodeRenderer.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/content/TreeViewNodeRenderer.java Thu Dec 31 00:01:39 2020 @@ -184,7 +184,7 @@ public class TreeViewNodeRenderer extend /** * Gets the bounds of the text that is rendered by this renderer. * - * @return The bounds of the rendered text, or <tt>null</tt> if this + * @return The bounds of the rendered text, or {@code null} if this * renderer did not render any text. */ public Bounds getTextBounds() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/Transition.java Thu Dec 31 00:01:39 2020 @@ -75,8 +75,8 @@ public abstract class Transition { * * @param duration Transition duration, in milliseconds. * @param rate Transition rate, in frames per second. - * @param repeating <tt>true</tt> if the transition should repeat; - * <tt>false</tt>, otherwise. + * @param repeating {@code true} if the transition should repeat; + * {@code false}, otherwise. */ public Transition(int duration, int rate, boolean repeating) { this(duration, rate, repeating, false); @@ -90,10 +90,10 @@ public abstract class Transition { * * @param duration Transition duration, in milliseconds. * @param rate Transition rate, in frames per second. - * @param repeating <tt>true</tt> if the transition should repeat; - * <tt>false</tt>, otherwise. - * @param reversed <tt>true</tt> if the transition should run in reverse; - * <tt>false</tt> otherwise. + * @param repeating {@code true} if the transition should repeat; + * {@code false}, otherwise. + * @param reversed {@code true} if the transition should run in reverse; + * {@code false} otherwise. */ public Transition(int duration, int rate, boolean repeating, boolean reversed) { Utils.checkNonNegative(duration, "duration"); @@ -243,8 +243,8 @@ public abstract class Transition { /** * Tells whether or not the transition is currently running. * - * @return <tt>true</tt> if the transition is currently running; - * <tt>false</tt> if it is not + * @return {@code true} if the transition is currently running; + * {@code false} if it is not */ public boolean isRunning() { return (transitionCallback != null); @@ -266,7 +266,7 @@ public abstract class Transition { * notified when the transition completes. * * @param transitionListenerArgument The listener to get notified when the - * transition completes, or <tt>null</tt> if no notification is necessary + * transition completes, or {@code null} if no notification is necessary */ public void start(TransitionListener transitionListenerArgument) { if (transitionCallback != null) { @@ -322,7 +322,7 @@ public abstract class Transition { /** * Tests whether the transition is reversed. * - * @return <tt>true</tt> if the transition is reversed; <tt>false</tt>, + * @return {@code true} if the transition is reversed; {@code false}, * otherwise. */ public boolean isReversed() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/CardPaneSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/CardPaneSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/CardPaneSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/CardPaneSkin.java Thu Dec 31 00:01:39 2020 @@ -610,16 +610,16 @@ public class CardPaneSkin extends Contai * Returns the circular style, which controls the direction of certain * transitions (transitions for which a direction makes sense) when looping * from the first index of a card pane to the last, or vice versa. When this - * style is <tt>false</tt> (the default), directional transitions will + * style is {@code false} (the default), directional transitions will * always appear to move forward when transitioning from a lower card index - * to a higher card index, and vice versa. When this style is <tt>true</tt>, + * to a higher card index, and vice versa. When this style is {@code true}, * directional transitions will appear to move forward when transitioning * from the last card to the first, and backward when they transition from * the first card to the last. <p> Note: to avoid ambiguity, the circular * style will be ignored if the card pane has fewer than three cards. * - * @return <tt>true</tt> if directional transitions will be circular; - * <tt>false</tt> otherwise + * @return {@code true} if directional transitions will be circular; + * {@code false} otherwise */ public boolean isCircular() { return circular; @@ -629,16 +629,16 @@ public class CardPaneSkin extends Contai * Sets the circular style, which controls the direction of certain * transitions (transitions for which a direction makes sense) when looping * from the first index of a card pane to the last, or vice versa. When this - * style is <tt>false</tt> (the default), directional transitions will + * style is {@code false} (the default), directional transitions will * always appear to move forward when transitioning from a lower card index - * to a higher card index, and vice versa. When this style is <tt>true</tt>, + * to a higher card index, and vice versa. When this style is {@code true}, * directional transitions will appear to move forward when transitioning * from the last card to the first, and backward when they transition from * the first card to the last. <p> Note: to avoid ambiguity, the circular * style will be ignored if the card pane has fewer than three cards. * - * @param circular <tt>true</tt> if directional transitions should be - * circular; <tt>false</tt> otherwise + * @param circular {@code true} if directional transitions should be + * circular; {@code false} otherwise */ public void setCircular(final boolean circular) { this.circular = circular; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ComponentSkin.java Thu Dec 31 00:01:39 2020 @@ -403,7 +403,7 @@ public abstract class ComponentSkin impl * 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. * @see FontUtilities#decodeFont(String) */ Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ContainerSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ContainerSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ContainerSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ContainerSkin.java Thu Dec 31 00:01:39 2020 @@ -155,7 +155,7 @@ public abstract class ContainerSkin exte } /** - * @return <tt>false</tt>; by default, containers are not focusable. + * @return {@code false}; by default, containers are not focusable. */ @Override public boolean isFocusable() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ImageViewSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ImageViewSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ImageViewSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/ImageViewSkin.java Thu Dec 31 00:01:39 2020 @@ -254,7 +254,7 @@ public class ImageViewSkin extends Compo } /** - * @return <tt>false</tt>; image views are not focusable. + * @return {@code false}; image views are not focusable. */ @Override public final boolean isFocusable() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.java Thu Dec 31 00:01:39 2020 @@ -424,7 +424,7 @@ public class LabelSkin extends Component } /** - * @return <tt>false</tt>; labels are not focusable. + * @return {@code false}; labels are not focusable. */ @Override public boolean isFocusable() { @@ -550,7 +550,7 @@ public class LabelSkin extends Component * Sets the background color of the label. * * @param backgroundColor The new background color for the label - * (can be <tt>null</tt> to let the parent background show through). + * (can be {@code null} to let the parent background show through). */ public void setBackgroundColor(final Color backgroundColor) { this.backgroundColor = backgroundColor; Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/MovieViewSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/MovieViewSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/MovieViewSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/MovieViewSkin.java Thu Dec 31 00:01:39 2020 @@ -160,7 +160,7 @@ public class MovieViewSkin extends Compo } /** - * @return <tt>false</tt>; movie views are not focusable. + * @return {@code false}; movie views are not focusable. */ @Override public final boolean isFocusable() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/SeparatorSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/SeparatorSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/SeparatorSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/SeparatorSkin.java Thu Dec 31 00:01:39 2020 @@ -156,7 +156,7 @@ public class SeparatorSkin extends Compo } /** - * @return <tt>false</tt>; spacers are not focusable. + * @return {@code false}; spacers are not focusable. */ @Override public boolean isFocusable() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TablePaneSkin.java Thu Dec 31 00:01:39 2020 @@ -1009,7 +1009,7 @@ public class TablePaneSkin extends Conta * components within them or spanning them. * * @return A grid of booleans, where occupied cells are denoted by - * <tt>true</tt>, and vacant cells are denoted by <tt>false</tt> + * {@code true}, and vacant cells are denoted by {@code false} */ private boolean[][] getOccupiedCells() { TablePane tablePane = (TablePane) getComponent(); @@ -1086,7 +1086,7 @@ public class TablePaneSkin extends Conta * the cell. * * @param columnIndex The index of the column within the table pane - * @return <tt>true</tt> if the column is visible; <tt>false</tt> otherwise + * @return {@code true} if the column is visible; {@code false} otherwise */ private boolean isColumnVisible(int columnIndex) { boolean visible = false; @@ -1148,7 +1148,7 @@ public class TablePaneSkin extends Conta * the cell. * * @param rowIndex The index of the row within the table pane - * @return <tt>true</tt> if the row is visible; <tt>false</tt> otherwise + * @return {@code true} if the row is visible; {@code false} otherwise */ private boolean isRowVisible(int rowIndex) { boolean visible = false; @@ -1332,7 +1332,7 @@ public class TablePaneSkin extends Conta * @param height The height constraint of the table pane * @param columnWidthsArgument The widths of the table pane's columns, which * will be used as width constraints to the row heights when necessary, or - * <tt>null</tt> if the column widths are not yet known (the row heights + * {@code null} if the column widths are not yet known (the row heights * will be unconstrained) * @return An array containing the height of each row in the table pane given * the specified constraints Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextAreaSkin.java Thu Dec 31 00:01:39 2020 @@ -754,9 +754,9 @@ public class TextAreaSkin extends Compon * Gets current value of style that determines the behavior of <tt>TAB</tt> * and <tt>Ctrl-TAB</tt> characters. * - * @return <tt>true</tt> if <tt>TAB</tt> inserts an appropriate number of + * @return {@code true} if <tt>TAB</tt> inserts an appropriate number of * spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * <tt>false</tt> (default) means <tt>TAB</tt> shifts focus and + * {@code false} (default) means <tt>TAB</tt> shifts focus and * <tt>Ctrl-TAB</tt> inserts spaces. */ public final boolean getAcceptsTab() { @@ -767,9 +767,9 @@ public class TextAreaSkin extends Compon * Sets current value of style that determines the behavior of <tt>TAB</tt> * and <tt>Ctrl-TAB</tt> characters. * - * @param acceptsTab <tt>true</tt> if <tt>TAB</tt> inserts an appropriate + * @param acceptsTab {@code true} if <tt>TAB</tt> inserts an appropriate * number of spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * <tt>false</tt> (default) means <tt>TAB</tt> shifts focus and + * {@code false} (default) means <tt>TAB</tt> shifts focus and * <tt>Ctrl-TAB</tt> inserts spaces. */ public final void setAcceptsTab(final boolean acceptsTab) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkin.java Thu Dec 31 00:01:39 2020 @@ -554,9 +554,9 @@ org.apache.pivot.util.Console.getDefault * Gets current value of style that determines the behavior of <tt>TAB</tt> * and <tt>Ctrl-TAB</tt> characters. * - * @return <tt>true</tt> if <tt>TAB</tt> inserts an appropriate number of + * @return {@code true} if <tt>TAB</tt> inserts an appropriate number of * spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * <tt>false</tt> (default) means <tt>TAB</tt> shifts focus and + * {@code false} (default) means <tt>TAB</tt> shifts focus and * <tt>Ctrl-TAB</tt> inserts spaces. */ public boolean getAcceptsTab() { @@ -567,9 +567,9 @@ org.apache.pivot.util.Console.getDefault * Sets current value of style that determines the behavior of <tt>TAB</tt> * and <tt>Ctrl-TAB</tt> characters. * - * @param acceptsTab <tt>true</tt> if <tt>TAB</tt> inserts an appropriate + * @param acceptsTab {@code true} if <tt>TAB</tt> inserts an appropriate * number of spaces, while <tt>Ctrl-TAB</tt> shifts focus to next component. - * <tt>false</tt> (default) means <tt>TAB</tt> shifts focus and + * {@code false} (default) means <tt>TAB</tt> shifts focus and * <tt>Ctrl-TAB</tt> inserts spaces. */ public void setAcceptsTab(final boolean acceptsTab) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Element.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Element.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Element.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Element.java Thu Dec 31 00:01:39 2020 @@ -570,7 +570,7 @@ public abstract class Element extends No } /** - * @return The current foreground color, or <tt>null</tt> if no color is + * @return The current foreground color, or {@code null} if no color is * foreground. */ public final Color getForegroundColor() { @@ -580,7 +580,7 @@ public abstract class Element extends No /** * Sets the current foreground color. * - * @param foregroundColor The foreground color, or <tt>null</tt> to specify + * @param foregroundColor The foreground color, or {@code null} to specify * no selection. */ public final void setForegroundColor(final Color foregroundColor) { @@ -602,7 +602,7 @@ public abstract class Element extends No } /** - * @return The current background color, or <tt>null</tt> if no color is + * @return The current background color, or {@code null} if no color is * background. */ public final Color getBackgroundColor() { @@ -612,7 +612,7 @@ public abstract class Element extends No /** * Sets the current background color. * - * @param backgroundColor The background color, or <tt>null</tt> to specify + * @param backgroundColor The background color, or {@code null} to specify * no selection. */ public final void setBackgroundColor(final Color backgroundColor) { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/text/Node.java Thu Dec 31 00:01:39 2020 @@ -33,7 +33,7 @@ public abstract class Node { /** * Returns the parent element of this node. * - * @return The node's parent, or <tt>null</tt> if the node does not have a + * @return The node's parent, or {@code null} if the node does not have a * parent. */ public Element getParent() { Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/Validator.java URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/Validator.java?rev=1884977&r1=1884976&r2=1884977&view=diff ============================================================================== --- pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/Validator.java (original) +++ pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/Validator.java Thu Dec 31 00:01:39 2020 @@ -25,7 +25,7 @@ public interface Validator { * Determines if a text value is valid based on the rules of the validator. * * @param text The text to test. - * @return <tt>true</tt> if the value is valid; <tt>false</tt>, otherwise. + * @return {@code true} if the value is valid; {@code false}, otherwise. */ boolean isValid(String text); }