javax.swing.JScrollPane.getAccessibleContext()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(24.9k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中javax.swing.JScrollPane.getAccessibleContext()方法的一些代码示例,展示了JScrollPane.getAccessibleContext()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JScrollPane.getAccessibleContext()方法的具体详情如下:
包路径:javax.swing.JScrollPane
类名称:JScrollPane
方法名:getAccessibleContext

JScrollPane.getAccessibleContext介绍

暂无

代码示例

代码示例来源:origin: cmu-phil/tetrad

);
unselectedScrollPane.getAccessibleContext().setAccessibleName("Unselected");
unselectedScrollPane.getAccessibleContext().setAccessibleDescription("");

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-editor

/** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
  java.awt.GridBagConstraints gridBagConstraints;
  jScrollPane1 = new javax.swing.JScrollPane();
  cfgTree = new javax.swing.JTree();
  setName(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "LBL_Spaces")); // NOI18N
  setOpaque(false);
  setLayout(new java.awt.GridBagLayout());
  cfgTree.setRootVisible(false);
  jScrollPane1.setViewportView(cfgTree);
  cfgTree.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "FmtSpaces.cfgTree.AccessibleContext.accessibleName")); // NOI18N
  cfgTree.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "FmtSpaces.cfgTree.AccessibleContext.accessibleDescription")); // NOI18N
  gridBagConstraints = new java.awt.GridBagConstraints();
  gridBagConstraints.gridwidth = java.awt.GridBagConstraints.REMAINDER;
  gridBagConstraints.gridheight = java.awt.GridBagConstraints.REMAINDER;
  gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
  gridBagConstraints.weightx = 1.0;
  gridBagConstraints.weighty = 1.0;
  add(jScrollPane1, gridBagConstraints);
  jScrollPane1.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "FmtSpaces.jScrollPane1.AccessibleContext.accessibleName")); // NOI18N
  jScrollPane1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "FmtSpaces.jScrollPane1.AccessibleContext.accessibleDescription")); // NOI18N
  getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "FmtSpaces.AccessibleContext.accessibleName")); // NOI18N
  getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(FmtSpaces.class, "FmtSpaces.AccessibleContext.accessibleDescription")); // NOI18N
}// </editor-fold>//GEN-END:initComponents

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project

);
frameworksScrollPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(PhpFrameworksPanelVisual.class, "PhpFrameworksPanelVisual.frameworksScrollPane.AccessibleContext.accessibleName")); // NOI18N
frameworksScrollPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(PhpFrameworksPanelVisual.class, "PhpFrameworksPanelVisual.frameworksScrollPane.AccessibleContext.accessibleDescription")); // NOI18N
descriptionLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(PhpFrameworksPanelVisual.class, "PhpFrameworksPanelVisual.descriptionLabel.AccessibleContext.accessibleName")); // NOI18N
configPanel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(PhpFrameworksPanelVisual.class, "PhpFrameworksPanelVisual.configPanel.AccessibleContext.accessibleName")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-api-phpmodule

foundItemsScrollPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(SearchPanel.class, "SelectPhpInterpreterPanel.phpInterpretersScrollPane.AccessibleContext.accessibleName")); // NOI18N
foundItemsScrollPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(SearchPanel.class, "SelectPhpInterpreterPanel.phpInterpretersScrollPane.AccessibleContext.accessibleDescription")); // NOI18N
messageLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(SearchPanel.class, "SelectPhpInterpreterPanel.messageLabel.AccessibleContext.accessibleName")); // NOI18N
messageLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(SearchPanel.class, "SelectPhpInterpreterPanel.messageLabel.AccessibleContext.accessibleDescription")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project

ignorePathScrollPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(CustomizerIgnorePath.class, "CustomizerIgnorePath.ignorePathScrollPane.AccessibleContext.accessibleName")); // NOI18N
ignorePathScrollPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(CustomizerIgnorePath.class, "CustomizerIgnorePath.ignorePathScrollPane.AccessibleContext.accessibleDescription")); // NOI18N
addIgnorePathButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(CustomizerIgnorePath.class, "CustomizerIgnorePath.addIgnorePathButton.AccessibleContext.accessibleName")); // NOI18N
addIgnorePathButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(CustomizerIgnorePath.class, "CustomizerIgnorePath.addIgnorePathButton.AccessibleContext.accessibleDescription")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd

private void initAccessibility() {
  AccessibleContext context;
  context = getAccessibleContext();
  context.setAccessibleName(bundle.getString("ACSN_TARGET_EDITOR"));
  context.setAccessibleDescription(bundle.getString("ACSD_TARGET_EDITOR"));
  context = targetList.getAccessibleContext();
  context.setAccessibleName(bundle.getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(bundle.getString("ACSD_TARGET_LIST"));
  context = scrollPane.getAccessibleContext();
  context.setAccessibleName(bundle.getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(bundle.getString("ACSD_TARGET_LIST"));
  context = scrollPane.getHorizontalScrollBar().getAccessibleContext();
  context.setAccessibleName(bundle.getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(bundle.getString("ACSD_TARGET_LIST"));
  context = scrollPane.getVerticalScrollBar().getAccessibleContext();
  context.setAccessibleName(bundle.getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(bundle.getString("ACSD_TARGET_LIST"));
  addButton.getAccessibleContext().setAccessibleDescription(addButton.getText());
  editButton.getAccessibleContext().setAccessibleDescription(editButton.getText());
  removeButton.getAccessibleContext().setAccessibleDescription(removeButton.getText());
  upButton.getAccessibleContext().setAccessibleDescription(upButton.getText());
  downButton.getAccessibleContext().setAccessibleDescription(downButton.getText());
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project

);
debugUrlLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.debugUrlLabel.AccessibleContext.accessibleName"));         debugUrlLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.debugUrlLabel.AccessibleContext.accessibleDescription"));         defaultUrlRadioButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.defaultUrlRadioButton.AccessibleContext.accessibleName"));         defaultUrlRadioButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.defaultUrlRadioButton.AccessibleContext.accessibleDescription"));         defaultUrlPreviewLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.defaultUrlPreviewLabel.AccessibleContext.accessibleName"));         defaultUrlPreviewLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.defaultUrlPreviewLabel.AccessibleContext.accessibleDescription"));         askUrlRadioButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.askUrlRadioButton.AccessibleContext.accessibleName"));         askUrlRadioButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.askUrlRadioButton.AccessibleContext.accessibleDescription"));         doNotOpenBrowserRadioButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.doNotOpenBrowserRadioButton.AccessibleContext.accessibleName"));         doNotOpenBrowserRadioButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.doNotOpenBrowserRadioButton.AccessibleContext.accessibleDescription"));         pathMappingLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.pathMappingLabel.AccessibleContext.accessibleName"));         pathMappingLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.pathMappingLabel.AccessibleContext.accessibleDescription"));         pathMappingScrollPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.pathMappingScrollPane.AccessibleContext.accessibleName"));         pathMappingScrollPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.pathMappingScrollPane.AccessibleContext.accessibleDescription"));         newPathMappingButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.newPathMappingButton.AccessibleContext.accessibleName"));         newPathMappingButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.newPathMappingButton.AccessibleContext.accessibleDescription"));         removePathMappingButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.removePathMappingButton.AccessibleContext.accessibleName"));         removePathMappingButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.removePathMappingButton.AccessibleContext.accessibleDescription"));         pathMappingInfoLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.pathMappingInfoLabel.AccessibleContext.accessibleName"));         pathMappingInfoLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.pathMappingInfoLabel.AccessibleContext.accessibleDescription"));         proxyLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyLabel.AccessibleContext.accessibleName"));         proxyLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyLabel.AccessibleContext.accessibleDescription"));         proxyHostLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyHostLabel.AccessibleContext.accessibleName"));         proxyHostLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyHostLabel.AccessibleContext.accessibleDescription"));         proxyHostTextField.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyHostTextField.AccessibleContext.accessibleName"));         proxyHostTextField.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyHostTextField.AccessibleContext.accessibleDescription"));         proxyPortLabel.getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyPortLabel.AccessibleContext.accessibleName"));         proxyPortLabel.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyPortLabel.AccessibleContext.accessibleDescription"));         proxyPortTextField.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.proxyPortTextField.AccessibleContext.accessibleDescription")); 
getAccessibleContext().setAccessibleName(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.AccessibleContext.accessibleName"));         getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(RunAsWebAdvanced.class, "RunAsWebAdvanced.AccessibleContext.accessibleDescription")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project

projectFolderBrowseButton.getAccessibleContext().setAccessibleName(NbBundle.getMessage(ProjectFolder.class, "ProjectFolder.projectFolderBrowseButton.AccessibleContext.accessibleName")); // NOI18N
projectFolderBrowseButton.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(ProjectFolder.class, "ProjectFolder.projectFolderBrowseButton.AccessibleContext.accessibleDescription")); // NOI18N
projectFolderScrollPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(ProjectFolder.class, "ProjectFolder.projectFolderScrollPane1.AccessibleContext.accessibleName")); // NOI18N
projectFolderScrollPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(ProjectFolder.class, "ProjectFolder.projectFolderScrollPane1.AccessibleContext.accessibleDescription")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-project

);
configScrollPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.configScrollPane.AccessibleContext.accessibleName")); // NOI18N
configScrollPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.configScrollPane.AccessibleContext.accessibleDescription")); // NOI18N
addButton.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.addButton.AccessibleContext.accessibleName")); // NOI18N
addButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.addButton.AccessibleContext.accessibleDescription")); // NOI18N
separator.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.separator.AccessibleContext.accessibleName")); // NOI18N
separator.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.separator.AccessibleContext.accessibleDescription")); // NOI18N
configurationPanelScrollPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.configurationPanelScrollPane.AccessibleContext.accessibleName")); // NOI18N
configurationPanelScrollPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.configurationPanelScrollPane.AccessibleContext.accessibleDescription")); // NOI18N
testConnectionButton.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.testConnectionButton.AccessibleContext.accessibleName")); // NOI18N
testConnectionButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(RemoteConnectionsPanel.class, "RemoteConnectionsPanel.testConnectionButton.AccessibleContext.accessibleDescription")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-editor

columnLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(TableGeneratorPanel.class, "TableGeneratorPanel.columnLabel.AccessibleContext.accessibleName")); // NOI18N
columnLabel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(TableGeneratorPanel.class, "TableGeneratorPanel.columnLabel.AccessibleContext.accessibleDescription_1")); // NOI18N
columnScrollPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(TableGeneratorPanel.class, "TableGeneratorPanel.columnScrollPane.AccessibleContext.accessibleName")); // NOI18N
columnScrollPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(TableGeneratorPanel.class, "TableGeneratorPanel.columnScrollPane.AccessibleContext.accessibleDescription_1")); // NOI18N
connVariableLabel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(TableGeneratorPanel.class, "TableGeneratorPanel.connVariableLabel.AccessibleContext.accessibleName")); // NOI18N
connVariableTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(TableGeneratorPanel.class, "TableGeneratorPanel.connVariableTextField.AccessibleContext.accessibleName")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-php-editor

scrollPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(ConstructorPanel.class, "ConstructorPanel.scrollPane.AccessibleContext.accessibleName")); // NOI18N
scrollPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(ConstructorPanel.class, "ConstructorPanel.scrollPane.AccessibleContext.accessibleDescription")); // NOI18N
pGSCustomize.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(ConstructorPanel.class, "ConstructorPanel.pGSCustomize.AccessibleContext.accessibleName")); // NOI18N
pGSCustomize.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(ConstructorPanel.class, "ConstructorPanel.pGSCustomize.AccessibleContext.accessibleDescription")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-webui-designtime

gridBagConstraints.insets = new java.awt.Insets(0, 10, 17, 10);
add(jScrollPane1, gridBagConstraints);
jScrollPane1.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/visualweb/web/ui/dt/component/vforms/Bundle").getString("vformsTableAccessibleName"));
jScrollPane1.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/visualweb/web/ui/dt/component/vforms/Bundle").getString("vformsTableAccessibleDescription"));

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-visualweb-webui-designtime

gridBagConstraints.insets = new java.awt.Insets(0, 10, 5, 5);
add(jScrollPane1, gridBagConstraints);
jScrollPane1.getAccessibleContext().setAccessibleName(java.util.ResourceBundle.getBundle("org/netbeans/modules/visualweb/web/ui/dt/component/vforms/Bundle").getString("vformsTableAccessibleName"));
jScrollPane1.getAccessibleContext().setAccessibleDescription(java.util.ResourceBundle.getBundle("org/netbeans/modules/visualweb/web/ui/dt/component/vforms/Bundle").getString("editVformsTableAccessibleDescription"));

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv

gridBagConstraints.insets = new java.awt.Insets(10, 12, 10, 11);
add(jScrollPane1, gridBagConstraints);
jScrollPane1.getAccessibleContext().setAccessibleName(bundle.getString("LBL_properties")); // NOI18N
jScrollPane1.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_propTableMail_A11yDesc")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv

gridBagConstraints.insets = new java.awt.Insets(10, 12, 10, 11);
add(jScrollPane1, gridBagConstraints);
jScrollPane1.getAccessibleContext().setAccessibleName(bundle.getString("LBL_AddProperty")); // NOI18N
jScrollPane1.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_propTableJMS_A11yDesc")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-j2ee-sun-appsrv

gridBagConstraints.insets = new java.awt.Insets(10, 12, 10, 11);
add(jScrollPane1, gridBagConstraints);
jScrollPane1.getAccessibleContext().setAccessibleName(bundle.getString("LBL_AddProperty")); // NOI18N
jScrollPane1.getAccessibleContext().setAccessibleDescription(bundle.getString("ACS_propTableCommon_A11yDesc")); // NOI18N

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-debugger-common2

private void initAccessibility() {
AccessibleContext context;
context = getAccessibleContext();
context.setAccessibleDescription(guidanceText.getText());
context = list.getAccessibleContext();
context.setAccessibleName(Catalog.get("LISTEDITDIALOG_ACSN")); // NOI18N
context.setAccessibleDescription(Catalog.get("LISTEDITDIALOG_ACSD")); // NOI18N
context = scrollPane.getAccessibleContext();
context.setAccessibleName(Catalog.get("LISTEDITDIALOG_ACSN")); // NOI18N
context.setAccessibleDescription(Catalog.get("LISTEDITDIALOG_ACSD")); // NOI18N
context = scrollPane.getHorizontalScrollBar().getAccessibleContext();
context.setAccessibleName(Catalog.get("LISTEDITDIALOG_ACSN")); // NOI18N
context.setAccessibleDescription(Catalog.get("LISTEDITDIALOG_ACSD")); // NOI18N
context = scrollPane.getVerticalScrollBar().getAccessibleContext();
context.setAccessibleName(Catalog.get("LISTEDITDIALOG_ACSN")); // NOI18N
context.setAccessibleDescription(Catalog.get("LISTEDITDIALOG_ACSD")); // NOI18N
duplicateButton.getAccessibleContext().setAccessibleDescription(duplicateButton.getText());
deleteButton.getAccessibleContext().setAccessibleDescription(deleteButton.getText());
deleteAllButton.getAccessibleContext().setAccessibleDescription(deleteAllButton.getText());
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-callgraph

graphView.setName(""); // NOI18N
jSplitPane1.setRightComponent(graphView);
graphView.getAccessibleContext().setAccessibleName(null);
graphView.getAccessibleContext().setAccessibleDescription(null);
treeView.getAccessibleContext().setAccessibleName(getMessage("CGP_TreeView_AN"));
treeView.getAccessibleContext().setAccessibleDescription(getMessage("CGP_TreeView_AD"));

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-utils-ui

private void initAccessibility() {
  AccessibleContext context;
  context = getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_EDITOR"));
  context.setAccessibleDescription(getString("ACSD_TARGET_EDITOR"));
  context = targetList.getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
  context = scrollPane.getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
  context = scrollPane.getHorizontalScrollBar().getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
  context = scrollPane.getVerticalScrollBar().getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-cnd-utils

private void initAccessibility() {
  AccessibleContext context;
  context = getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_EDITOR"));
  context.setAccessibleDescription(getString("ACSD_TARGET_EDITOR"));
  context = targetList.getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
  context = scrollPane.getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
  context = scrollPane.getHorizontalScrollBar().getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
  context = scrollPane.getVerticalScrollBar().getAccessibleContext();
  context.setAccessibleName(getString("ACSN_TARGET_LIST"));
  context.setAccessibleDescription(getString("ACSD_TARGET_LIST"));
}

相关文章

JScrollPane类方法