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

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

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

JDialog.getAccessibleContext介绍

暂无

代码示例

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

public static void setAccessibleDescription(JDialog dialog, String key) {
dialog.getAccessibleContext().
  setAccessibleDescription(get(key));
}

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

public static void setAccessibleDescription(JDialog dialog, String key) {
dialog.getAccessibleContext().
  setAccessibleDescription(get(key));
}

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

public void hierarchyChanged( HierarchyEvent evt ) {
  JDialog dialog = getDialog();
  if( dialog == null ){
    return;
  }
  else {
    dialog.getAccessibleContext().setAccessibleName(
        radioButton.getAccessibleContext().
        getAccessibleName());
    dialog.getAccessibleContext().setAccessibleDescription(
        radioButton.getAccessibleContext().
        getAccessibleDescription());
  }
}

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

dialog.getContentPane().add(this);
dialog.setTitle(bundle.getString("TARGET_EDITOR_TITLE"));
AccessibleContext context = dialog.getAccessibleContext();
context.setAccessibleName(bundle.getString("ACSN_TARGET_EDITOR"));
context.setAccessibleDescription(bundle.getString("ACSD_TARGET_EDITOR"));

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

customizer.addPropertyChangeListener(this);        
JDialog dialog = (JDialog) DialogDisplayer.getDefault().createDialog(descriptor);
dialog.getAccessibleContext().setAccessibleDescription(customizer.getDisplayName());        
dialog.show();

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

popupWindow.getAccessibleContext().setAccessibleName(a11yName);
popupWindow.getAccessibleContext().setAccessibleDescription(a11yDesc);

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

popupWindow.getAccessibleContext().setAccessibleName(a11yName);
String a11yDesc = content.getAccessibleContext().getAccessibleDescription();
if(a11yDesc != null && !a11yDesc.equals(""))
  popupWindow.getAccessibleContext().setAccessibleDescription(a11yDesc);

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

popupWindow.getAccessibleContext().setAccessibleName(a11yName);
String a11yDesc = content.getAccessibleContext().getAccessibleDescription();
if(a11yDesc != null && !a11yDesc.equals(""))
  popupWindow.getAccessibleContext().setAccessibleDescription(a11yDesc);

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

popupWindow.getAccessibleContext().setAccessibleName(a11yName);
popupWindow.getAccessibleContext().setAccessibleDescription(a11yDesc);

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

popupWindow.getAccessibleContext().setAccessibleName(a11yName);
popupWindow.getAccessibleContext().setAccessibleDescription(a11yDesc);

代码示例来源:origin: net.sf.squirrel-sql.thirdparty-non-maven/openide

jd.getAccessibleContext().setAccessibleName(title);
if (fd.getShortDescription() != null) {
  jd.getAccessibleContext().setAccessibleDescription(
    fd.getShortDescription());

代码示例来源:origin: net.sf.squirrel-sql.thirdpary-non-maven/openide

jd.getAccessibleContext().setAccessibleName(title);
if (fd.getShortDescription() != null) {
  jd.getAccessibleContext().setAccessibleDescription(
    fd.getShortDescription());

代码示例来源:origin: org.netbeans.api/org-openide-explorer

jd.getAccessibleContext().setAccessibleName(title);
  jd.getAccessibleContext().setAccessibleDescription(fd.getShortDescription());

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

dialog.getAccessibleContext().setAccessibleDescription(
    NbBundle.getMessage(FragmentPanel.class, "CreateFragmentAccessibleDesc")); // NOI18N
panel.setDescriptor(dlg);

代码示例来源:origin: de.dfki.mary/marytts-transcription

mySqlDetailsDialog.getAccessibleContext().setAccessibleParent(loadFromMySql);
mySQLDetailsPanel.setMinimumSize(new java.awt.Dimension(400, 250));
jLabel1.setText("Host Name");

相关文章

JDialog类方法