|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mov.ui.TextViewDialog
public class TextViewDialog
A dialog which display a text document to the user.
Field Summary | |
---|---|
static int |
FIXED_WIDTH
Display text with a fixed-width font. |
static int |
PROPORTIONAL
Display text with a proportional width font. |
Method Summary | |
---|---|
static void |
showTextDialog(java.lang.String text,
java.lang.String title)
Displays the text in a new dialog and waits for the user to cancel the dialog. |
static int |
showTextDialog(java.lang.String text,
java.lang.String title,
int rows,
int columns,
int fontType,
java.lang.String[] buttons)
Displays the text in a new dialog and waits for the user to cancel the dialog. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int FIXED_WIDTH
public static final int PROPORTIONAL
Method Detail |
---|
public static void showTextDialog(java.lang.String text, java.lang.String title)
text
- the text to displaytitle
- the title of the dialogpublic static int showTextDialog(java.lang.String text, java.lang.String title, int rows, int columns, int fontType, java.lang.String[] buttons)
text
- the text to displaytitle
- the title of the dialogrows
- the height of the text box in characterscolumns
- the width of the text box in charactersfontType
- type of font, either FIXED_WIDTH
or PROPORTIONAL
.buttons
- a list of choices to be given to the user
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |