Changeset 8291 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
- Timestamp:
- 2015-04-29T01:44:01+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
r7083 r8291 85 85 * 86 86 * @param tc the text component. Must not be null. 87 * @throws IllegalArgumentException thrownif tc is null87 * @throws IllegalArgumentException if tc is null 88 88 */ 89 public AbstractTextComponentValidator(JTextComponent tc) throws IllegalArgumentException{89 public AbstractTextComponentValidator(JTextComponent tc) { 90 90 this(tc, true); 91 91 } … … 95 95 * This can be useful if the enter key stroke needs to be forwarded to the default button in a dialog. 96 96 */ 97 public AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) throws IllegalArgumentException{97 public AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) { 98 98 this(tc, true, true, addActionListener); 99 99 } 100 100 101 public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) throws IllegalArgumentException{101 public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) { 102 102 CheckParameterUtil.ensureParameterNotNull(tc, "tc"); 103 103 this.tc = tc;
Note:
See TracChangeset
for help on using the changeset viewer.