Changeset 8512 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-06-21T01:13:09+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ColorScale.java
r8510 r8512 87 87 } 88 88 89 public finalColor getColor(double value) {89 public Color getColor(double value) { 90 90 if (value < min) return belowMinColor; 91 91 if (value > max) return aboveMaxColor; … … 100 100 } 101 101 102 public finalColor getColor(Number value) {102 public Color getColor(Number value) { 103 103 return (value == null) ? noDataColor : getColor(value.doubleValue()); 104 104 } -
trunk/src/org/openstreetmap/josm/tools/Destroyable.java
r6380 r8512 14 14 * Called when the object has been destroyed. 15 15 */ 16 publicvoid destroy();16 void destroy(); 17 17 } -
trunk/src/org/openstreetmap/josm/tools/Diff.java
r8510 r8512 395 395 @return a linked list of changes - or null 396 396 */ 397 publicChange build_script(397 Change build_script( 398 398 boolean[] changed0, int len0, 399 399 boolean[] changed1, int len1 -
trunk/src/org/openstreetmap/josm/tools/MultikeyShortcutAction.java
r8510 r8512 35 35 } 36 36 37 publicShortcut getMultikeyShortcut();37 Shortcut getMultikeyShortcut(); 38 38 39 39 void executeMultikeyAction(int index, boolean repeatLastAction); -
trunk/src/org/openstreetmap/josm/tools/PlatformHook.java
r8015 r8512 23 23 * that we want to be integrated with the OS before we setup our GUI. 24 24 */ 25 publicvoid preStartupHook();26 25 void preStartupHook(); 26 27 27 /** 28 28 * The afterPrefStartupHook will be called early, but after 29 29 * the preferences have been loaded and basic processing of 30 * command line arguments is finished. 30 * command line arguments is finished. 31 31 * It is guaranteed to be called before the GUI setup has started. 32 32 */ 33 publicvoid afterPrefStartupHook();33 void afterPrefStartupHook(); 34 34 35 35 /** … … 40 40 * OS, so we'll receive events from the system menu. 41 41 */ 42 publicvoid startupHook();42 void startupHook(); 43 43 44 44 /** … … 48 48 * @throws IOException if any I/O error occurs 49 49 */ 50 publicvoid openUrl(String url) throws IOException;50 void openUrl(String url) throws IOException; 51 51 52 52 /** … … 70 70 * user to change them. 71 71 */ 72 publicvoid initSystemShortcuts();72 void initSystemShortcuts(); 73 73 74 74 /** … … 86 86 * @return Full tooltip text (name + accelerator) 87 87 */ 88 publicString makeTooltip(String name, Shortcut sc);88 String makeTooltip(String name, Shortcut sc); 89 89 90 90 /** … … 92 92 * @return The default native LAF for this platform 93 93 */ 94 publicString getDefaultStyle();94 String getDefaultStyle(); 95 95 96 96 /** … … 98 98 * @return {@code true} if full screen is allowed, {@code false} otherwise 99 99 */ 100 publicboolean canFullscreen();100 boolean canFullscreen(); 101 101 102 102 /** … … 106 106 * @return {@code true} if the file has been renamed, {@code false} otherwise 107 107 */ 108 publicboolean rename(File from, File to);108 boolean rename(File from, File to); 109 109 110 110 /** … … 113 113 * @since 5850 114 114 */ 115 publicString getOSDescription();115 String getOSDescription(); 116 116 117 117 /** … … 126 126 * @since 7343 127 127 */ 128 publicboolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert)128 boolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert) 129 129 throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException; 130 130 … … 134 134 * @since 7829 135 135 */ 136 publicFile getDefaultCacheDirectory();136 File getDefaultCacheDirectory(); 137 137 138 138 /** … … 141 141 * @since 7831 142 142 */ 143 publicFile getDefaultPrefDirectory();143 File getDefaultPrefDirectory(); 144 144 145 145 /** … … 148 148 * @since 7834 149 149 */ 150 publicFile getDefaultUserDataDirectory();150 File getDefaultUserDataDirectory(); 151 151 } -
trunk/src/org/openstreetmap/josm/tools/Predicate.java
r7509 r8512 15 15 * @return {@code true} if the object passes the test, {@code false} otherwise 16 16 */ 17 publicboolean evaluate(T object);17 boolean evaluate(T object); 18 18 } -
trunk/src/org/openstreetmap/josm/tools/Property.java
r7509 r8512 14 14 * @return the value of the property for the object obj 15 15 */ 16 publicP get(O obj);16 P get(O obj); 17 17 18 18 /** … … 21 21 * @param value the value the property is set to 22 22 */ 23 publicvoid set(O obj, P value);23 void set(O obj, P value); 24 24 } -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r8510 r8512 648 648 * @param <B> class of transformed objects 649 649 */ 650 public staticinterface Function<A, B> {650 public interface Function<A, B> { 651 651 652 652 /**
Note:
See TracChangeset
for help on using the changeset viewer.