|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.azureus2.ui.swt.shells.MessageSlideShell
public class MessageSlideShell
+=====================================+ | +----+ | | |Icon| Big Bold Title | | +----+ | | Wrapping message text | | with optional URL links | | +-----+ | | |BGImg| XX more slideys.. | | | Icon| Closing in XX secs | | +-----+ [HideAll] [Details] [Hide] | +=====================================+
| Nested Class Summary | |
|---|---|
static class |
MessageSlideShell.PopupParams
|
| Field Summary | |
|---|---|
protected org.eclipse.swt.graphics.Color |
colorURL
|
| Constructor Summary | |
|---|---|
MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String keyPrefix,
String details,
String[] textParams,
int timeoutSecs)
Open a popup using resource keys for title/text |
|
MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String keyPrefix,
String details,
String[] textParams,
Object[] relatedObjects,
int timeoutSecs)
|
|
MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String title,
String text,
String details,
int timeoutSecs)
|
|
MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String title,
String text,
String details,
Object[] relatedObjects,
int timeoutSecs)
Open Mr Slidey |
|
| Method Summary | |
|---|---|
static void |
displayLastMessage(org.eclipse.swt.widgets.Display display,
boolean last_unread)
|
org.eclipse.swt.graphics.Color |
getColorFG()
|
org.eclipse.swt.graphics.Color |
getUrlColor()
|
static void |
main(String[] args)
Test |
static void |
recordMessage(int iconID,
String title,
String text,
String details,
Object[] relatedTo,
int timeoutSecs)
Adds this message to the slide shell without forcing it to be displayed. |
void |
setColorFG(org.eclipse.swt.graphics.Color colorFG)
|
void |
setUrlColor(org.eclipse.swt.graphics.Color urlColor)
|
static void |
test(org.eclipse.swt.widgets.Display display)
|
static void |
waitUntilClosed()
Waits until all slideys are closed before returning to caller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.eclipse.swt.graphics.Color colorURL
| Constructor Detail |
|---|
public MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String keyPrefix,
String details,
String[] textParams,
int timeoutSecs)
display - Display to create the shell oniconID - SWT.ICON_* constant for icon in top leftkeyPrefix - message bundle key prefix used to get title and text.
Title will be keyPrefix + ".title", and text will be set to
keyPrefix + ".text"details - actual text for details (not a key)textParams - any parameters for text
public MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String keyPrefix,
String details,
String[] textParams,
Object[] relatedObjects,
int timeoutSecs)
display - iconID - keyPrefix - details - textParams - relatedObjects - timeoutSecs - = -1 -> use default timeout, 0 -> no timeout, other -> timeout in secs
public MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String title,
String text,
String details,
int timeoutSecs)
public MessageSlideShell(org.eclipse.swt.widgets.Display display,
int iconID,
String title,
String text,
String details,
Object[] relatedObjects,
int timeoutSecs)
display - Display to create the shell oniconID - SWT.ICON_* constant for icon in top lefttitle - Text to put in the titletext - Text to put in the bodydetails - Text displayed when the Details button is pressed. Null
for disabled Details button.timeoutSecs - = -1 -> use default timeout, 0 -> no timeout, other -> timeout in secs| Method Detail |
|---|
public static void displayLastMessage(org.eclipse.swt.widgets.Display display,
boolean last_unread)
public static void recordMessage(int iconID,
String title,
String text,
String details,
Object[] relatedTo,
int timeoutSecs)
relatedTo - public static void waitUntilClosed()
public static void main(String[] args)
args - public static void test(org.eclipse.swt.widgets.Display display)
public org.eclipse.swt.graphics.Color getUrlColor()
public void setUrlColor(org.eclipse.swt.graphics.Color urlColor)
public org.eclipse.swt.graphics.Color getColorFG()
public void setColorFG(org.eclipse.swt.graphics.Color colorFG)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||