public final class TuttiUIUtil
extends org.nuiton.jaxx.application.swing.util.ApplicationUIUtil
| Modifier and Type | Field and Description |
|---|---|
static MouseListener |
GRAB_FOCUS_ON_ENTER_LISTENER |
| Modifier and Type | Method and Description |
|---|---|
static TuttiUIContext |
getApplicationContext(jaxx.runtime.JAXXObject ui) |
static int |
getColorBrightness(Color c)
Computes the brightness of a color.
|
static ImageIcon |
getCruiseIcon(Cruise cruise) |
static void |
openResource(File file) |
static void |
prepareAction(AbstractButton button,
Action action,
String actionName) |
static void |
setParentUI(jaxx.runtime.JAXXObject ui,
TuttiUI<?,?> parentUI) |
static void |
tryToConnectToUpdateUrl(String urlAsString,
String badUrlFormatI18nKey,
String notReachI18nKey,
String notFoundI18nKey) |
doSelectCell, getDesktopForBrowse, getDesktopForMail, getDesktopForOpen, mail, newBackgroundColorHighlighter, newForegroundColorHighlighter, openLink, openLink, selectFirstCellOnFirstRowAndStopEditing, selectFirstCellOnLastRow, selectFirstCellOnRow, setApplicationContextpublic static final MouseListener GRAB_FOCUS_ON_ENTER_LISTENER
public static TuttiUIContext getApplicationContext(jaxx.runtime.JAXXObject ui)
public static void setParentUI(jaxx.runtime.JAXXObject ui,
TuttiUI<?,?> parentUI)
public static void tryToConnectToUpdateUrl(String urlAsString, String badUrlFormatI18nKey, String notReachI18nKey, String notFoundI18nKey)
public static void openResource(File file)
public static int getColorBrightness(Color c)
c - the colorpublic static void prepareAction(AbstractButton button, Action action, String actionName)
Copyright © 2012–2015 Ifremer. All rights reserved.