Searched refs:rows (Results 1 - 25 of 58) sorted by relevance

123

/openjdk7/hotspot/test/compiler/5091921/
H A DTest6935022.java56 int rows = 1;
59 while(rows <= endingRow && next) {
60 rows++;
61 if (rows == mask)
62 System.out.println("Rows="+rows+", end="+endingRow+", next="+next);
63 next = next(rows);
67 throw new Exception("Ended on rows(no rs): " + rows);
70 private boolean next(int rows) { argument
71 return rows < 1
[all...]
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DTextAreaPeer.java64 * columns and rows.
66 * @param rows the number of rows
73 Dimension getPreferredSize(int rows, int columns); argument
77 * columns and rows.
79 * @param rows the number of rows
86 Dimension getMinimumSize(int rows, int columns); argument
H A DListPeer.java117 * Returns the preferred size for a list with the specified number of rows.
119 * @param rows the number of rows
125 Dimension getPreferredSize(int rows); argument
128 * Returns the minimum size for a list with the specified number of rows.
130 * @param rows the number of rows
136 Dimension getMinimumSize(int rows); argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWTextAreaPeer.java53 public Dimension getPreferredSize(int rows, int cols) { argument
54 return getMinimumSize(rows, cols);
56 public Dimension getMinimumSize(int rows, int cols) { argument
58 return new Dimension(fm.charWidth('0') * cols + 20, fm.getHeight() * rows + 20);
98 public Dimension minimumSize(int rows, int cols) { argument
99 return getMinimumSize(rows, cols);
105 public Dimension preferredSize(int rows, int cols) { argument
106 return getPreferredSize(rows, cols);
H A DWListPeer.java76 public Dimension getPreferredSize(int rows) { argument
77 return preferredSize(rows);
81 public Dimension getMinimumSize(int rows) { argument
82 return minimumSize(rows);
/openjdk7/jdk/src/share/classes/java/awt/
H A DTextArea.java59 * The number of rows in the <code>TextArea</code>.
67 int rows; field in class:TextArea
183 * rows and columns and the empty string as text.
189 * @param rows the number of rows
195 public TextArea(int rows, int columns) throws HeadlessException { argument
196 this("", rows, columns, SCROLLBARS_BOTH);
201 * and with the specified number of rows and columns.
210 * @param rows the number of rows
216 TextArea(String text, int rows, int columns) argument
256 TextArea(String text, int rows, int columns, int scrollbars) argument
415 setRows(int rows) argument
490 getPreferredSize(int rows, int columns) argument
499 preferredSize(int rows, int columns) argument
542 getMinimumSize(int rows, int columns) argument
551 minimumSize(int rows, int columns) argument
[all...]
H A DGridLayout.java34 * into three rows and two columns:
61 * alt="Shows 6 buttons in rows of 2. Row 1 shows buttons 1 then 2.
66 * alt="Shows 6 buttons in rows of 2. Row 1 shows buttons 2 then 1.
78 * When both the number of rows and the number of columns have
82 * columns is determined from the specified number of rows
84 * example, if three rows and two columns have been specified
86 * be displayed as three rows of three columns. Specifying
88 * number of rows is set to zero.
111 * between rows. They can be changed at any time.
120 * This is the number of rows specifie
130 int rows; field in class:GridLayout
165 GridLayout(int rows, int cols) argument
193 GridLayout(int rows, int cols, int hgap, int vgap) argument
219 setRows(int rows) argument
[all...]
H A DList.java75 * rows. Once the list has been created, the number of visible rows
77 * four rows, so that <code>lst = new List()</code> is equivalent to
121 * This field will represent the number of visible rows in the
129 int rows = 0; field in class:List
195 * <code>List(rows, false)</code>. Also note that the number
196 * of visible rows in the list cannot be changed after it has
198 * @param rows the number of items to show.
204 public List(int rows) throws HeadlessException { argument
205 this(rows, fals
232 List(int rows, boolean multipleMode) argument
758 getPreferredSize(int rows) argument
767 preferredSize(int rows) argument
808 getMinimumSize(int rows) argument
817 minimumSize(int rows) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DVariableGridLayout.java34 * the relative sizes of rows and columns.
48 int rows; field in class:VariableGridLayout
54 * Creates a grid layout with the specified rows and specified columns.
55 * @param rows the rows
58 public VariableGridLayout(int rows, int cols) { argument
59 this(rows, cols, 0, 0);
61 if (rows != 0) {
62 rowsSet = new BitSet(rows);
63 stdRowFractions(rows);
81 VariableGridLayout(int rows, int cols, int hgap, int vgap) argument
[all...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLFrameSetElement.java57 * The number of rows of frames in the frameset. See the rows attribute
61 public void setRows(String rows); argument
H A DHTMLTextAreaElement.java100 * Number of text rows. See the rows attribute definition in HTML 4.0.
103 public void setRows(int rows); argument
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTextArea.java71 * <code>java.awt.TextArea</code> has two properties <code>rows</code>
78 * a <code>JScrollPane</code>. If the value for <code>rows</code>
137 * is null, and rows/columns are set to 0.
145 * A default model is created and rows/columns are set to 0.
155 * rows and columns. A default model is created, and the initial
158 * @param rows the number of rows >= 0
160 * @exception IllegalArgumentException if the rows or columns
163 public JTextArea(int rows, int columns) { argument
164 this(null, null, rows, column
177 JTextArea(String text, int rows, int columns) argument
203 JTextArea(Document doc, String text, int rows, int columns) argument
536 setRows(int rows) argument
808 private int rows; field in class:JTextArea
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DSmartGridLayout.java43 int rows = 2; field in class:SmartGridLayout
52 rows = numRows;
63 int[] rowHeights = new int[rows];
66 for (int row = 0; row < rows; row++) {
82 for (int row = 0; row < rows; row++) {
97 for (int row = 0; row < rows; row++) {
122 for (int row = 0; row < rows; row++) {
130 height += (yGap * (rows - 1)) + insets.top + insets.bottom;
170 for (int row = 0; row < rows; row++) {
/openjdk7/jdk/src/share/classes/sun/util/
H A DPreHashedMap.java60 * constructor with an object array long enough for the map's rows. The method
88 private final int rows; field in class:PreHashedMap
98 * newly-constructed row array that is <tt>rows</tt> elements long.
100 * @param rows
101 * The number of rows in the map
109 protected PreHashedMap(int rows, int size, int shift, int mask) { argument
110 this.rows = rows;
114 this.ht = new Object[rows];
124 * @param rows
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeSelectionModel.java43 * the paths in the selection change, not the rows. In order
681 * Returns the selection in terms of rows. There is not
692 * @return the selection in terms of rows
698 int[] rows = rowMapper.getRowsForPaths(selection);
700 if (rows != null) {
703 for (int counter = rows.length - 1; counter >= 0; counter--) {
704 if (rows[counter] == -1) {
709 if (invisCount == rows.length) {
710 rows = null;
713 int[] tempRows = new int[rows
[all...]
H A DAbstractLayoutCache.java352 * Number of rows being displayed.
354 * @return the number of rows being displayed
439 * Returns the rows that the <code>TreePath</code> instances in
448 * the rows that each corresponding where each
457 int[] rows = new int[numPaths];
460 rows[counter] = getRowForPath(paths[counter]);
461 return rows;
/openjdk7/jdk/src/share/classes/com/sun/rowset/
H A DFilteredRowSetImpl.java127 for(int rows=this.getRow(); rows<=this.size();rows++) {
158 for(int rows=this.getRow(); rows>0;rows--) {
241 * Moves the cursor the specified number of rows from the current
246 * rows toward the end of the rowset, starting at the current row.
248 * <code>crs</code> is a <code>CachedRowSetImpl</code> object with 100 rows,
249 * moves the cursor forward four rows fro
293 relative(int rows) argument
380 absolute(int rows) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWTextAreaPeer.java95 public Dimension getMinimumSize(final int rows, final int columns) { argument
96 return getPreferredSize(rows, columns);
100 public Dimension getPreferredSize(final int rows, final int columns) { argument
101 final Dimension size = super.getPreferredSize(rows, columns);
H A DLWListPeer.java138 public Dimension getPreferredSize(final int rows) { argument
139 return getMinimumSize(rows);
143 public Dimension getMinimumSize(final int rows) { argument
153 (fm == null ? 10 : itemHeight) * rows + (2 * margin));
H A DLWTextComponentPeer.java98 public Dimension getPreferredSize(final int rows, final int columns) { argument
109 rows * itemHeight + borderHeight);
/openjdk7/jdk/src/share/demo/jfc/TableExample/
H A DJDBCAdapter.java66 List<List<Object>> rows = new ArrayList<List<Object>>(); field in class:JDBCAdapter
103 // Get all rows.
104 rows = new ArrayList<List<Object>>();
110 rows.add(newRow);
202 return rows.size();
206 List<Object> row = rows.get(aRow);
271 List<Object> dataRow = rows.get(row);
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djmemmgr.c158 JDIMENSION maxaccess; /* max rows accessed by access_virt_sarray */
174 JDIMENSION maxaccess; /* max rows accessed by access_virt_barray */
342 * deliberately bunch rows together to ensure a large request size.
390 * blocks, we allocate the sample rows in groups of as many rows as possible
393 * this chunking of rows. The rowsperchunk value is left in the mem manager
409 /* Calculate max # of rows allowed in one allocation chunk */
424 /* Get the rows themselves (large objects) */
457 /* Calculate max # of rows allowed in one allocation chunk */
472 /* Get the rows themselve
697 long bytesperrow, file_offset, byte_count, rows, thisrow, i; local
730 long bytesperrow, file_offset, byte_count, rows, thisrow, i; local
[all...]
/openjdk7/langtools/test/tools/javac/diags/
H A DCheckExamples.java108 List<String> rows = new ArrayList<String>(Arrays.asList(Counts.prefixes));
109 rows.add("other");
110 rows.add("total");
114 for (String p: rows) {
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/
H A DSpreadSheet.java63 int rows; field in class:SpreadSheet
84 rs = getParameter("rows");
86 rows = 9;
88 rows = Integer.parseInt(rs);
96 cells = new Cell[rows][columns];
98 for (int i = 0; i < rows; i++) {
119 (rows + 3) * cellHeight + titleHeight);
144 for (int i = 0; i < rows; i++) {
167 for (int i = 0; i < rows; i++) {
186 for (i = 0; i < rows;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DTableView.java39 * this view is responsible for represent rows and the child
57 * is a vertical box, the rows are horizontal boxes, and the cells
59 * columns and rows. By default, the table can be thought of as
79 rows = new Vector<TableRow>();
123 * The number of rows in the table.
126 return rows.size();
141 if (row < rows.size()) {
142 return rows.elementAt(row);
168 * Determines the number of rows occupied by
209 * grid so that rows an
580 Vector<TableRow> rows; field in class:TableView
[all...]

Completed in 103 milliseconds

123