|
Generated by JDiff |
||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS |
Changed Constructors | ||
Object, |
Documentation changed from old to new. |
Creates an instance of JOptionPane to display a message with the specified message type and the default options |
Object, |
Documentation changed from old to new. |
Creates an instance of JOptionPane to display a message with the specified message type and options. |
Object, |
Documentation changed from old to new. |
Creates an instance of JOptionPane to display a message with the specified message type options and icon. |
Object, |
Documentation changed from old to new. |
Creates an instance of JOptionPane to display a message with the specified message type icon and options. |
Object, |
Documentation changed from old to new. |
Creates an instance of JOptionPane to display a message with the specified message type icon and options with the initially-selected option specified. |
Added Methods | |
String showInputDialog(Component, |
Shows a question-message dialog requesting input from the user and parented to parentComponent . |
String showInputDialog(Object, |
Shows a question-message dialog requesting input from the user with the input value initialized to initialSelectionValue . |
Changed Methods | ||
JDialog createDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Creates and returns a new JDialog wrapping this centered on the parentComponent in the parentComponent 's frame. |
AccessibleContext getAccessibleContext() |
Documentation changed from old to new. |
Returns the AccessibleContext associated with this JOptionPane. |
Frame getFrameForComponent(Component ) |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Returns the specified component's Frame . |
Object getInitialSelectionValue() |
Documentation changed from old to new. |
Returns the input value that is displayed as initially selected to the user. |
Frame getRootFrame() |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Returns the Frame to use for the class methods in which a frame is not provided. |
Object[] getSelectionValues() |
Documentation changed from old to new. |
Returns the input selection values. |
Object getValue() |
Documentation changed from old to new. |
Returns the value the user has selected. |
boolean getWantsInput() |
Documentation changed from old to new. |
Returns the value of the wantsInput property. |
void setIcon(Icon ) |
Documentation changed from old to new. |
Sets the icon to display. |
void setInitialSelectionValue(Object ) |
Documentation changed from old to new. |
Sets the input value that is initially displayed as selected to the user. |
void setInputValue(Object ) |
Documentation changed from old to new. |
Sets the input value that was selected or input by the user. |
void setMessageType(int ) |
Documentation changed from old to new. |
Sets the option pane's message type. |
void setOptionType(int ) |
Documentation changed from old to new. |
Sets the options to display. |
void setSelectionValues(Object[] ) |
Documentation changed from old to new. |
Sets the input selection values for a pane that provides the user with a list of items to choose from. |
void setWantsInput(boolean ) |
Documentation changed from old to new. |
Sets the wantsInput property. |
int showInternalOptionDialog(Component, |
Documentation changed from old to new. |
Brings up an internal dialog panel with a specified icon where the initial choice is determined by the initialValue parameter and the number of choices is determined by the optionType parameter. |
int showOptionDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog with a specified icon where the initial choice is determined by the initialValue parameter and the number of choices is determined by the optionType parameter. |
int showConfirmDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog with the options Yes No and Cancel; with the title Select an Option. |
int showConfirmDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog where the number of choices is determined by the optionType parameter. |
int showConfirmDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog where the number of choices is determined by the optionType parameter where the messageType parameter determines the icon to display. |
int showConfirmDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog with a specified icon where the number of choices is determined by the optionType parameter. |
Object showInputDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Prompts the user for input in a blocking dialog where the initial selection possible selections and all other options can be specified. |
String showInputDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Shows a question-message dialog requesting input from the user parented to parentComponent . |
String showInputDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Shows a dialog requesting input from the user parented to parentComponent with the dialog having the title title and message type messageType . |
String showInputDialog(Object ) |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Shows a question-message dialog requesting input from the user. |
int showInternalConfirmDialog(Component, |
Documentation changed from old to new. |
Brings up an internal dialog panel with the options Yes No and Cancel; with the title Select an Option. |
int showInternalConfirmDialog(Component, |
Documentation changed from old to new. |
Brings up a internal dialog panel where the number of choices is determined by the optionType parameter. |
int showInternalConfirmDialog(Component, |
Documentation changed from old to new. |
Brings up an internal dialog panel where the number of choices is determined by the optionType parameter where the messageType parameter determines the icon to display. |
int showInternalConfirmDialog(Component, |
Documentation changed from old to new. |
Brings up an internal dialog panel with a specified icon where the number of choices is determined by the optionType parameter. |
Object showInternalInputDialog(Component, |
Documentation changed from old to new. |
Prompts the user for input in a blocking internal dialog where the initial selection possible selections and all other options can be specified. |
void showInternalMessageDialog(Component, |
Documentation changed from old to new. |
Brings up an internal confirmation dialog panel. |
void showInternalMessageDialog(Component, |
Documentation changed from old to new. |
Brings up an internal dialog panel that displays a message using a default icon determined by the messageType parameter. |
void showInternalMessageDialog(Component, |
Documentation changed from old to new. |
Brings up an internal dialog panel displaying a message specifying all parameters. |
void showMessageDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up an information-message dialog titled "Message". |
void showMessageDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog that displays a message using a default icon determined by the messageType parameter. |
void showMessageDialog(Component, |
Change in exceptions thrown from no exceptions to HeadlessException .Documentation changed from old to new. |
Brings up a dialog displaying a message specifying all parameters. |
Changed Fields | ||
int CLOSED_OPTION |
Documentation changed from old to new. |
Return value from class method if user closes window without selecting anything more than likely this should be treated as either a CANCEL_OPTION or NO_OPTION . |
int DEFAULT_OPTION |
Documentation changed from old to new. |
Type used for showConfirmDialog . |
String ICON_PROPERTY |
Documentation changed from old to new. |
Bound property name for icon . |
String INITIAL_SELECTION_VALUE_PROPERTY |
Documentation changed from old to new. |
Bound property name for initialSelectionValue . |
String INITIAL_VALUE_PROPERTY |
Documentation changed from old to new. |
Bound property name for initialValue . |
String INPUT_VALUE_PROPERTY |
Documentation changed from old to new. |
Bound property name for inputValue . |
String MESSAGE_PROPERTY |
Documentation changed from old to new. |
Bound property name for message . |
String MESSAGE_TYPE_PROPERTY |
Documentation changed from old to new. |
Bound property name for type . |
int OK_CANCEL_OPTION |
Documentation changed from old to new. |
Type used for showConfirmDialog . |
String OPTIONS_PROPERTY |
Documentation changed from old to new. |
Bound property name for option . |
String OPTION_TYPE_PROPERTY |
Documentation changed from old to new. |
Bound property name for optionType . |
String SELECTION_VALUES_PROPERTY |
Documentation changed from old to new. |
Bound property name for selectionValues . |
String VALUE_PROPERTY |
Documentation changed from old to new. |
Bound property name for value . |
String WANTS_INPUT_PROPERTY |
Documentation changed from old to new. |
Bound property name for wantsInput . |
int YES_NO_CANCEL_OPTION |
Documentation changed from old to new. |
Type used for showConfirmDialog . |
int YES_NO_OPTION |
Documentation changed from old to new. |
Type used for showConfirmDialog . |
Object initialSelectionValue |
Documentation changed from old to new. |
Initial value to select in selectionValues . |
Object initialValue |
Documentation changed from old to new. |
Value that should be initially selected in options . |
int optionType |
Documentation changed from old to new. |
Option type one of DEFAULT_OPTION YES_NO_OPTION YES_NO_CANCEL_OPTION or OK_CANCEL_OPTION . |
Object value |
Documentation changed from old to new. |
Currently selected value will be a valid option or UNINITIALIZED_VALUE or null . |
|
|||||||||
PREV CLASS NEXT CLASS FRAMES NO FRAMES |