Package | Description |
---|---|
org.openstreetmap.josm.actions | |
org.openstreetmap.josm.gui |
Modifier and Type | Method and Description |
---|---|
static HelpAwareOptionPane.ButtonSpec[] |
RestartAction.getButtonSpecs()
Returns default
ButtonSpec instances for this action (Restart/Cancel). |
static HelpAwareOptionPane.ButtonSpec |
RestartAction.getCancelButtonSpec()
Returns a new
ButtonSpec instance that do not perform this action. |
static HelpAwareOptionPane.ButtonSpec |
RestartAction.getRestartButtonSpec()
Returns a new
ButtonSpec instance that performs this action. |
Modifier and Type | Method and Description |
---|---|
private static java.util.List<javax.swing.JButton> |
HelpAwareOptionPane.createOptionButtons(HelpAwareOptionPane.ButtonSpec[] options,
java.lang.String helpTopic)
Creates the list buttons to be displayed in the option pane dialog.
|
static int |
HelpAwareOptionPane.showOptionDialog(java.awt.Component parentComponent,
java.lang.Object msg,
java.lang.String title,
int messageType,
javax.swing.Icon icon,
HelpAwareOptionPane.ButtonSpec[] options,
HelpAwareOptionPane.ButtonSpec defaultOption,
java.lang.String helpTopic)
Displays an option dialog which is aware of a help context.
|
static int |
HelpAwareOptionPane.showOptionDialog(java.awt.Component parentComponent,
java.lang.Object msg,
java.lang.String title,
int messageType,
javax.swing.Icon icon,
HelpAwareOptionPane.ButtonSpec[] options,
HelpAwareOptionPane.ButtonSpec defaultOption,
java.lang.String helpTopic)
Displays an option dialog which is aware of a help context.
|