|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Dialog
javax.swing.JDialog
edu.rice.cs.drjava.ui.DrJavaSurveyPopup
public class DrJavaSurveyPopup
Asks whether DrJava may contact the DrJava developers and send information about the operating system and the Java version used.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JDialog |
|---|
JDialog.AccessibleJDialog |
| Nested classes/interfaces inherited from class java.awt.Dialog |
|---|
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
private MainFrame |
_mainFrame
the parent frame |
private JCheckBox |
_neverAskAgain
don't ask user again |
private Action |
_noAction
|
private JButton |
_noButton
the no button |
private JTable |
_propertiesTable
the table with the information that DrJava will send |
private JOptionPane |
_questionPanel
the version information pane |
private Action |
_yesAction
Close this window, but display the full DrJava Errors window. |
private JButton |
_yesButton
the yes button |
static String[] |
DRJAVA_SURVEY_KEYS
the keys of the system properties that we want to send |
static Log |
LOG
|
protected Runnable1<WindowEvent> |
NO
Lambda that calls noAction. |
| Fields inherited from class javax.swing.JDialog |
|---|
accessibleContext, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Dialog |
|---|
DEFAULT_MODALITY_TYPE |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
DrJavaSurveyPopup(MainFrame parent)
Creates a window to display whether a new version of DrJava is available. |
|
| Method Summary | |
|---|---|
static String |
getSurveyURL()
Return the URL that would be used to answer the DrJava survey. |
static boolean |
maySubmitSurvey()
Returns true if the user may participate in the survey, i.e. |
protected void |
noAction()
|
void |
setVisible(boolean vis)
Toggle visibility of this frame. |
protected void |
yesAction()
|
| Methods inherited from class java.awt.Dialog |
|---|
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setModal, setModalityType, setResizable, setTitle, setUndecorated, show, toBack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String[] DRJAVA_SURVEY_KEYS
private JButton _noButton
private JButton _yesButton
private MainFrame _mainFrame
private JOptionPane _questionPanel
private JTable _propertiesTable
private JCheckBox _neverAskAgain
private Action _noAction
private Action _yesAction
public static final Log LOG
protected final Runnable1<WindowEvent> NO
| Constructor Detail |
|---|
public DrJavaSurveyPopup(MainFrame parent)
| Method Detail |
|---|
protected void noAction()
public static String getSurveyURL()
public static boolean maySubmitSurvey()
protected void yesAction()
public void setVisible(boolean vis)
setVisible in class Dialog
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||