public final class TuttiUIUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
EARTH_RADIUS |
| Modifier and Type | Method and Description |
|---|---|
static int |
computeDistanceInMeters(Float startLatitude,
Float startLongitude,
Float endLatitude,
Float endLongitude) |
static DecimalFormat |
getDecimalFormat(int minDecimal,
int maxDecimal) |
static DecimalFormatSymbols |
getDecimalFormatSymbols() |
static Desktop |
getDesktopForBrowse() |
static Desktop |
getDesktopForMail() |
static String |
getDistanceInMilles(Float distance) |
static Object |
getProperty(Object bean,
String property) |
static float |
getRoundedLengthStep(float lengthStep,
boolean aroundUp) |
static String |
getWeightStringValue(Float weight) |
static void |
mail(String subject,
String body) |
static org.jdesktop.swingx.decorator.Highlighter |
newBackgroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate,
Color color) |
static org.jdesktop.swingx.decorator.Highlighter |
newForegroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate,
Color color) |
static void |
openLink(URI uri) |
static void |
openLink(URL url) |
static void |
setProperty(Object bean,
String property,
Object value) |
static void |
tryToConnectToUpdateUrl(String urlAsString,
String badUrlFormatI18nKey,
String notReachI18nKey,
String notFoundI18nKey) |
public static final double EARTH_RADIUS
public static org.jdesktop.swingx.decorator.Highlighter newBackgroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate,
Color color)
public static org.jdesktop.swingx.decorator.Highlighter newForegroundColorHighlighter(org.jdesktop.swingx.decorator.HighlightPredicate predicate,
Color color)
public static int computeDistanceInMeters(Float startLatitude, Float startLongitude, Float endLatitude, Float endLongitude)
public static DecimalFormatSymbols getDecimalFormatSymbols()
public static DecimalFormat getDecimalFormat(int minDecimal, int maxDecimal)
public static void openLink(URL url)
public static Desktop getDesktopForBrowse()
public static void openLink(URI uri)
public static Desktop getDesktopForMail()
public static void tryToConnectToUpdateUrl(String urlAsString, String badUrlFormatI18nKey, String notReachI18nKey, String notFoundI18nKey)
public static float getRoundedLengthStep(float lengthStep,
boolean aroundUp)
Copyright © 2012–2013 Ifremer. All rights reserved.