< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicSplitPaneUI.java
Print this page
@@ -713,13 +713,13 @@
// its functionality has been moved into Handler. If you need to add
// new functionality add it to the Handler, but make sure this
// class calls into the Handler.
/**
- * Messaged from the <code>JSplitPane</code> the receiver is
+ * Messaged from the {@code JSplitPane} the receiver is
* contained in. May potentially reset the layout manager and cause a
- * <code>validate</code> to be sent.
+ * {@code validate} to be sent.
*/
public void propertyChange(PropertyChangeEvent e) {
getHandler().propertyChange(e);
}
}
@@ -1804,11 +1804,11 @@
return size.width;
}
/**
* Returns a particular value of the inset identified by the
- * axis and <code>isTop</code><p>
+ * axis and {@code isTop}<p>
* axis isTop
* 0 true - left
* 0 false - right
* 1 true - top
* 1 false - bottom
@@ -1826,11 +1826,11 @@
return insets.bottom;
}
/**
* Returns a particular value of the inset identified by the
- * axis and <code>isTop</code><p>
+ * axis and {@code isTop}<p>
* axis isTop
* 0 true - left
* 0 false - right
* 1 true - top
* 1 false - bottom
@@ -1900,11 +1900,11 @@
sizes[2] = getSizeForPrimaryAxis(components[2].getPreferredSize());
}
}
/**
- * Resets the size of the first component to <code>leftSize</code>,
+ * Resets the size of the first component to {@code leftSize},
* and the right component to the remainder of the space.
*/
void setDividerLocation(int leftSize, int availableSize) {
boolean lValid = (components[0] != null &&
components[0].isVisible());
@@ -2001,11 +2001,11 @@
setSizes(testSizes);
distributeSpace(availableSize - totalSize, false);
}
/**
- * Distributes <code>space</code> between the two components
+ * Distributes {@code space} between the two components
* (divider won't get any extra space) based on the weighting. This
* attempts to honor the min size of the components.
*
* @param keepHidden if true and one of the components is 0x0
* it gets none of the extra space
@@ -2117,13 +2117,13 @@
private class Handler implements FocusListener, PropertyChangeListener {
//
// PropertyChangeListener
//
/**
- * Messaged from the <code>JSplitPane</code> the receiver is
+ * Messaged from the {@code JSplitPane} the receiver is
* contained in. May potentially reset the layout manager and cause a
- * <code>validate</code> to be sent.
+ * {@code validate} to be sent.
*/
public void propertyChange(PropertyChangeEvent e) {
if(e.getSource() == splitPane) {
String changeName = e.getPropertyName();
< prev index next >