Changeset 9231 in josm for trunk/src/org/openstreetmap/josm/gui/tagging
- Timestamp:
- 2016-01-01T02:35:34+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/tagging
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
r9078 r9231 413 413 /** 414 414 * applies the current state of the tag editor model to a map of tags 415 * @param keepEmpty {@code true} to keep empty tags 415 416 * 416 417 * @return the map of key/value pairs -
trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorPanel.java
r8863 r9231 59 59 } 60 60 61 /** 62 * Sets the next component to request focus after navigation (with tab or enter). 63 * @param nextFocusComponent next component to request focus after navigation (with tab or enter) 64 * @see TagTable#setNextFocusComponent 65 */ 61 66 public void setNextFocusComponent(Component nextFocusComponent) { 62 67 tagTable.setNextFocusComponent(nextFocusComponent); … … 91 96 } 92 97 98 /** 99 * Returns the paste action. 100 * @return the paste action 101 */ 93 102 public AbstractAction getPasteAction() { 94 103 return tagTable.getPasteAction(); … … 141 150 * Creates a new tag editor panel. The editor model is created 142 151 * internally and can be retrieved with {@link #getModel()}. 152 * @param presetHandler tagging preset handler 143 153 */ 144 154 public TagEditorPanel(TaggingPresetHandler presetHandler) { … … 147 157 148 158 /** 149 * Creates a new tag editor panel with a supplied model. If 150 * {@code model} is null, a new model is created. 159 * Creates a new tag editor panel with a supplied model. If {@code model} is null, a new model is created. 151 160 * 152 161 * @param model the tag editor model 162 * @param presetHandler tagging preset handler 153 163 * @param maxCharacters maximum number of characters allowed, 0 for unlimited 154 164 */ -
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r9078 r9231 504 504 } 505 505 506 /** 507 * Sets the next component to request focus after navigation (with tab or enter). 508 * @param nextFocusComponent next component to request focus after navigation (with tab or enter) 509 */ 506 510 public void setNextFocusComponent(Component nextFocusComponent) { 507 511 this.nextFocusComponent = nextFocusComponent; … … 512 516 } 513 517 514 public void 518 public void addOKAccelatorListener(KeyListener l) { 515 519 addKeyListener(l); 516 520 if (editor != null) { -
trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletionItemPriority.java
r8958 r9231 106 106 * Merges two priorities. 107 107 * The resulting priority is always >= the original ones. 108 * @param other other priority 108 109 * @return the merged priority 109 110 */ -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPreset.java
r8959 r9231 204 204 /** 205 205 * Called from the XML parser to set the types this preset affects. 206 * @param types comma-separated primitive types ("node", "way", "relation" or "closedway") 206 207 * @throws SAXException if any SAX error occurs 208 * @see TaggingPresetType#fromString 207 209 */ 208 210 public void setType(String types) throws SAXException { -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetMenu.java
r8870 r9231 108 108 /** 109 109 * Sorts the menu items using the translated item text 110 * @param menu menu to sort 110 111 */ 111 112 public static void sortMenu(JMenu menu) { -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSelector.java
r8870 r9231 215 215 /** 216 216 * Constructs a new {@code TaggingPresetSelector}. 217 * @param displayOnlyApplicable if {@code true} display "Show only applicable to selection" checkbox 218 * @param displaySearchInTags if {@code true} display "Search in tags" checkbox 217 219 */ 218 220 public TaggingPresetSelector(boolean displayOnlyApplicable, boolean displaySearchInTags) { -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java
r9044 r9231 258 258 * must be escaped within one entry 259 259 * @param s the string 260 * @return splitted items 260 261 */ 261 262 public static String[] splitEscaped(char delimiter, String s) { -
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/Roles.java
r8863 r9231 68 68 /** 69 69 * Return either argument, the highest possible value or the lowest allowed value 70 * @param c count 71 * @return the highest possible value or the lowest allowed value 72 * @see #required 70 73 */ 71 74 public long getValidCount(long c) {
Note:
See TracChangeset
for help on using the changeset viewer.