Changeset 8005 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java
- Timestamp:
- 2015-02-03T21:53:19+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java
r7509 r8005 154 154 */ 155 155 public AutoCompletingTextField() { 156 init();156 this(0); 157 157 } 158 158 … … 163 163 */ 164 164 public AutoCompletingTextField(int columns) { 165 super(columns); 165 this(columns, true); 166 } 167 168 /** 169 * Constructs a new {@code AutoCompletingTextField}. 170 * @param columns the number of columns to use to calculate the preferred width; 171 * if columns is set to zero, the preferred width will be whatever naturally results from the component implementation 172 * @param undoRedo Enables or not Undo/Redo feature. Not recommended for table cell editors, unless each cell provides its own editor 173 */ 174 public AutoCompletingTextField(int columns, boolean undoRedo) { 175 super(null, null, columns, undoRedo); 166 176 init(); 167 177 }
Note:
See TracChangeset
for help on using the changeset viewer.