Changeset 6084 in josm for trunk/src/org/openstreetmap/josm/gui/widgets
- Timestamp:
- 2013-07-26T13:38:17+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/widgets
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
r5899 r6084 135 135 /* interface FocusListener */ 136 136 /* -------------------------------------------------------------------------------- */ 137 @Override 137 138 public void focusGained(FocusEvent arg0) {} 138 139 140 @Override 139 141 public void focusLost(FocusEvent arg0) { 140 142 validate(); … … 144 146 /* interface ActionListener */ 145 147 /* -------------------------------------------------------------------------------- */ 148 @Override 146 149 public void actionPerformed(ActionEvent arg0) { 147 150 validate(); … … 151 154 /* interface DocumentListener */ 152 155 /* -------------------------------------------------------------------------------- */ 156 @Override 153 157 public void changedUpdate(DocumentEvent arg0) { 154 158 validate(); 155 159 } 156 160 161 @Override 157 162 public void insertUpdate(DocumentEvent arg0) { 158 163 validate(); 159 164 } 160 165 166 @Override 161 167 public void removeUpdate(DocumentEvent arg0) { 162 168 validate(); … … 166 172 /* interface PropertyChangeListener */ 167 173 /* -------------------------------------------------------------------------------- */ 174 @Override 168 175 public void propertyChange(PropertyChangeEvent evt) { 169 176 if (evt.getPropertyName().equals("enabled")) { -
trunk/src/org/openstreetmap/josm/gui/widgets/BoundingBoxSelectionPanel.java
r5958 r6084 203 203 204 204 class OsmUrlRefresher implements DocumentListener { 205 @Override 205 206 public void changedUpdate(DocumentEvent e) { parseURL(); } 207 @Override 206 208 public void insertUpdate(DocumentEvent e) { parseURL(); } 209 @Override 207 210 public void removeUpdate(DocumentEvent e) { parseURL(); } 208 211 } -
trunk/src/org/openstreetmap/josm/gui/widgets/ComboBoxHistory.java
r3351 r6084 80 80 } 81 81 82 @Override 82 83 public Iterator<AutoCompletionListItem> iterator() { 83 84 return new Iterator<AutoCompletionListItem>() { … … 85 86 private int position = -1; 86 87 88 @Override 87 89 public void remove() { 88 90 removeElementAt(position); 89 91 } 90 92 93 @Override 91 94 public boolean hasNext() { 92 95 if(position < getSize()-1 && getSize()>0) … … 95 98 } 96 99 100 @Override 97 101 public AutoCompletionListItem next() { 98 102 position++; -
trunk/src/org/openstreetmap/josm/gui/widgets/TextContextualPopupMenu.java
r5899 r6084 167 167 } 168 168 169 @Override 169 170 public void undoableEditHappened(UndoableEditEvent e) { 170 171 undoManager.addEdit(e.getEdit()); … … 172 173 } 173 174 175 @Override 174 176 public void actionPerformed(ActionEvent e) { 175 177 try { -
trunk/src/org/openstreetmap/josm/gui/widgets/VerticallyScrollablePanel.java
r3083 r6084 35 35 } 36 36 37 @Override 37 38 public Dimension getPreferredScrollableViewportSize() { 38 39 return getPreferredSize(); 39 40 } 40 41 42 @Override 41 43 public int getScrollableBlockIncrement(Rectangle arg0, int arg1, int arg2) { 42 44 return 20; 43 45 } 44 46 47 @Override 45 48 public boolean getScrollableTracksViewportHeight() { 46 49 return false; 47 50 } 48 51 52 @Override 49 53 public boolean getScrollableTracksViewportWidth() { 50 54 return true; 51 55 } 52 56 57 @Override 53 58 public int getScrollableUnitIncrement(Rectangle arg0, int arg1, int arg2) { 54 59 return 10;
Note:
See TracChangeset
for help on using the changeset viewer.