示例#1
0
  /**
   * Overridden to pass the new rowHeight to the tree.
   *
   * @param rowHeight the new height of the row
   */
  public void setRowHeight(int rowHeight) {
    super.setRowHeight(rowHeight);

    if ((tree != null) && (tree.getRowHeight() != rowHeight)) {
      tree.setRowHeight(getRowHeight());
    }
  }
示例#2
0
 /** Overridden to pass the new rowHeight to the tree. */
 @Override
 public final void setRowHeight(int newRowHeight) {
   super.setRowHeight(newRowHeight);
   if (tree != null && tree.getRowHeight() != newRowHeight) {
     tree.setRowHeight(getRowHeight());
   }
 }