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

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

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

JTabbedPane.getAccessibleContext介绍

暂无

代码示例

代码示例来源:origin: marytts/marytts

jTabbedPane_Options.addTab("Display", jPanel_DisplayOptions);
jTabbedPane_Options.getAccessibleContext().setAccessibleName("Timing");

代码示例来源:origin: magefree/mage

);
jTabbedPane1.getAccessibleContext().setAccessibleName("Feedback");

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

/** 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.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
  tabbedPane = new javax.swing.JTabbedPane();
  lblError = new javax.swing.JLabel();
  setBorder(javax.swing.BorderFactory.createEmptyBorder(10, 10, 10, 10));
  setLayout(new java.awt.BorderLayout(0, 5));
  add(tabbedPane, java.awt.BorderLayout.CENTER);
  tabbedPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(BrandingEditorPanel.class, "ACS_BrandingTabs")); // NOI18N
  tabbedPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(BrandingEditorPanel.class, "ACS_BrandingTabs")); // NOI18N
  add(lblError, java.awt.BorderLayout.SOUTH);
}// </editor-fold>//GEN-END:initComponents

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

/** 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.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
  java.awt.GridBagConstraints gridBagConstraints;
  tabbedPane = new javax.swing.JTabbedPane();
  setLayout(new java.awt.GridBagLayout());
  gridBagConstraints = new java.awt.GridBagConstraints();
  gridBagConstraints.gridx = 0;
  gridBagConstraints.gridy = 1;
  gridBagConstraints.gridwidth = 2;
  gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
  gridBagConstraints.weightx = 1.0;
  gridBagConstraints.weighty = 1.0;
  add(tabbedPane, gridBagConstraints);
  tabbedPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(PackagingPanel.class, "PackagingPanel.tabbedPane.AccessibleContext.accessibleName")); // NOI18N
  tabbedPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(PackagingPanel.class, "PackagingPanel.tabbedPane.AccessibleContext.accessibleDescription")); // NOI18N
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables

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

public URLPanel() {
  try {
    jbInit();
    copyButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(URLPanel.class, "COPY_BUTTON_ACCESS_DESC"));
    linkButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(URLPanel.class, "LINK_BUTTON_ACCESS_DESC"));
    copyButton.setMnemonic(org.openide.util.NbBundle.getMessage(URLPanel.class, "COPY_BUTTON_MNEMONIC").charAt(0));
    linkButton.setMnemonic(org.openide.util.NbBundle.getMessage(URLPanel.class, "LINK_BUTTON_MNEMONIC").charAt(0));
    valueTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(URLPanel.class, "VALUE_TEXTFIELD_ACCESS_NAME"));
    valueTextField.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(URLPanel.class, "VALUE_TEXTFIELD_ACCESS_DESC"));
    tabs.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(URLPanel.class, "TAB_PANE_ACCESS_DESC"));
  } catch (Exception e) {
    e.printStackTrace();
  }
}

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

public StandardUrlPanel() {
  try {
    jbInit();
    copyButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "COPY_BUTTON_ACCESS_DESC"));
    linkButton.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "LINK_BUTTON_ACCESS_DESC"));
    copyButton.setMnemonic(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "COPY_BUTTON_MNEMONIC").charAt(0));
    linkButton.setMnemonic(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "LINK_BUTTON_MNEMONIC").charAt(0));
    valueTextField.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "VALUE_TEXTFIELD_ACCESS_NAME"));
    valueTextField.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "VALUE_TEXTFIELD_ACCESS_DESC"));
    tabs.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "TAB_PANE_ACCESS_NAME"));
    tabs.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(StandardUrlPanel.class, "TAB_PANE_ACCESS_DESC"));            
  } catch (Exception e) {
    e.printStackTrace();
  }
}

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

tabPanel.setLayout(new java.awt.BorderLayout());
tabPanel.add(tabbedPane, java.awt.BorderLayout.CENTER);
tabbedPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(ParserSettingsPanel.class, "COMPILERS_TABBEDPANE_AN")); // NOI18N
tabbedPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(ParserSettingsPanel.class, "COMPILERS_TABBEDPANE_AD")); // NOI18N

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

tabPanel.setLayout(new java.awt.BorderLayout());
tabPanel.add(tabbedPane, java.awt.BorderLayout.CENTER);
tabbedPane.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(ParserSettingsPanel.class, "COMPILERS_TABBEDPANE_AN")); // NOI18N
tabbedPane.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(ParserSettingsPanel.class, "COMPILERS_TABBEDPANE_AD")); // NOI18N

代码示例来源:origin: org.netbeans.api/org-netbeans-modules-project-libraries-ui

deleteButton.getAccessibleContext().setAccessibleDescription(bundle.getString("AD_DeleteLibrary")); // NOI18N
libsPanel.getAccessibleContext().setAccessibleDescription(bundle.getString("AD_libsPanel")); // NOI18N
properties.getAccessibleContext().setAccessibleName(bundle.getString("AN_LibrariesCustomizerProperties")); // NOI18N
properties.getAccessibleContext().setAccessibleDescription(bundle.getString("AD_LibrariesCustomizerProperties")); // NOI18N
jLabel3.getAccessibleContext().setAccessibleDescription("Edit Library");
libraryLocation.getAccessibleContext().setAccessibleDescription(bundle.getString("AD_LibraryLocation")); // NOI18N

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

kenaiProjectsTabPane.getAccessibleContext().setAccessibleName(NbBundle.getMessage(KenaiSearchPanel.class, "KenaiSearchPanel.kenaiProjectsTabPane.AccessibleContext.accessibleName")); // NOI18N
kenaiProjectsTabPane.getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(KenaiSearchPanel.class, "KenaiSearchPanel.kenaiProjectsTabPane.AccessibleContext.accessibleDescription")); // NOI18N
getAccessibleContext().setAccessibleName(NbBundle.getMessage(KenaiSearchPanel.class, "KenaiSearchPanel.AccessibleContext.accessibleName")); // NOI18N
getAccessibleContext().setAccessibleDescription(NbBundle.getMessage(KenaiSearchPanel.class, "KenaiSearchPanel.AccessibleContext.accessibleDescription")); // NOI18N

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

DataBindingPanel bp = (DataBindingPanel)bindingPanels.get(i);
tabs.add(bp, bp.getDataBindingTitle());                
tabs.getAccessibleContext().setAccessibleDescription(bp.getDataBindingTitle());
tabs.getAccessibleContext().setAccessibleName(bp.getDataBindingTitle());
if (shouldShowBindToObjectPanel &&  bp.getClass().isAssignableFrom(BindValueToObjectPanel.class)){
  selectedIndex = i;

代码示例来源:origin: org.netbeans.api/org-netbeans-modules-vmd-midp

);
jTabbedPane1.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(DatabindingElementUI.class, "ASCN_DatabindingPane")); // NOI18N
jTabbedPane1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(DatabindingElementUI.class, "ASCD_DatabindingPane")); // NOI18N

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

);
pluginsPanel.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(GrailsPluginsPanel.class, "GrailsPluginPanel.pluginsPanel.accessibleName")); // NOI18N
pluginsPanel.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(GrailsPluginsPanel.class, "GrailsPluginPanel.pluginsPanel.accessibleDescription")); // NOI18N

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

jsfTabbedPane.getAccessibleContext().setAccessibleName("");

代码示例来源:origin: stackoverflow.com

public JComponent makeUI() {
 final JTabbedPane tabbedPane = new JTabbedPane();
 tabbedPane.getAccessibleContext().addPropertyChangeListener(
   new PropertyChangeListener() {
  @Override public void propertyChange(PropertyChangeEvent evt) {

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

jTabbedPane1.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(DetectPanel.class, "ACSN_jTabbedPanel1")); // NOI18N
jTabbedPane1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(DetectPanel.class, "ACSD_jTabbedPanel1")); // NOI18N

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

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

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

);
gemsTab.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(GemPanel.class, "GemPanel.gemsTab.AccessibleContext.accessibleName")); // NOI18N
gemsTab.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(GemPanel.class, "GemPanel.gemsTab.AccessibleContext.accessibleDescription")); // NOI18N
platforms.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(GemPanel.class, "GemPanel.platforms.AccessibleContext.accessibleName")); // NOI18N
platforms.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(GemPanel.class, "GemPanel.platforms.AccessibleContext.accessibleDescription")); // NOI18N

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

);
jTabbedPane1.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(ActionPropertyEditorPanel.class, "ActionPropertyEditorPanel.jTabbedPane1.AccessibleContext.accessibleName")); // NOI18N
jTabbedPane1.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(ActionPropertyEditorPanel.class, "ActionPropertyEditorPanel.jTabbedPane1.AccessibleContext.accessibleDescription")); // NOI18N
actionsCombo.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(ActionPropertyEditorPanel.class, "ActionPropertyEditorPanel.actionsCombo.AccessibleContext.accessibleName")); // NOI18N
actionsCombo.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(ActionPropertyEditorPanel.class, "ActionPropertyEditorPanel.actionsCombo.AccessibleContext.accessibleDescription")); // NOI18N

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

);
pluginsTab.getAccessibleContext().setAccessibleDescription(org.openide.util.NbBundle.getMessage(PluginPanel.class, "PluginPanel.pluginsTab.AccessibleContext.accessibleDescription")); // NOI18N

相关文章

JTabbedPane类方法