< prev index next >
src/java.desktop/share/classes/javax/swing/text/html/NoFramesView.java
Print this page
@@ -138,12 +138,12 @@
/**
* Determines the minimum span for this view along an
* axis. Returns 0 if the view is not visible, otherwise
* it calls the superclass method to get the minimum span.
*
- * @param axis may be either <code>View.X_AXIS</code> or
- * <code>View.Y_AXIS</code>
+ * @param axis may be either {@code View.X_AXIS} or
+ * {@code View.Y_AXIS}
* @return the minimum span the view can be rendered into
* @see text.ParagraphView#getMinimumSpan
*/
public float getMinimumSpan(int axis) {
if (!visible) {
@@ -155,12 +155,12 @@
/**
* Determines the maximum span for this view along an
* axis. Returns 0 if the view is not visible, otherwise
* it calls the superclass method ot get the maximum span.
*
- * @param axis may be either <code>View.X_AXIS</code> or
- * <code>View.Y_AXIS</code>
+ * @param axis may be either {@code View.X_AXIS} or
+ * {@code View.Y_AXIS}
* @return the maximum span the view can be rendered into
* @see text.ParagraphView#getMaximumSpan
*/
public float getMaximumSpan(int axis) {
if (!visible) {
< prev index next >