Class OKCancelDialog
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- java.awt.Window
-
- java.awt.Dialog
-
- javax.swing.JDialog
-
- ro.sync.exml.workspace.api.standalone.ui.OKCancelDialog
-
- All Implemented Interfaces:
java.awt.image.ImageObserver
,java.awt.MenuContainer
,java.io.Serializable
,javax.accessibility.Accessible
,javax.swing.RootPaneContainer
,javax.swing.WindowConstants
,HelpPageProvider
- Direct Known Subclasses:
OKCancelDialog
,SATableSplitCustomizerDialog
@API(type=EXTENDABLE, src=PUBLIC) public class OKCancelDialog extends javax.swing.JDialog implements HelpPageProvider
Dialog with OK and Cancel buttons.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javax.swing.JDialog
javax.swing.JDialog.AccessibleJDialog
-
Nested classes/interfaces inherited from class java.awt.Dialog
java.awt.Dialog.AccessibleAWTDialog, java.awt.Dialog.ModalExclusionType, java.awt.Dialog.ModalityType
-
Nested classes/interfaces inherited from class java.awt.Window
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
-
-
Field Summary
Fields Modifier and Type Field Description protected static ro.sync.i18n.MessageBundle
messages
The messages resource bundle.static int
RESULT_CANCEL
Dialog was canceled.static int
RESULT_OK
'Ok' button was pressed.-
Fields inherited from class javax.swing.JDialog
accessibleContext, rootPane, rootPaneCheckingEnabled
-
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
-
Fields inherited from interface ro.sync.ui.application.HelpPageProvider
ADD_ADDITIONAL_LIBRARIES_TO_FOP, ADD_EDIT_REMOVE_REPOS_LOCATIONS, ADD_RESOURCES_WORKING_COPY, ADDING_A_PROCESSING_INSTRUCTION, ADDITIONAL_XSLT_STYLESHEETS, ADVANCED_SAXON_XSLT_OPTIONS, ANNOTATIONS_VIEW, ANT_HIERARCHY_VIEW, ANT_OUTLINE, ANT_PREFERENCES, ANT_TRANSFORMATION, ANT_TRANSFORMATION_OPTIONS_TAB, APPLICATION_ERROR_ON_START, APPLY_PROFILING_ATTRIBUTES, ARCHIVE_BROWSER_VIEW, ASSOCIATE_SCHEMA_TO_DOCUMENT, ATTRIBUTES_PANEL, ATTRIBUTES_RENDERING_PAGE, AUDIO_PLAYER, AUTHENTICATION, AUTHOR_ATTRIBUTES_VIEW, AUTHOR_CALLOUTS, AUTHOR_CHANGE_TRACKING, AUTHOR_DITA_DOC_TYPE, AUTHOR_DITA_EXTENSIONS, AUTHOR_DITA_MAP_DOC_TYPE, AUTHOR_DOCBOOK4_DOC_TYPE, AUTHOR_DOCBOOK4_EXTENSIONS, AUTHOR_DOCBOOK5_DOC_TYPE, AUTHOR_DOCUMENT_TYPE_SHARING, AUTHOR_EDITOR, AUTHOR_ELEMENTS_VIEW, AUTHOR_MANAGING_COMMENTS, AUTHOR_TEIP5_DOC_TYPE, AUTHOR_XHTML_DOC_TYPE, AUTOCORRECT_DICTIONARIES_PREFERENCES_PAGE, AUTOCORRECT_PREFERENCES_PAGE, BRANCH_TAG, BROWSER, BUTTON, BUTTON_GROUP, CALLOUTS_PREFERENCES_PAGE, CANONICALIZING_FILES, CARET_NAVIGATION, CHANGE_FILE_PERMISSIONS_FTP_SERVER, CHECK_BOX, CHECK_FOR_NEW_VERSIONS, CHECK_OUT_WORKING_COPY, CHEMISTRY_TRANSFORMATION, COLORS_AND_STYLES_PREFERENCES, COMBO_BOX, COMPARE_DIRECTORIES_3_WAY, COMPARE_IMAGES, COMPARING_AND_MERGING_DOCUMENTS, COMPILE_XSL_FOR_SAXON, COMPOSING_SOAP_REQUEST, COMPOSING_WEB_SERVICE_CALLS, COMPRESS_CSS, COMPRESS_HTML, CONDITION_SETS_MANAGEMENT, CONFIGURE_DB2_CONNECTION, CONFIGURE_DB2_DATASOURCE, CONFIGURE_EXIST_CONNECTION, CONFIGURE_EXIST_DATASOURCE, CONFIGURE_JDBC_ODBC_CONNECTION, CONFIGURE_MARKLOGIC_CONNECTION, CONFIGURE_MARKLOGIC_DATASOURCE, CONFIGURE_ORACLE_CONNECTION, CONFIGURE_ORACLE_DATASOURCE, CONFIGURE_POSTGRESQL_CONNECTION, CONFIGURE_POSTGRESQL_DATASOURCE, CONFIGURE_SHAREPOINT_CONNECTION, CONFIGURE_SQLSERVER_CONNECTION, CONFIGURE_SQLSERVER_DATASOURCE, CONFIGURE_TOOLBARS, CONFIGURE_WEBDAV_CONNECTION, CONREF_PUSH_MECHANISM, CONSOLE_VIEW, CONVERT_DB_TABLE_STRUCTURE_TO_XML_SCHEMA, CONVERT_JSON_TO_XML, CONVERT_XML_TO_JSON, CONVERTING_BETWEEN_SCHEMA_LANGUAGES, COPY_RESOURCES_WORKING_COPY, CREATE_NEW_PROJECT, CREATE_PATCH_REPOSITORY, CREATE_PATCH_TWO_REVISIONS, CREATE_PATCH_WC_REPOSITORY, CREATE_VALIDATION_SCENARIO, CREATING_FROM_TEMPLATES, CREATING_NEW_DOCUMENTS, CSS_INSPECTOR_VIEW, CUSTOM_DITA_OT_DISADVANTAGES_TOPIC_ID, CUSTOM_DOCUMENTATION_XML_SCHEMA, CUSTOM_DOCUMENTATION_XSLT_STYLESHEET, CUSTOM_EDITOR_VARIABLES, DATE_PICKER, DB2_XML_SCHEMA_REPOSITORY_LEVEL, DEBUG_BREAKPOINTS_VIEW, DEBUG_CONTEXT_NODE_VIEW, DEBUG_MESSAGES_VIEW, DEBUG_NODE_SET_VIEW, DEBUG_OUTPUT_MAPPING_STACK_VIEW, DEBUG_STACK_VIEW, DEBUG_TEMPLATES_VIEW, DEBUG_TRACE_VIEW, DEBUG_VARIABLES_VIEW, DEBUG_XWATCH_VIEW, DETECTING_MAIN_FILES, DG_CONFIGURE_CONTENT_COMPLETION, DG_CONFIGURE_TOOLBAR, DG_CONFIGURING_ACTIONS_MENUS_TOOLBAR, DG_CONFIGURING_AUTHOR_MENU, DG_CSS_STYLESHEET, DG_CUSTOMIZE_DEFAULT_CSS, DIFF_COMPARE_IMAGES, DIFF_VIEW, DITA_ADDING_IMAGES, DITA_ADDING_MEDIA, DITA_CONFIGURE_CUSTOM_FOP_PAGE_ID, DITA_EDIT_PROPERTIES, DITA_HIERARCHY, DITA_INSERT_TOPIC_HEAD, DITA_INSERT_TOPIC_REF, DITA_MAP_CUSTOMIZE_SCENARIO, DITA_MAP_EDIT_FEEDBACK, DITA_MAP_EDIT_FILTERS, DITA_MAP_EDIT_PARAMETERS, DITA_MAP_TRANSFORM, DITA_MAP_VALIDATE, DITA_MAPS_EDITING_ACTIONS, DITA_MAPS_MANAGER, DITA_OPTIONS, DITA_OT_TRANSFORMATION_OPTIONS_TAB, DITA_REUSABLE_COMPONENT, DITA_REUSABLE_COMPONENTS_VIEW, DOCKABLE_VIEWS_AND_EDITORS, DOCUMENT_TYPE_ASSOCIATION_RULES_TAB, DOCUMENT_TYPE_CATALOGS_TAB, DOCUMENT_TYPE_CLASSPATH_TAB, DOCUMENT_TYPE_EXTENSIONS_TAB, DOCUMENT_TYPE_SCHEMA_TAB, DOCUMENT_TYPE_TEMPLATES_TAB, DOCUMENT_TYPE_TRANSFORMATION_TAB, DOCUMENT_TYPE_VALIDATION_TAB, DOCUMENTATION_XML_SCHEMA, DOCUMENTATION_XSLT_STYLESHEET, DOWNLOAD_DATABASE_DRIVERS, DROP_INCOMING, EC_OPEN_URL_DIALOG, EDIT_CONFLICT, EDIT_SCENARIO_DIALOG, EDITING_ANT_BUILD_FILES, EDITING_CSS_STYLESHEETS, EDITING_DOCUMENTS, EDITING_JSON, EDITING_JSON_SCHEMA, EDITING_JSON5, EDITING_JSONL, EDITING_LESS_CSS_STYLESHEETS, EDITING_NVDL_SCHEMAS, EDITING_RELAX_NG_SCHEMAS, EDITING_SCHEMATRON, EDITING_WSDL_DOCUMENTS, EDITING_XML_DOCUMENTS, EDITING_XML_SCHEMA_SCHEMAS, EDITING_XPROC_SCRIPTS, EDITING_XQUERY_DOCUMENTS, EDITING_XSLT_STYLESHEETS, EDITING_YAML, EDITOR_DESCRIPTION, EDITOR_PERSPECTIVE, EDITOR_VARIABLES_PAGE_ID, ENTITIES_VIEW, EPPO_INLINE_LINKING, EXPORT_REPOS, FACETS_EDITING_PATTERNS, FAST_CREATE_TOPICS, FAST_EXIST_CONNECTION, FILE_COMPARISON, FIND_ALL_ELEMENTS_DIALOG, FIND_AND_REPLACE_TEXT_IN_FILES, FIND_UNREFERENCED_RESOURCES, FIND_XSLT_REFERENCES_AND_DECLARATIONS, FORMAT_AND_INDENT_MULTIPLE_FILES, FRAMEWORK_CUSTOMIZATION_SCRIPT, FRAMEWORK_LOCATION, GENERATE_HTML_REPORT_FOR_DIRECTORY_COMPARISON, GRID_ACTIONS, GRID_MODE_EDITOR, HELP_MENU, HEX_VIEWER, HISTORY_ACTIONS, HISTORY_FILTERS_DIALOG, HISTORY_VIEW, HOTSPOTS_VIEW, HOW_FLOATING_LICENSES_WORK, HTML_CONTENT, HTML_DOCUMENTATION_XML_SCHEMA, HTML_DOCUMENTATION_XQUERY_DOCUMENTS, HTML_WELLFORM_DETAILS, HTTPS_WEBDAV_PREFERENCES, IGNORE_RESOURCES_WORKING_COPY, IMAGE_MAP_EDITOR, IMAGE_PREVIEW, IMPORT_DATABASE, IMPORT_DB_TABLE_CONTENT_TO_XML, IMPORT_EXCEL, IMPORT_HTML, IMPORT_REPOS, IMPORT_TEXT, INCLUDING_DOCUMENT_PARTS_WITH_XINCLUDE, INSERT_DEFINE_KEYS, INSERT_DITA_CONTENT_REFERENCE, INSTALLING_AND_UPDATING_ADD_ONS, INTERNAL_HELP_PREFIX, INVOCATION_TREE_VIEW, JAVA_CLASSES_GENERATOR, JSON_INSTANCE_GENERATOR, JSON_OUTLINER_VIEW, JSON_SCHEMA_CONTEXTUAL_MENU_ACTIONS, JSON_SCHEMA_CONVERTER, JSON_SCHEMA_DIAGRAM_EDITING_ACTIONS, JSON_SCHEMA_DIAGRAM_OUTLINE_VIEW, JSON_SCHEMA_DIAGRAM_PALETTE_VIEW, JSON_SCHEMA_DOC_GENERATOR, JSON_SCHEMA_DOCUMENTATION_GENERATOR, JSON_SCHEMA_FLATTEN, JSON_SCHEMA_INSTANCE_GENERATOR, JSON_TO_YAML, JSON_VALIDATION_SCENARIO, LARGE_FILE_VIEWER, LOCK_UNLOCK_WORKING_COPY, MAIN_FILES_SUPPORT_HELP_PAGE, MAIN_HELP_PAGE_ID, MARKDOWN_ACTIONS, MARKDOWN_DITA, MARKDOWN_EDITOR, MERGE_BRANCH, MERGE_BRANCHES, MERGE_DIRECTORIES_WITH_CHANGE_TRACKING_HIGHLIGHTS, MERGE_DOCUMENTS_WITH_CHANGE_TRACKING_HIGHLIGHTS, MERGE_OPTIONS, MERGE_REVISIONS_RANGE, MERGE_TREES, MODEL_PANEL, MOVE_RENAME_RESOURCE, MOVE_RENAME_RESOURCES_PROJECT_VIEW, NEW_DIALOG_ECLIPSE, NEW_DIALOG_SA, NEW_DICTIONARIES_HELP_PAGE_ID, NEW_SCENARIO_DITA_OT, NEW_SCENARIO_GENERIC, NEW_SCENARIO_XQUERY, NEW_TOPIC_DIALOG, NO_HELP_PAGE_ID, OPEN_FIND_RESOURCE_DIALOG, OPEN_FIND_RESOURCE_VIEW, OPERATIONS_REPOS, ORACLE_XML_SCHEMA_REPOSITORY_LEVEL, OUTLINER_VIEW, OXYGEN_BROWSER_VIEW, OXYGEN_TEXT_VIEW, OXYGEN_XPATH_VIEW, POP_UP, PRE_MERGE_CHECKS, PREFERENCES_ADVANCED_XQUERY_SAXON, PREFERENCES_ADVANCED_XSLT_SAXON8, PREFERENCES_APPEARANCE, PREFERENCES_APPLICATION_LAYOUT, PREFERENCES_ARCHIVE, PREFERENCES_ATTRIBUTES_AND_CONDITION_SETS, PREFERENCES_AUTHOR, PREFERENCES_AUTHOR_MATHML, PREFERENCES_AUTHOR_SERIALIZATION, PREFERENCES_CERTIFICATES, PREFERENCES_COLORS, PREFERENCES_COLORS_ELEMENTS_BY_PREFIX, PREFERENCES_COLORS_SH, PREFERENCES_CONTENT_COMPLETION, PREFERENCES_CONTENT_COMPLETION_ANNOTATIONS, PREFERENCES_CONTENT_COMPLETION_JS, PREFERENCES_CONTENT_COMPLETION_JSON, PREFERENCES_CONTENT_COMPLETION_XPATH, PREFERENCES_CONTENT_COMPLETION_XSD, PREFERENCES_CONTENT_COMPLETION_XSL, PREFERENCES_CONTENT_COMPLETION_YAML, PREFERENCES_CSS_PROCESSORS, PREFERENCES_CSS_VALIDATOR, PREFERENCES_CUSTOM_EDITOR_VARIABLES, PREFERENCES_CUSTOM_ENGINES, PREFERENCES_DATABASE, PREFERENCES_DATABASE_FILTERS, PREFERENCES_DEBUGGER, PREFERENCES_DIFF_APPEARANCE, PREFERENCES_DIFF_DIR_APPEARANCE, PREFERENCES_DIFF_DIRS, PREFERENCES_DIFF_FILES, PREFERENCES_DITA_LOGGING, PREFERENCES_DITA_MAPS, PREFERENCES_DITA_NEW_TOPICS, PREFERENCES_DITA_PUBLISHING, PREFERENCES_DOCUMENT_TYPE_ASSOCIATION, PREFERENCES_EC_LICENSE_INFORMATION, PREFERENCES_EDITOR, PREFERENCES_EDITOR_CODE_TEMPLATES, PREFERENCES_EDITOR_CUSTOM_VALIDATION, PREFERENCES_EDITOR_DIAGRAM, PREFERENCES_EDITOR_DOCUMENT_CHECKING, PREFERENCES_EDITOR_DOCUMENT_TEMPLATES, PREFERENCES_EDITOR_FORMAT, PREFERENCES_EDITOR_FORMAT_CSS, PREFERENCES_EDITOR_FORMAT_JS, PREFERENCES_EDITOR_FORMAT_XML, PREFERENCES_EDITOR_FORMAT_XML_WHITESPACES, PREFERENCES_EDITOR_FORMAT_XPATH, PREFERENCES_EDITOR_FORMAT_XQUERY, PREFERENCES_EDITOR_OPEN, PREFERENCES_EDITOR_OPEN_SAVE, PREFERENCES_EDITOR_PAGES, PREFERENCES_EDITOR_PRINT, PREFERENCES_EDITOR_SAVE, PREFERENCES_EDITOR_SCHEMA, PREFERENCES_EDITOR_SCHEMA_PROPERTIES, PREFERENCES_EDITOR_SPELL_CHECK, PREFERENCES_EDITOR_TEXT, PREFERENCES_ENCODING, PREFERENCES_EXTENSIONS, PREFERENCES_EXTERNAL_TOOLS, PREFERENCES_FILE_TYPES, PREFERENCES_FO_PROCESSORS, PREFERENCES_FONTS, PREFERENCES_FTP_CONFIGURATION, PREFERENCES_GLOBAL, PREFERENCES_GRID, PREFERENCES_IGNORED_EDITOR_PROBLEMS, PREFERENCES_MARK_OCCURRENCES, PREFERENCES_MARKDOWN, PREFERENCES_MENU_SHORTCUT_KEYS, PREFERENCES_MESSAGES, PREFERENCES_MSXML_3_AND_4, PREFERENCES_MSXML_DOT_NET, PREFERENCES_OPEN_FIND_RESOURCES, PREFERENCES_OUTLINE, PREFERENCES_PLUGINS, PREFERENCES_PROFILER, PREFERENCES_PROFILING_CONDITIONS, PREFERENCES_SCENARIOS_MANAGEMENT, PREFERENCES_SCHEMA_AWARE, PREFERENCES_SVN, PREFERENCES_SVN_DIFF, PREFERENCES_SVN_FILE_EDITORS, PREFERENCES_SVN_MESSAGES, PREFERENCES_TRACK_CHANGES, PREFERENCES_VIEW, PREFERENCES_XML_CATALOG, PREFERENCES_XML_IMPORT, PREFERENCES_XML_INSTANCES_GENERATOR, PREFERENCES_XML_PARSER, PREFERENCES_XPATH, PREFERENCES_XPROC_ENGINES, PREFERENCES_XQUERY, PREFERENCES_XQUERY_SAXON, PREFERENCES_XSLT, PREFERENCES_XSLT_SAXON6, PREFERENCES_XSLT_SAXON8, PREFERENCES_XSLT_XQUERY, PREFERENCES_XSLTPROC, PRINTING_A_FILE, PROBLEMS_UPDATING_REFERENCES, PROFILING_ATTRIBUTES_MANAGEMENT, PROFILING_CONDITIONAL_TEXT, PROFILING_CONDITIONAL_TEXT_MENU, PROJECT_LEVEL_SETTINGS, PROPERTIES_VIEW, PROXY_PREFERENCES, QUICK_FIND_TOOLBAR, RANDOMIZE_XML_CONTENT, REGISTER_LICENSE_KEY, RELATIONAL_DATABASE_EXPLORER, RELATIONAL_SQL_EXECUTION_SUPPORT, RELATIONAL_TABLE_EXPLORER, RELAX_NG_PREFERENCES_PAGE, RELOCATE_WORKING_COPY, RENAME_RESOURCES_WORKING_COPY, REPOS_MENU, REPOSITORY_VIEW, RESOLVE_MERGE_CONFLICTS, RESULTS_VIEW, REVERT_CHANGES, REVIEW_VIEW, RNG_HIERARCHY_VIEW, ROOT_MAP, SA_OPEN_URL_DIALOG, SCAN_LOCKS, SCENARIOS_VIEW, SCHEMATRON_HIERARCHY, SCHEMATRON_PREFERENCES_PAGE, SCRATCH_BUFFER, SEARCH_REFACTOR_OPERATIONS_XML_ID_IDREFS, SEND_CHANGES, SET_PARAMETER_IN_STARTUP_SCRIPT, SET_PARAMETER_IN_STARTUP_SCRIPT_ID, SET_XML_SCHEMA_VERSION, SHAREPOINT_CONNECTION_ACTIONS, SHAREPOINT_VIEW, SHOW_INFO, SHOW_PROPERTIES, SIGNING_FILES, SPELL_CHECK_DICTIONARIES_PREFERENCES_PAGE, SPELL_CHECK_IN_FILES, SQL_TRANSFORMATION, SQL_VALIDATION, SQLSERVER_XML_SCHEMA_REPOSITORY_LEVEL, SSH_PREFERENCES, SUBJECT_SCHEME_MAP, SVG_DOCUMENTS, SVN_DIR_CHANGE_SET_VIEW, SVN_MAIN_MENU, SVN_PATCHES, SVN_PREVIEW_IMAGES, SVN_SHARE_PROJECT, SWITCH_EDITOR_TAB, SWITCH_REPOSITORY_LOCATION, SYNCHRONIZE_BRANCH, TEMPLATES_TAB_WHR, TESTING_REMOTE_WSDL_FILES, TEXT_AREA, TEXT_ELEMENTS_VIEW, TEXT_FIELD, TEXT_MODE_ACTIONS, TEXT_MODE_EDITOR, TEXT_MODE_JAVASCRIPT, THE_ACTIONS_SUB_TAB, THE_CONTENT_COMPLETION_TAB, THE_CONTEXTUAL_MENU_SUB_TAB, THE_CSS_SUB_TAB, THE_DOCUMENT_TYPE_DIALOG, THE_MENU_SUB_TAB, THE_TOOLBAR_TAB, THE_WELCOME_DIALOG, TRANSFORM_XQUERY_ADVANCED_SAXON_OPTIONS, TRANSLATE_FRAMEWORKS, TREE_CONFLICT, TREE_EDITOR_PERSPECTIVE, TRUSTED_HOSTS_SETTINGS, UNICODE_TOOLBAR, UPDATE_NEWLY_ADDED_RESOURCES, URL_CHOOSER, USING_GO_TO_DIALOG, USING_SPELL_CHECKING, USING_THE_PROJECT_VIEW, USING_XML_CATALOGS, VALIDATING_XML_DOCUMENTS_AGAINST_SCHEMA, VALIDATION_SCENARIO, VERIFYING_SIGNATURE, VIDEO_PLAYER, VIEW_STATUS_INFORMATION, VIEWING_FILE_PROPERTIES, WEBDAV_OVER_HTTPS, WHR_CUSTOM_TEMPLATES_ERRORS, WHR_SAVE_TEMPLATE_AS, WORKING_COPY_MENU, WORKING_COPY_VIEW, WORKING_WITH_UNICODE, WSDL_GENERATING_DOCUMENTATION, WSDL_OUTLINE_VIEW, WSDL_RESOURCE_HIERARCHY_DEPENDENCIES_VIEW, XML_REFACTORING_PREFERENCES_PAGE, XML_REFACTORING_WIZARD, XML_RESOURCE_HIERARCHY_VIEW, XML_SCHEMA_DIAGRAM_ATTRIBUTES_VIEW, XML_SCHEMA_DIAGRAM_EDITING_ACTIONS, XML_SCHEMA_DIAGRAM_FACETS_VIEW, XML_SCHEMA_DIAGRAM_INTRODUCTION, XML_SCHEMA_DIAGRAM_OUTLINE_VIEW, XML_SCHEMA_DIAGRAM_PALETTE_VIEW, XML_SCHEMA_DIAGRAM_SCHEMA_NAMESPACES, XML_SCHEMA_FLAT, XML_SCHEMA_HIERARCHY, XML_SCHEMA_INSTANCE_GENERATOR, XML_SCHEMA_PREFERENCES_PAGE, XML_SCHEMA_REGEXP_BUILDER, XML_SCHEMA_SEARCH_REFERENCES, XPATH_ACTIVATION_EXPRESSIONS, XPATH_BUILDER_VIEW, XPATH_CONSOLE, XPROC_TRANSFORMATION_INPUTS_TAB, XPROC_TRANSFORMATION_OUTPUTS_TAB, XPROC_TRANSFORMATION_SCENARIO, XQUERY_DEBUGGER_PERSPECTIVE, XQUERY_EXTENSIONS, XQUERY_OUTLINE, XSD_TO_JSON_SCHEMA_CONVERTER, XSLT_DEBUGGER_PERSPECTIVE, XSLT_EXTENSIONS, XSLT_HIERARCHY_VIEW, XSLT_OUTLINE, XSLT_REFACTORING_ACTIONS, XSLT_STYLESHEET_PARAMETERS, XSLT_TAB, XSLT_UNIT_TEST_XSPEC, XSLT_XQUERY_INPUT_VIEW, YAML_OUTLINER_VIEW, YAML_TO_JSON
-
-
Constructor Summary
Constructors Constructor Description OKCancelDialog(java.awt.Frame parentFrame, java.lang.String title, boolean modal)
Constructor.OKCancelDialog(javax.swing.JFrame parentFrame, java.lang.String title, boolean modal)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.awt.Window
detectParentFrame(java.awt.Window parentFrame)
Try to detect the parent frame ifnull
or not showing.protected void
doCancel()
Cancel pressed.protected void
doOK()
OK pressed.protected void
enterKeyPressed()
Enter key pressed.javax.swing.JButton
getCancelButton()
java.awt.Container
getContentPane()
java.lang.String
getHelpPageID()
Get the help page ID.protected java.awt.Dimension
getHiDPIAwareDimension(java.awt.Dimension initialDimension)
Deprecated.Kept for backwards compatibility, no longer necessary with java 9+javax.swing.JButton
getOkButton()
int
getResult()
Gets the result of the the dialog.void
setCancelButtonText(java.lang.String text)
Sets the text on the cancel button.protected void
setDialogLocation()
Set dialog location.void
setOkButtonText(java.lang.String text)
Sets the text on the ok button.void
setVisible(boolean visible)
-
Methods inherited from class javax.swing.JDialog
addImpl, createRootPane, dialogInit, getAccessibleContext, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
-
Methods inherited from class java.awt.Dialog
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, show, toBack
-
Methods inherited from class java.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeNotify, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
-
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
-
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setMixingCutoutShape, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
RESULT_CANCEL
public static final int RESULT_CANCEL
Dialog was canceled.- See Also:
- Constant Field Values
-
RESULT_OK
public static final int RESULT_OK
'Ok' button was pressed.- See Also:
- Constant Field Values
-
messages
protected static final ro.sync.i18n.MessageBundle messages
The messages resource bundle.
-
-
Constructor Detail
-
OKCancelDialog
public OKCancelDialog(javax.swing.JFrame parentFrame, java.lang.String title, boolean modal)
Constructor.- Parameters:
parentFrame
- The parent frame. Can benull
in which case it will be auto detected.title
- The dialog title.modal
-true
if modal.
-
OKCancelDialog
public OKCancelDialog(java.awt.Frame parentFrame, java.lang.String title, boolean modal)
Constructor.- Parameters:
parentFrame
- The parent frame. Can benull
in which case it will be auto detected.title
- The dialog title.modal
-true
if modal.
-
-
Method Detail
-
detectParentFrame
public static java.awt.Window detectParentFrame(java.awt.Window parentFrame)
Try to detect the parent frame ifnull
or not showing.- Parameters:
parentFrame
- The parent frame.- Returns:
- the parent frame.
- Since:
- 24
-
doOK
protected void doOK()
OK pressed.
-
enterKeyPressed
protected void enterKeyPressed()
Enter key pressed. If ok button is enabled call doOk method.Subclasses can overwrite this method to make default action.
-
doCancel
protected void doCancel()
Cancel pressed.
-
getResult
public int getResult()
Gets the result of the the dialog. Used after show.- Returns:
- The result value.
-
setOkButtonText
public void setOkButtonText(java.lang.String text)
Sets the text on the ok button.- Parameters:
text
- The text value.
-
setCancelButtonText
public void setCancelButtonText(java.lang.String text)
Sets the text on the cancel button.- Parameters:
text
- The text value.
-
getContentPane
public java.awt.Container getContentPane()
- Specified by:
getContentPane
in interfacejavax.swing.RootPaneContainer
- Overrides:
getContentPane
in classjavax.swing.JDialog
- See Also:
JDialog.getContentPane()
-
getOkButton
public javax.swing.JButton getOkButton()
- Returns:
- Returns the okButton.
-
getCancelButton
public javax.swing.JButton getCancelButton()
- Returns:
- Returns the cancelButton.
-
setVisible
public void setVisible(boolean visible)
- Overrides:
setVisible
in classjava.awt.Dialog
- See Also:
Dialog.setVisible(boolean)
-
setDialogLocation
protected void setDialogLocation()
Set dialog location. By default it is relative to the owner window.
-
getHiDPIAwareDimension
@Deprecated protected java.awt.Dimension getHiDPIAwareDimension(java.awt.Dimension initialDimension)
Deprecated.Kept for backwards compatibility, no longer necessary with java 9+Kept for backwards compatibility, no longer necessary with java 9+ Get the high DPI aware dimension.- Parameters:
initialDimension
- The initial dimension.- Returns:
- The computed dimension if we have a high DPI screen with no implicit support form the OS (e.g. Windows), or the initial dimension otherwise.
-
getHelpPageID
public java.lang.String getHelpPageID()
Get the help page ID. If an implementation returns a help page ID, the dialog will contain an extra "Help" button in the bottom left. If the returned help page ID is an URL, a web browser will be opened pointing to that URL when the user presses F1 in the dialog or when using the Help button. If the returned help page ID is an identifier, when help is invoked, the application will open the Oxygen User's Manual and locate this identifier inside it.- Specified by:
getHelpPageID
in interfaceHelpPageProvider
- Returns:
- the help page id for this provider. If not needed please return NO_HELP_PAGE_ID
- Since:
- 18
- See Also:
HelpPageProvider.getHelpPageID()
-
-