|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.util.swing.ScrollableDialog
edu.rice.cs.drjava.ui.DrJavaScrollableDialog
public class DrJavaScrollableDialog
A JDialog with a scrollable text area and a button panel. Uses DrJava's configurable Main Font in the text area.
Field Summary |
---|
Fields inherited from class edu.rice.cs.util.swing.ScrollableDialog |
---|
_buttonPanel, _dialog, _textArea, _textScroll, DEFAULT_HEIGHT, DEFAULT_WIDTH |
Constructor Summary | |
---|---|
DrJavaScrollableDialog(JFrame parent,
String title,
String header,
String text)
Creates a new DrJavaScrollableDialog with the default width and height. |
|
DrJavaScrollableDialog(JFrame parent,
String title,
String header,
String text,
boolean wrap)
Creates a new DrJavaScrollableDialog with the default width and height. |
|
DrJavaScrollableDialog(JFrame parent,
String title,
String header,
String text,
int width,
int height)
Creates a new DrJavaScrollableDialog. |
|
DrJavaScrollableDialog(JFrame parent,
String title,
String header,
String text,
int width,
int height,
boolean wrap)
Creates a new DrJavaScrollableDialog. |
Method Summary |
---|
Methods inherited from class edu.rice.cs.util.swing.ScrollableDialog |
---|
_addButtons, setTextFont, show |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrJavaScrollableDialog(JFrame parent, String title, String header, String text)
parent
- Parent frame for this dialogtitle
- Title for this dialogheader
- Message to display at the top of this dialogtext
- Text to insert into the scrollable JTextAreapublic DrJavaScrollableDialog(JFrame parent, String title, String header, String text, int width, int height)
parent
- Parent frame for this dialogtitle
- Title for this dialogheader
- Message to display at the top of this dialogtext
- Text to insert into the scrollable JTextAreawidth
- Width for this dialogheight
- Height for this dialogpublic DrJavaScrollableDialog(JFrame parent, String title, String header, String text, boolean wrap)
parent
- Parent frame for this dialogtitle
- Title for this dialogheader
- Message to display at the top of this dialogtext
- Text to insert into the scrollable JTextAreawrap
- whether to wrap long linespublic DrJavaScrollableDialog(JFrame parent, String title, String header, String text, int width, int height, boolean wrap)
parent
- Parent frame for this dialogtitle
- Title for this dialogheader
- Message to display at the top of this dialogtext
- Text to insert into the scrollable JTextAreawidth
- Width for this dialogheight
- Height for this dialogwrap
- whether to wrap long lines
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |