Searched defs:rowHeight (Results 1 - 9 of 9) sorted by relevance

/openjdk7/hotspot/agent/src/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();
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextArea.java554 if (rowHeight == 0) {
556 rowHeight = metrics.getHeight();
558 return rowHeight;
642 rowHeight = 0;
666 ",rowHeight=" + rowHeight +
811 private int rowHeight; field in class:JTextArea
H A DJTree.java179 protected int rowHeight; field in class:JTree
466 /** Bound property name for <code>rowHeight</code>. */
467 public final static String ROW_HEIGHT_PROPERTY = "rowHeight";
659 rowHeight = 16;
967 * @param rowHeight the height of each cell, in pixels
972 public void setRowHeight(int rowHeight) argument
974 int oldValue = this.rowHeight;
976 this.rowHeight = rowHeight;
978 firePropertyChange(ROW_HEIGHT_PROPERTY, oldValue, this.rowHeight);
[all...]
H A DJTable.java293 protected int rowHeight; field in class:JTable
850 if (propertyName == "rowHeight") {
915 * Sets the height, in pixels, of all cells to <code>rowHeight</code>,
920 * @param rowHeight new row height
921 * @exception IllegalArgumentException if <code>rowHeight</code> is
928 public void setRowHeight(int rowHeight) { argument
929 if (rowHeight <= 0) {
932 int old = this.rowHeight;
933 this.rowHeight = rowHeight;
975 setRowHeight(int row, int rowHeight) argument
3864 setViewRowHeight(int viewIndex, int rowHeight) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DAbstractLayoutCache.java66 protected int rowHeight; field in class:AbstractLayoutCache
139 * @param rowHeight the height of each cell, in pixels
144 public void setRowHeight(int rowHeight) { argument
145 this.rowHeight = rowHeight;
154 return rowHeight;
501 return (rowHeight > 0);
H A DFixedHeightLayoutCache.java121 * Sets the height of each cell. If rowHeight is less than or equal to
124 * @param rowHeight the height of each cell, in pixels
126 public void setRowHeight(int rowHeight) { argument
127 if(rowHeight <= 0)
129 if(getRowHeight() != rowHeight) {
130 super.setRowHeight(rowHeight);
155 // Nothing to do here, rowHeight still same, which is all
H A DVariableHeightLayoutCache.java149 * @param rowHeight the height of each cell, in pixels
154 public void setRowHeight(int rowHeight) { argument
155 if(rowHeight != getRowHeight()) {
156 super.setRowHeight(rowHeight);
/openjdk7/hotspot/agent/src/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) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTreeUI.java364 protected void setRowHeight(int rowHeight) { argument
368 treeState.setRowHeight(rowHeight);
719 LookAndFeel.installProperty(tree, "rowHeight",
720 UIManager.get("Tree.rowHeight"));
1107 int rowHeight = tree.getRowHeight();
1109 if (rowHeight > 0) {
1110 baseline = renderer.getBaseline(Integer.MAX_VALUE, rowHeight);

Completed in 75 milliseconds