Changeset 9231 in josm for trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
- Timestamp:
- 2016-01-01T02:35:34+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
r9059 r9231 92 92 * Alternative constructor that allows to turn off the actionListener. 93 93 * This can be useful if the enter key stroke needs to be forwarded to the default button in a dialog. 94 * @param tc text component 95 * @param addActionListener {@code true} to add the action listener 94 96 */ 95 97 public AbstractTextComponentValidator(JTextComponent tc, boolean addActionListener) { … … 97 99 } 98 100 101 /** 102 * Constructs a new {@code AbstractTextComponentValidator}. 103 * @param tc text component 104 * @param addFocusListener {@code true} to add the focus listener 105 * @param addDocumentListener {@code true} to add the document listener 106 * @param addActionListener {@code true} to add the action listener 107 */ 99 108 public AbstractTextComponentValidator(JTextComponent tc, boolean addFocusListener, boolean addDocumentListener, boolean addActionListener) { 100 109 CheckParameterUtil.ensureParameterNotNull(tc, "tc");
Note:
See TracChangeset
for help on using the changeset viewer.