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

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

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

JTextComponent.getAccessibleContext介绍

暂无

代码示例

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

editorPane.getAccessibleContext().setAccessibleName(tempLabel.getText());
editorPane.getAccessibleContext().setAccessibleDescription(tempLabel.getText());
tempLabel = null;

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

textArea.getAccessibleContext().setAccessibleName(NbBundle.getBundle(StringCustomEditor.class).getString("ACS_TextArea")); //NOI18N
if (instructions == null) {
  textArea.getAccessibleContext().setAccessibleDescription(NbBundle.getBundle(StringCustomEditor.class).getString("ACSD_TextArea")); //NOI18N
} else {
  textArea.getAccessibleContext().setAccessibleDescription(instructions);

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

private void initA11y() {
//            moreButton.getAccessibleContext().setAccessibleDescription(
//                moreButton.getText()
//            );
      whileField.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_WhileIn") // NOI18N
      );
      conditionPane.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_Condition") // NOI18N
      );
      lwpField.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_LWP") // NOI18N
      );
      threadField.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_Thread") // NOI18N
      );
      countLimitCombo.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_CountLimit") // NOI18N
      );
      countField.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_CurrentCount") // NOI18N
      );
      tempCheckBox.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_Temp") // NOI18N
      );
      javaCombo.getAccessibleContext().setAccessibleDescription(
        Catalog.get("ACSD_JavaBptMode") // NOI18N
      );
  }

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

textArea.getAccessibleContext().setAccessibleName(bundle.getMessage("ACS_TextArea")); //NOI18N
if (instructions == null) {
  textArea.getAccessibleContext().setAccessibleDescription(bundle.getMessage(
    "ACSD_TextArea")); //NOI18N
} else {
  textArea.getAccessibleContext().setAccessibleDescription(instructions);

相关文章

JTextComponent类方法