--- old/jdk/src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java 2014-08-11 11:51:43.381566200 +0400
+++ new/jdk/src/share/classes/javax/swing/tree/VariableHeightLayoutCache.java 2014-08-11 11:51:42.938540900 +0400
@@ -22,11 +22,11 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-
package javax.swing.tree;
import javax.swing.event.TreeModelEvent;
import java.awt.Rectangle;
+import java.beans.BeanProperty;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.NoSuchElementException;
@@ -100,10 +100,9 @@
* Sets the TreeModel
that will provide the data.
*
* @param newModel the TreeModel
that is to provide the data
- * @beaninfo
- * bound: true
- * description: The TreeModel that will provide the data.
*/
+ @BeanProperty(description
+ = "The TreeModel that will provide the data.")
public void setModel(TreeModel newModel) {
super.setModel(newModel);
rebuild(false);
@@ -115,11 +114,9 @@
*
* @param rootVisible true if the root node of the tree is to be displayed
* @see #rootVisible
- * @beaninfo
- * bound: true
- * description: Whether or not the root node
- * from the TreeModel is visible.
*/
+ @BeanProperty(description
+ = "Whether or not the root node from the TreeModel is visible.")
public void setRootVisible(boolean rootVisible) {
if(isRootVisible() != rootVisible && root != null) {
if(rootVisible) {
@@ -148,10 +145,9 @@
* queried for each row's height.
*
* @param rowHeight the height of each cell, in pixels
- * @beaninfo
- * bound: true
- * description: The height of each cell.
*/
+ @BeanProperty(description
+ = "The height of each cell.")
public void setRowHeight(int rowHeight) {
if(rowHeight != getRowHeight()) {
super.setRowHeight(rowHeight);