|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.config.ui.util.Util
Utility class for Configure Sesame!
| Constructor Summary | |
Util()
|
|
| Method Summary | |
static JLabel |
createLabel(Icon image)
Creates a new borderded JLabel with the supplied image |
static JTextArea |
createReadOnlyTextArea(String text,
Color background)
Creates a new 'read-only' JTextArea with the supplied text and background color. |
static JTextArea |
createTitle(String text,
Color background)
Creates a new 'titled' JTextArea with the supplied text and background color |
static Window |
getOwner(Component aComponent)
|
static void |
showWarningDialog(Component parent,
String warning,
String title)
Brings up a dialog that displays the given warning |
static int |
showYesNoDialog(Component parent,
String message,
String title)
Brings up a dialog with the options 'Yes' and 'No' |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Util()
| Method Detail |
public static JTextArea createReadOnlyTextArea(String text,
Color background)
text - Textbackground - Background color
public static JTextArea createTitle(String text,
Color background)
text - Textbackground - Background color
public static JLabel createLabel(Icon image)
image - Image
public static void showWarningDialog(Component parent,
String warning,
String title)
parent - Component to display the dialog inwarning - Warning to displaytitle - Title for the dialog
public static int showYesNoDialog(Component parent,
String message,
String title)
parent - Component to display the dialog inmessage - Message to displaytitle - Title for the dialog
public static Window getOwner(Component aComponent)
SwingUtilities.windowForComponent(java.awt.Component)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||