您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Developing java Beans
  所属分类: Java
  开发工具:
  文件大小: 1mb
  下载次数: 0
  上传时间: 2010-06-21
  提 供 者: jessiez********
 详细说明: Dedication.......................................................................... 2 Preface............................................................................... 2 Intended Audience .......................................................... 3 A Moment in Time........................................................... 3 How the Book Is Organized ............................................ 3 Conventions Used in This Book...................................... 5 Acknowledgments........................................... ................ 5 How to Contact Us .......................................................... 6 Providing Feedback to the Author .................................. 6 Retrieving Examples Online ........................................... 6 Chapter 1. Introduction .................................................... 6 The Component Model ................................................... 7 The JavaBeans Architecture........................................... 9 JavaBeans Overview...................................................... 11 Using Design Patterns .................................................... 14 JavaBeans vs. ActiveX ................................................... 14 Getting Started................................................................ 15 Chapter 2. Events.............................................................. 15 The Java Event Model .................................................... 15 Events in the AWT Package ........................................... 25 Chapter 3. Event Adapters............................................... 30 Demultiplexing ................................................................ 30 Generic Adapters ............................................................ 35 Event Adapters in the AWT Package ............................. 40 Event Filtering................................................................. 43 Event Queuing ................................................................ 44 Chapter 4. Properties........................................................ 50 Accessing Properties ...................................................... 50 Indexed Properties.......................................................... 53 Bound Properties ............................................................ 55 Constrained Properties ................................................... 60 Handling Events for Specific Properties ......................... 64 A java.awt Example ........................................................ 64 Chapter 5. Persistence ..................................................... 70 Object Serialization......................................................... 71 The java.io.Serializable Interface.................................... 72 Class-Specific Serialization ............................................ 78 Walking the Class Hierarchy........................................... 79 Serializing Event Listeners ............................................. 90 Versioning ....................................................................... 92 Object Validation............................................................. 94 The java.io.Externalizable Interface................................ 96 Instantiating Serialized Objects ...................................... 99 Chapter 6. JAR Files ......................................................... 102 The jar Program.............................................................. 102 The Manifest ................................................................... 104 Using JAR Files with HTML ............................................ 106 Using JAR Files on the CLASSPATH............................. 107 Archive Signing............................................................... 108 An Alternative to the jar Program.................................... 108 Chapter 7. The BeanBox Tool .......................................... 109 Running BeanBox ........................................................... 109 Dropping Beans on BeanBox ......................................... 111 Editing a Bean’s Properties ............................................ 111 Hooking Up Beans .......................................................... 113 Saving and Restoring the BeanBox Form ...................... 115 Adding Your Own Beans to BeanBox ............................. 115 Chapter 8. Putting It All Together.................................... 116 Defining the Temperature Control Simulator .................. 117 Building the Simulator ..................................................... 118 A Sample Simulator Applet ............................................. 145 Creating a JAR File......................................................... 147 Recreating the Sample Using BeanBox ......................... 148 Chapter 9. Introspection................................................... 150 The BeanInfo Interface ................................................... 150 Providing Additional BeanInfo Objects ........................... 166 Introspecting the Environment ........................................ 168 The BeansBook.SimulatorBeanInfo Classes.................. 169 Chapter 10. Property Editors and Customizers ............. 173 Property Editors .............................................................. 174 Customizers .................................................................... 188 Chapter 11. ActiveX .......................................................... 197 The JavaBeans ActiveX Bridge ...................................... 198 Technology Mapping ...................................................... 203 Using Beans in Visual Basic ........................................... 204 Appendix A. Design Patterns........................................... 212 A.1 Event Objects ........................................................... 212 A.2 Event Listeners......................................................... 213 A.3 Registering for Event Notification ............................. 213 A.4 Registering for Unicast Event Notification ................ 213 A.5 Multiple Parameter Event Methods .......................... 213 A.6 Property Access Methods ........................................ 214 A.7 Indexed Property Access Methods........................... 214 A.8 Constrained Property Access Methods .................... 214 A.9 Registering for Bound and Constrained Property Event Notifications .......................................................... 215 A.10 Naming a BeanInfo Class....................................... 215 Appendix B. The java.beans Package............................. 215 ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: Java Beans
 输入关键字,在本站1000多万海量源码库中尽情搜索: