public final class TuttiUIUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
askQuestion(Component ui,
String message) |
static File |
chooseDirectory(Component parent,
String title,
String buttonLabel,
File incoming)
Choisir un répertoire via un sélecteur graphique de fichiers.
|
static File |
chooseFile(Component parent,
String title,
String buttonLabel,
File incoming,
String... filters)
Choisir un fichier via un sélecteur graphique de fichiers.
|
static Object |
getProperty(Object bean,
String property) |
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 JDialog |
openInDialog(JComponent ui,
Frame frame,
String title,
boolean modal,
Action closeAction) |
static JDialog |
openInDialog(JComponent ui,
Frame frame,
String title,
boolean modal,
Action closeAction,
Dimension dim) |
static void |
setProperty(Object bean,
String property,
Object value) |
static void |
showErrorMessage(Component ui,
String message) |
static void |
showSuccessMessage(Component ui,
String message) |
static void |
updateBusyState(Component ui,
boolean busy) |
public static JDialog openInDialog(JComponent ui, Frame frame, String title, boolean modal, Action closeAction)
public static JDialog openInDialog(JComponent ui, Frame frame, String title, boolean modal, Action closeAction, Dimension dim)
public static File chooseFile(Component parent, String title, String buttonLabel, File incoming, String... filters)
parent - le component swing appelant le controletitle - le titre du dialogue de sélectionbuttonLabel - le label du boutton d'acceptationincoming - le fichier de base à utilierfilters - les filtres + descriptions sur le sélecteur de
fichierspublic static File chooseDirectory(Component parent, String title, String buttonLabel, File incoming)
parent - le component swing appelant le controletitle - le titre de la boite de dialogue de sléectionbuttonLabel - le label de l'action d'acceptationincoming - le fichier de base à utiliserpublic static void updateBusyState(Component ui, boolean busy)
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)
Copyright © 2012 Ifremer. All Rights Reserved.