Modifier and Type | Method and Description |
---|---|
ExtendedDialog |
ExtendedDialog.configureContextsensitiveHelp(java.lang.String helpTopic,
boolean showHelpButton)
Configures how this dialog support for context sensitive help.
|
ExtendedDialog |
ExtendedDialog.setButtonIcons(javax.swing.Icon[] buttonIcons)
Allows decorating the buttons with icons.
|
ExtendedDialog |
ExtendedDialog.setButtonIcons(java.lang.String[] buttonIcons)
Convenience method to provide image names instead of images.
|
ExtendedDialog |
ExtendedDialog.setCancelButton(java.lang.Integer... cancelButtonIdx)
Used in combination with toggle:
If the user presses 'cancel' the toggle settings are ignored and not saved to the pref
|
ExtendedDialog |
ExtendedDialog.setContent(java.awt.Component content)
Sets the content that will be displayed in the message dialog.
|
ExtendedDialog |
ExtendedDialog.setContent(java.awt.Component content,
boolean placeContentInScrollPane)
Sets the content that will be displayed in the message dialog.
|
ExtendedDialog |
ExtendedDialog.setContent(java.lang.String message)
Sets the message that will be displayed.
|
ExtendedDialog |
ExtendedDialog.setDefaultButton(int defaultButtonIdx)
Sets the button that will react to ENTER.
|
ExtendedDialog |
ExtendedDialog.setIcon(javax.swing.Icon icon)
Decorate the dialog with an icon that is shown on the left part of
the window area.
|
ExtendedDialog |
ExtendedDialog.setIcon(int messageType)
Convenience method to allow values that would be accepted by JOptionPane as messageType.
|
ExtendedDialog |
ExtendedDialog.setRememberWindowGeometry(java.lang.String pref,
org.openstreetmap.josm.tools.WindowGeometry wg)
Call this if you want the dialog to remember the size set by the user.
|
ExtendedDialog |
ExtendedDialog.setToggleCheckboxText(java.lang.String text)
Overwrites the default "Don't show again" text of the toggle checkbox
if you want to give more information.
|
ExtendedDialog |
ExtendedDialog.setToolTipTexts(java.lang.String[] toolTipTexts)
Allows decorating the buttons with tooltips.
|
ExtendedDialog |
ExtendedDialog.showDialog()
Show the dialog to the user.
|
ExtendedDialog |
ExtendedDialog.toggleDisable()
Call this if you "accidentally" called toggleEnable.
|
ExtendedDialog |
ExtendedDialog.toggleEnable(java.lang.String togglePref)
Calling this will offer the user a "Do not show again" checkbox for the
dialog.
|