< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSliderUI.java
Print this page
@@ -1683,11 +1683,11 @@
return yPositionForValue(value, trackRect.y, trackRect.height);
}
/**
* Returns the y location for the specified value. No checking is
- * done on the arguments. In particular if <code>trackHeight</code> is
+ * done on the arguments. In particular if {@code trackHeight} is
* negative undefined results may occur.
*
* @param value the slider value to get the location for
* @param trackY y-origin of the track
* @param trackHeight the height of the track
@@ -1851,11 +1851,11 @@
/////////////////////////////////////////////////////////////////////////
/**
* Data model listener.
*
* This class should be treated as a "protected" inner class.
- * Instantiate it only within subclasses of <code>Foo</code>.
+ * Instantiate it only within subclasses of {@code Foo}.
*/
public class ChangeHandler implements ChangeListener {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
@@ -1870,11 +1870,11 @@
/////////////////////////////////////////////////////////////////////////
/**
* Track mouse movements.
*
* This class should be treated as a "protected" inner class.
- * Instantiate it only within subclasses of <code>Foo</code>.
+ * Instantiate it only within subclasses of {@code Foo}.
*/
public class TrackListener extends MouseInputAdapter {
/** The offset */
protected transient int offset;
/** Current mouse x. */
@@ -2127,11 +2127,11 @@
/**
* Scroll-event listener.
*
* This class should be treated as a "protected" inner class.
- * Instantiate it only within subclasses of <code>Foo</code>.
+ * Instantiate it only within subclasses of {@code Foo}.
*/
public class ScrollListener implements ActionListener {
// changed this class to public to avoid bogus IllegalAccessException
// bug in InternetExplorer browser. It was protected. Work around
// for 4109432
@@ -2188,11 +2188,11 @@
/**
* Listener for resizing events.
* <p>
* This class should be treated as a "protected" inner class.
- * Instantiate it only within subclasses of <code>Foo</code>.
+ * Instantiate it only within subclasses of {@code Foo}.
*/
public class ComponentHandler extends ComponentAdapter {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
@@ -2204,11 +2204,11 @@
/**
* Focus-change listener.
* <p>
* This class should be treated as a "protected" inner class.
- * Instantiate it only within subclasses of <code>Foo</code>.
+ * Instantiate it only within subclasses of {@code Foo}.
*/
public class FocusHandler implements FocusListener {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
@@ -2223,19 +2223,19 @@
}
/**
* As of Java 2 platform v1.3 this undocumented class is no longer used.
* The recommended approach to creating bindings is to use a
- * combination of an <code>ActionMap</code>, to contain the action,
- * and an <code>InputMap</code> to contain the mapping from KeyStroke
+ * combination of an {@code ActionMap}, to contain the action,
+ * and an {@code InputMap} to contain the mapping from KeyStroke
* to action description. The InputMap is usually described in the
* LookAndFeel tables.
* <p>
* Please refer to the key bindings specification for further details.
* <p>
* This class should be treated as a "protected" inner class.
- * Instantiate it only within subclasses of <code>Foo</code>.
+ * Instantiate it only within subclasses of {@code Foo}.
*/
@SuppressWarnings("serial") // Superclass is not serializable across versions
public class ActionScroller extends AbstractAction {
// NOTE: This class exists only for backward compatibility. All
// its functionality has been moved into Actions. If you need to add
< prev index next >