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

12

/openjdk9/jdk/src/java.desktop/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
/openjdk9/hotspot/src/jdk.hotspot.agent/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...]
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/
H A DTextArea.java70 * The number of columns in the {@code TextArea}.
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
457 setColumns(int columns) argument
501 getPreferredSize(int rows, int columns) argument
516 preferredSize(int rows, int columns) argument
559 getMinimumSize(int rows, int columns) argument
574 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
174 * of columns. A column is an approximate average character
176 * @param columns the number of columns. If
177 * {@code columns} is less than {@code 0},
178 * {@code columns} is set to {@code 0}.
183 public TextField(int columns) throw argument
204 TextField(String text, int columns) argument
371 setColumns(int columns) argument
397 getPreferredSize(int columns) argument
412 preferredSize(int columns) argument
452 getMinimumSize(int columns) argument
466 minimumSize(int columns) argument
[all...]
/openjdk9/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];
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/colorchooser/
H A DSmartGridLayout.java45 int columns = 2; field in class:SmartGridLayout
54 columns = numColumns;
65 int[] columnWidths = new int[columns];
71 for (int column = 0; column < columns; column++) {
80 for (int column = 0; column < columns; column++) {
94 for (int column = 0; column < columns; column++) {
127 for (int column = 0; column < columns; column++) {
132 width += (xGap * (columns - 1)) + insets.right + insets.left;
159 column = componentCount % columns;
160 row = (componentCount - column) / columns;
[all...]
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/
H A DRowFilter.java50 * each of the columns in that entry. The following example shows an
62 * // None of the columns start with "a"; return false so that this
133 * columns are {@literal <} 0.
135 private static void checkIndices(int[] columns) { argument
136 for (int i = columns.length - 1; i >= 0; i--) {
137 if (columns[i] < 0) {
360 * number of columns.
413 private int[] columns; field in class:RowFilter.GeneralFilter
415 GeneralFilter(int[] columns) { argument
416 checkIndices(columns);
450 RegexFilter(Pattern regex, int[] columns) argument
471 DateFilter(ComparisonType type, long date, int[] columns) argument
509 NumberFilter(ComparisonType type, Number number, int[] columns) argument
[all...]
H A DJTextArea.java67 * and <code>columns</code> that are used to determine the preferred size.
74 * or <code>columns</code> is equal to zero,
132 * is null, and rows/columns are set to 0.
140 * A default model is created and rows/columns are set to 0.
150 * rows and columns. A default model is created, and the initial
154 * @param columns the number of columns &gt;= 0
155 * @exception IllegalArgumentException if the rows or columns
158 public JTextArea(int rows, int columns) { argument
159 this(null, null, rows, columns);
172 JTextArea(String text, int rows, int columns) argument
198 JTextArea(Document doc, String text, int rows, int columns) argument
570 setColumns(int columns) argument
803 private int columns; field in class:JTextArea
[all...]
H A DJTextField.java168 * and the number of columns is set to 0.
177 * columns is 0.
187 * number of columns.
191 * @param columns the number of columns to use to calculate
192 * the preferred width; if columns is set to zero, the
196 public JTextField(int columns) { argument
197 this(null, null, columns);
202 * specified text and columns. A default model is created.
205 * @param columns th
210 JTextField(String text, int columns) argument
230 JTextField(Document doc, String text, int columns) argument
384 setColumns(int columns) argument
812 private int columns; field in class:JTextField
[all...]
H A DJPasswordField.java90 * default, and the number of columns to 0.
100 * number of columns. A default model is created, and the initial string
103 * @param columns the number of columns &gt;= 0
105 public JPasswordField(int columns) { argument
106 this(null, null, columns);
111 * the specified text and columns. The document model is set to
115 * @param columns the number of columns &gt;= 0
117 public JPasswordField(String text, int columns) { argument
136 JPasswordField(Document doc, String txt, int columns) argument
[all...]
/openjdk9/jdk/src/jdk.jconsole/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);
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/lwawt/
H A DLWTextFieldPeer.java92 public Dimension getPreferredSize(final int columns) { argument
93 return getMinimumSize(columns);
97 public Dimension getMinimumSize(final int columns) { argument
98 return getMinimumSize(1, columns);
H A DLWTextAreaPeer.java52 * The default number of visible columns.
111 public Dimension getPreferredSize(final int rows, final int columns) { argument
112 return getMinimumSize(rows, columns);
116 public Dimension getMinimumSize(final int rows, final int columns) { argument
117 final Dimension size = super.getMinimumSize(rows, columns);
H A DLWTextComponentPeer.java99 public Dimension getMinimumSize(final int rows, final int columns) { argument
107 return new Dimension(fm.charWidth(WIDE_CHAR) * columns + borderWidth,
/openjdk9/jdk/test/java/awt/GridLayout/ChangeGridSize/
H A DChangeGridSize.java31 * added to a grid layout. Change the rows and columns of the
47 private final int columns = 2; field in class:ChangeGridSize
65 layout = new GridLayout(rows + 3, columns - 1, hGap, vGap);
98 double dW = (width-insets.left-insets.right - hGap*(columns-1)) % columns;
110 layout.setColumns(columns);
153 int componentWidth = (availableWidth + hGap) / columns - hGap;
175 if (currentColumn > columns) {
/openjdk9/jdk/test/java/awt/GridLayout/ComponentPreferredSize/
H A DComponentPreferredSize.java31 * added to a grid layout having various values of row/columns.
47 private final int columns = 2; field in class:ComponentPreferredSize
65 layout = new GridLayout(rows, columns, hGap, vGap);
101 double dW = (width-insets.left-insets.right - hGap*(columns-1)) % columns;
145 int componentWidth = (availableWidth + hGap) / columns - hGap;
167 if (currentColumn > columns) {
/openjdk9/jdk/src/demo/share/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...]
/openjdk9/hotspot/src/share/vm/memory/
H A Dpadded.inline.hpp55 T** Padded2DArray<T, flags, alignment>::create_unfreeable(uint rows, uint columns, size_t* allocation_size) { argument
59 size_t row_size = align_size_up_(columns * sizeof(T), alignment);
H A Dpadded.hpp107 static T** create_unfreeable(uint rows, uint columns, size_t* allocation_size = NULL);
H A DheapInspection.hpp286 void print_class_stats(outputStream* st, bool csv_format, const char *columns);
344 void print_histo_on(outputStream* st, bool print_class_stats, bool csv_format, const char *columns);
362 bool print_class_stats, const char *columns) :
364 _print_class_stats(print_class_stats), _columns(columns) {}
361 HeapInspection(bool csv_format, bool print_help, bool print_class_stats, const char *columns) argument
/openjdk9/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/internal/
H A DRows.java97 Columns columns = new Columns( optionWidth(), descriptionWidth() );
101 fitted.addAll( columns.fit( each ) );
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/shell/
H A DShellFolder.java435 ShellFolderColumnInfo[] columns = null;
438 columns = ((ShellFolder) dir).getFolderColumns();
441 if (columns == null) {
442 columns = new ShellFolderColumnInfo[]{
455 return columns;
/openjdk9/jdk/src/demo/share/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...]
/openjdk9/langtools/test/tools/javac/types/
H A DGenericTypeWellFormednessTest.java58 Type[] columns; field in class:GenericTypeWellFormednessTest
222 columns = new Type[] {
229 for (int j = 0; j < columns.length ; j++) {
230 Type decl = columns[j];

Completed in 305 milliseconds

12