- 浏览: 118214 次
- 性别:
- 来自: 武汉
文章分类
最新评论
今天看了一点英文资料:
The Quintessential Accessible Object
You should try to subclass from JComponent or one of its
descendents since that will automatically make your object
accessible. If that is not possible, your object should implement
Accessible.
import javax.accessibility.*;
public class BasicAccessible implements Accessible {
public AccessibleContext getAccessibleContext() {
return new AccessibleContext() {
// Implement all the abstract methods in this
// abstract class.
};
}
}
java.accessibility包定义了用户界面组件与提供对这些组件进行访问的辅助技术之间的协定。如果 Java 应用程序完全支持 Java Accessibility API,则它应该与屏幕读取器、屏幕放大器这样的辅助技术保持兼容和友好。使用完全支持 Java Accessibility API 的 Java 应用程序,将不再需要离屏模型的屏幕读取器 ,因为该 API 提供了离屏模型中通常所包含的所有信息。
上面的一段英文的意思是:你应该试着从JComponent或它的某个子类中产生子类,因为这样可以自动地让你的对象可被访问。如果那样不可能做到的话,那你的对象必须实现为可访问的对象。
上面的代码是一个编写可访问对象的一个框架,该类必须实现Accessible抽象类中的所有抽象方法。
发表评论
-
解决struts开发中文乱码
2008-04-25 21:35 731<script>function StorePag ... -
swt-designer配置开发环境
2008-05-02 14:23 792<script>function StorePag ... -
Setting an Accessible Name for an Image Button
2009-05-20 23:52 579<script>function StorePag ... -
Setting a Description for Image Icons
2009-05-21 22:46 660<script>function StorePag ... -
Setting a Mnemomic for Buttons:为按钮设置助记符
2009-05-23 00:10 757<script>function StorePag ... -
Associating a Label with a Component:将标签与组件关联
2009-05-24 00:02 755<script>function StorePag ... -
The Quintessential Applet
2009-05-25 23:31 525<script>function StorePag ... -
Getting an Applet Parameter:获得一个applet参数
2009-05-27 00:24 742<script>function StorePag ... -
Making the Browser Visit a URL:让浏览器访问一个applet URL
2009-05-27 22:18 903<script>function StorePag ... -
The Quintessential Drawing Program:画图程序的精粹
2009-06-03 00:46 589<script>function StorePag ... -
Drawing Basic Shapes:画基本图形
2009-06-03 23:23 695<script>function StorePag ... -
Filling Basic Shapes:填充基本图形
2009-06-05 00:18 707<script>function StorePag ... -
Loading an Image:加载一幅图像
2009-06-05 23:56 591<script>function StorePag ... -
Drawing an Image:画一幅图
2009-06-07 00:56 711<script>function StorePag ... -
Drawing Simple Text:画简单的文本
2009-06-09 01:20 733<script>function StorePag ... -
Drawing Rotated Text:画旋转字
2009-06-10 00:48 750//Draw string rotated clockwise ... -
recruitbusiness_info.php源代码分析
2009-06-10 23:31 756<link href="css/sty ... -
Getting the Dimensions of Text:获取文本的长和宽
2009-06-11 00:32 630// From within the paint() m ... -
Drawing Anti-Aliased Text and Graphics:绘制反锯齿文字和图形
2009-06-12 00:44 860// Text only g2d.setRenderi ... -
Drawing with Alpha:使用alpha通道来绘图
2009-06-13 00:17 800drawGraphic1(g2d); // Set a ...
相关推荐
易语言基于accessible接口打造获取QQ窗口相关信息。@兔子君。
Accessible接口读取软件UI元素,可遍历任何软件窗口信息,包括子句柄
Accessible.tlb
Vue.js Up & Running Building Accessible and Performant Web Apps pdf 英文高清原版
Vue.js Up and Running_ Building Accessible and Performant Web Apps (2018, Media)
will make all content accessible to all people. Perhaps that’s a strange way to preface a book on accessible practices, but it’s also a reality you need to be aware of. Accessible practices change, ...
This book fills the need for a concise and conversational book on the growing field of Data Analytics and Big Data. Easy to read and informative, this lucid book covers everything important, with ...
如何在不牺牲视觉复杂性的情况下构建可访问的网站。
Accessible solitons of fractional dimension
基于accessible接口打造获取QQ窗口相关信息
java代码-Accessible
Amazon Best Sellers Rank: #3 in Data Mining (Kindle Store) #4 in Big Data Businesses #5 in Information Management (Kindle Store) This book fills the need for a concise and conversational book on the...
Pragmatic.Design.Accessible.Web.Sites
Laravel开发-laravel-accessible-ip Laravel的可访问IP。
CSA ASC B651-2023 Accessible design for the built environment
Oracle Solaris 11.2 (Accessible) Quick Start Guide to Installing Oracle Solaris 11.2-4
Accessible XHTML and CSS Web Sites - Problem - Design - Solution - 2005