JavaTM Platform
Standard Ed. 6

类 javax.swing.text.AsyncBoxView.ChildState
的使用

使用 AsyncBoxView.ChildState 的软件包
javax.swing.text 提供类 HTMLEditorKit 和创建 HTML 文本编辑器的支持类。 
 

javax.swing.text 中 AsyncBoxView.ChildState 的使用
 

声明为 AsyncBoxView.ChildState 的 javax.swing.text 中的字段
protected  AsyncBoxView.ChildState AsyncBoxView.ChildLocator.lastValidOffset
          最后一次有效偏移量计算的位置。
 

返回 AsyncBoxView.ChildState 的 javax.swing.text 中的方法
protected  AsyncBoxView.ChildState AsyncBoxView.createChildState(View v)
          通过此方法创建新的 ChildState 记录,以允许扩展 ChildState 记录的子类执行/保存更多状态。
protected  AsyncBoxView.ChildState AsyncBoxView.getChildState(int index)
          获取对象,该对象表示在给定索引位置的子视图的布局状态。
 

参数类型为 AsyncBoxView.ChildState 的 javax.swing.text 中的方法
 void AsyncBoxView.ChildLocator.childChanged(AsyncBoxView.ChildState cs)
          子级已更改的通知。
protected  void AsyncBoxView.majorRequirementChange(AsyncBoxView.ChildState cs, float delta)
          沿主轴上的要求更改。
protected  void AsyncBoxView.minorRequirementChange(AsyncBoxView.ChildState cs)
          沿辅轴上的要求更改。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。