Searched refs:rowHeight (Results 1 - 12 of 12) sorted by relevance

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DAbstractLayoutCache.java65 protected int rowHeight; field in class:AbstractLayoutCache
136 * @param rowHeight the height of each cell, in pixels
140 public void setRowHeight(int rowHeight) { argument
141 this.rowHeight = rowHeight;
152 return rowHeight;
504 return (rowHeight > 0);
H A DFixedHeightLayoutCache.java124 * Sets the height of each cell. If rowHeight is less than or equal to
127 * @param rowHeight the height of each cell, in pixels
129 public void setRowHeight(int rowHeight) { argument
130 if(rowHeight <= 0)
132 if(getRowHeight() != rowHeight) {
133 super.setRowHeight(rowHeight);
158 // Nothing to do here, rowHeight still same, which is all
H A DVariableHeightLayoutCache.java150 * @param rowHeight the height of each cell, in pixels
154 public void setRowHeight(int rowHeight) { argument
155 if(rowHeight != getRowHeight()) {
156 super.setRowHeight(rowHeight);
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/
H A DSourceCodePanel.java64 private int rowHeight; field in class:SourceCodePanel.RowHeader
86 int start = clip.y / rowHeight;
87 int end = start + (clip.height + (rowHeight - 1)) / rowHeight;
95 g.drawString(str, width - strWidth - LINE_NO_SPACE, ascent + rowHeight * i);
99 breakpoint.paintIcon(this, g, LINE_NO_SPACE, rowHeight * i);
105 topFrameCurLine.paintIcon(this, g, LINE_NO_SPACE, rowHeight * i);
127 rowHeight = getFontMetrics(f).getHeight();
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DTablePrintable.java412 int rowHeight = 0;
414 rowHeight += table.getRowHeight(visrow);
419 g2d.drawRect(0, 0, clip.width, hclip.height + rowHeight);
421 g2d.drawRect(0, 0, visibleBounds.width, hclip.height + rowHeight);
506 int rowHeight = table.getRowHeight(row);
508 clip.height += rowHeight;
514 rowHeight = table.getRowHeight(row);
515 } while (clip.height + rowHeight <= ph);
H A DJTextArea.java544 if (rowHeight == 0) {
546 rowHeight = metrics.getHeight();
548 return rowHeight;
632 rowHeight = 0;
656 ",rowHeight=" + rowHeight +
805 private int rowHeight; field in class:JTextArea
H A DJTree.java183 protected int rowHeight; field in class:JTree
476 /** Bound property name for <code>rowHeight</code>. */
477 public static final String ROW_HEIGHT_PROPERTY = "rowHeight";
669 rowHeight = 16;
976 * @param rowHeight the height of each cell, in pixels
980 public void setRowHeight(int rowHeight) argument
982 int oldValue = this.rowHeight;
984 this.rowHeight = rowHeight;
986 firePropertyChange(ROW_HEIGHT_PROPERTY, oldValue, this.rowHeight);
[all...]
H A DJTable.java296 protected int rowHeight; field in class:JTable
863 if (propertyName == "rowHeight") {
929 * Sets the height, in pixels, of all cells to <code>rowHeight</code>,
934 * @param rowHeight new row height
935 * @exception IllegalArgumentException if <code>rowHeight</code> is
941 public void setRowHeight(int rowHeight) { argument
942 if (rowHeight <= 0) {
945 int old = this.rowHeight;
946 this.rowHeight = rowHeight;
987 setRowHeight(int row, int rowHeight) argument
3890 setViewRowHeight(int viewIndex, int rowHeight) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/ui/treetable/
H A DJTreeTable.java180 * Overridden to pass the new rowHeight to the tree.
182 public void setRowHeight(int rowHeight) { argument
183 super.setRowHeight(rowHeight);
184 if (tree != null && tree.getRowHeight() != rowHeight) {
263 public void setRowHeight(int rowHeight) { argument
264 if (rowHeight > 0) {
265 super.setRowHeight(rowHeight);
267 JTreeTable.this.getRowHeight() != rowHeight) {
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthTableUI.java168 Object rowHeight = style.get(context, "Table.rowHeight");
169 if (rowHeight != null) {
170 LookAndFeel.installProperty(table, "rowHeight", rowHeight);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java537 int rowHeight = list.getFixedCellHeight();
557 // If rowHeight != -1 the rowHeight is either the max of all cell
563 if (rowHeight == -1) {
564 rowHeight = renderer.getPreferredSize().height;
566 return renderer.getBaseline(Integer.MAX_VALUE, rowHeight) +
H A DBasicTreeUI.java435 * @param rowHeight the row height
437 protected void setRowHeight(int rowHeight) { argument
441 treeState.setRowHeight(rowHeight);
846 LookAndFeel.installProperty(tree, "rowHeight",
847 UIManager.get("Tree.rowHeight"));
1285 int rowHeight = tree.getRowHeight();
1287 if (rowHeight > 0) {
1288 baseline = renderer.getBaseline(Integer.MAX_VALUE, rowHeight);

Completed in 118 milliseconds