Searched refs:columns (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DTextFieldPeer.java52 * of columns.
54 * @param columns the number of columns
60 Dimension getPreferredSize(int columns); argument
64 * of columns.
66 * @param columns the number of columns
72 Dimension getMinimumSize(int columns); argument
H A DTextAreaPeer.java64 * columns and rows.
67 * @param columns the number of columns
73 Dimension getPreferredSize(int rows, int columns); argument
77 * columns and rows.
80 * @param columns the number of columns
86 Dimension getMinimumSize(int rows, int columns); argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/
H A DTableModelComparator.java40 private int[] columns; field in class:TableModelComparator
46 columns = new int[model.getColumnCount()];
47 columns[0] = -1;
54 // Shift columns in the array
56 System.arraycopy(columns, 1, tempArray, 0, columns.length - 1);
58 columns = tempArray;
59 columns[0] = column;
66 return columns[0];
82 for (int i = 0; i < columns
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DTextArea.java70 * The number of columns in the <code>TextArea</code>.
80 int columns; field in class:TextArea
183 * rows and columns and the empty string as text.
190 * @param columns the number of columns
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.
211 * @param columns the number of columns
216 TextArea(String text, int rows, int columns) argument
256 TextArea(String text, int rows, int columns, int scrollbars) argument
446 setColumns(int columns) 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 DTextField.java53 * // blank field of 20 columns
57 * // predefined text in 30 columns
100 * The number of columns in the text field.
109 int columns; field in class:TextField
172 * of columns. A column is an approximate average character
174 * @param columns the number of columns. If
175 * <code>columns</code> is less than <code>0</code>,
176 * <code>columns</code> is set to <code>0</code>.
181 public TextField(int columns) throw argument
200 TextField(String text, int columns) argument
340 setColumns(int columns) argument
366 getPreferredSize(int columns) argument
375 preferredSize(int columns) argument
414 getMinimumSize(int columns) argument
423 minimumSize(int columns) argument
[all...]
/openjdk7/jdk/test/javax/swing/JTable/8005019/
H A Dbug8005019.java69 private int[] columns; field in class:bug8005019.GeneralFilter
72 GeneralFilter(int[] columns) { argument
73 this.columns = columns;
78 if (columns.length > 0) {
79 for (int i = columns.length - 1; i >= 0; i--) {
80 int index = columns[i];
/openjdk7/jdk/src/share/classes/javax/swing/colorchooser/
H A DSmartGridLayout.java44 int columns = 2; field in class:SmartGridLayout
53 columns = numColumns;
64 int[] columnWidths = new int[columns];
70 for (int column = 0; column < columns; column++) {
79 for (int column = 0; column < columns; column++) {
93 for (int column = 0; column < columns; column++) {
126 for (int column = 0; column < columns; column++) {
131 width += (xGap * (columns - 1)) + insets.right + insets.left;
158 column = componentCount % columns;
159 row = (componentCount - column) / columns;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DRowFilter.java49 * each of the columns in that entry. The following example shows an
61 * // None of the columns start with "a"; return false so that this
132 * columns are < 0.
134 private static void checkIndices(int[] columns) { argument
135 for (int i = columns.length - 1; i >= 0; i--) {
136 if (columns[i] < 0) {
347 * number of columns.
400 private int[] columns; field in class:RowFilter.GeneralFilter
402 GeneralFilter(int[] columns) { argument
403 checkIndices(columns);
437 RegexFilter(Pattern regex, int[] columns) argument
457 DateFilter(ComparisonType type, long date, int[] columns) argument
497 NumberFilter(ComparisonType type, Number number, int[] columns) argument
[all...]
H A DJTextArea.java72 * and <code>columns</code> that are used to determine the preferred size.
79 * or <code>columns</code> is equal to zero,
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
159 * @param columns the number of columns >= 0
160 * @exception IllegalArgumentException if the rows or columns
163 public JTextArea(int rows, int columns) { argument
164 this(null, null, rows, columns);
177 JTextArea(String text, int rows, int columns) argument
203 JTextArea(Document doc, String text, int rows, int columns) argument
580 setColumns(int columns) argument
809 private int columns; field in class:JTextArea
[all...]
H A DJTextField.java169 * and the number of columns is set to 0.
178 * columns is 0.
188 * number of columns.
192 * @param columns the number of columns to use to calculate
193 * the preferred width; if columns is set to zero, the
197 public JTextField(int columns) { argument
198 this(null, null, columns);
203 * specified text and columns. A default model is created.
206 * @param columns th
211 JTextField(String text, int columns) argument
231 JTextField(Document doc, String text, int columns) argument
386 setColumns(int columns) argument
809 private int columns; field in class:JTextField
[all...]
H A DJPasswordField.java91 * default, and the number of columns to 0.
101 * number of columns. A default model is created, and the initial string
104 * @param columns the number of columns >= 0
106 public JPasswordField(int columns) { argument
107 this(null, null, columns);
112 * the specified text and columns. The document model is set to
116 * @param columns the number of columns >= 0
118 public JPasswordField(String text, int columns) { argument
137 JPasswordField(Document doc, String txt, int columns) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DOverviewTab.java142 for (int columns = maxCols; columns >= 1; columns--) {
143 if (columns == 1) {
145 } else if ((n % columns) == 0) {
146 setColumns(columns);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWTextFieldPeer.java90 public Dimension getPreferredSize(final int columns) { argument
91 return getPreferredSize(1, columns);
95 public Dimension getMinimumSize(final int columns) { argument
96 return getPreferredSize(columns);
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 DLWTextComponentPeer.java98 public Dimension getPreferredSize(final int rows, final int columns) { argument
108 return new Dimension(columns * charWidth + borderWidth,
/openjdk7/jdk/src/share/demo/applets/BarChart/
H A DBarChart.java61 private int columns; field in class:BarChart
76 values = new int[columns];
77 labels = new String[columns];
78 styles = new int[columns];
79 colors = new Color[columns];
81 for (int i = 0; i < columns; i++) {
98 String temp = getParameter("columns");
100 columns = 5;
102 columns = Integer.parseInt(temp);
215 for (int i = 0; i < columns;
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolder.java430 ShellFolderColumnInfo[] columns = null;
433 columns = ((ShellFolder) dir).getFolderColumns();
436 if (columns == null) {
437 columns = new ShellFolderColumnInfo[]{
450 return columns;
/openjdk7/jdk/src/share/demo/applets/SpreadSheet/
H A DSpreadSheet.java64 int columns; field in class:SpreadSheet
90 rs = getParameter("columns");
92 columns = 5;
94 columns = Integer.parseInt(rs);
96 cells = new Cell[rows][columns];
99 for (int j = 0; j < columns; j++) {
118 resize(columns * cellWidth + rowLabelWidth,
145 for (int j = 0; j < columns; j++) {
168 for (int j = 0; j < columns; j++) {
187 for (j = 0; j < columns;
[all...]
/openjdk7/langtools/test/tools/javac/types/
H A DGenericTypeWellFormednessTest.java51 Type[] columns; field in class:GenericTypeWellFormednessTest
215 columns = new Type[] {
222 for (int j = 0; j < columns.length ; j++) {
223 Type decl = columns[j];
/openjdk7/jdk/src/windows/native/sun/windows/
H A DShellFolder2.cpp1081 // We'are asking the object the list of available columns
1090 // Count columns
1097 jobjectArray columns = local
1099 if(NULL == columns) {
1118 env->SetObjectArrayElement(columns, (jsize) colNum, column);
1127 return columns;
1135 // Count columns
1142 jobjectArray columns = local
1144 if(NULL == columns) {
1158 env->SetObjectArrayElement(columns, (jsiz
[all...]
H A Dawt_Font.h186 * of rows and columns. 'font' can be a temporary object.
188 static SIZE TextSize(AwtFont* font, int columns, int rows);
/openjdk7/jdk/src/share/demo/applets/ArcTest/
H A DArcTest.java210 public IntegerTextField(String text, int columns) { argument
211 super(text, columns);
/openjdk7/jdk/src/share/classes/sun/swing/
H A DFilePane.java691 ShellFolderColumnInfo[] columns; field in class:FilePane.DetailsTableModel
725 columns = new ShellFolderColumnInfo[visibleColumns.size()];
726 visibleColumns.toArray(columns);
727 columnMap = Arrays.copyOf(columnMap, columns.length);
740 if (sortKey.getColumn() >= columns.length) {
756 return columns.length;
857 return columns;
864 ShellFolderColumnInfo[] columns = detailsTableModel.getColumns();
867 for (int i = 0; i < columns.length; i++) {
868 ShellFolderColumnInfo dataItem = columns[
912 updateComparators(ShellFolderColumnInfo [] columns) argument
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/shell/
H A DWin32ShellFolder2.java1088 ShellFolderColumnInfo[] columns = doGetColumnInfo(getIShellFolder());
1090 if (columns != null) {
1093 for (int i = 0; i < columns.length; i++) {
1094 ShellFolderColumnInfo column = columns[i];
1107 columns = new ShellFolderColumnInfo[notNullColumns.size()];
1108 notNullColumns.toArray(columns);
1110 return columns;
/openjdk7/jdk/src/share/demo/applets/DitherTest/
H A DDitherTest.java416 public CardinalTextField(String text, int columns) { argument
417 super(text, columns);

Completed in 2019 milliseconds

12