LightweightSystem.setContents代码解读
来源:互联网 发布:百度云盘网络证书无效 编辑:程序博客网 时间:2024/05/16 01:04
LightweightSystem.setContents(IFigure figure)) 实际上是将figure放到LWS的RootFigure中,作为RootFigure的唯一孩子。
源代码如下:
源代码如下:
/**
* Sets the contents of the LightweightSystem to the passed figure. This figure should be
* the top-level Figure in a Draw2d application.
*
* @param figure the new root figure
* @since 2.0
*/
public void setContents(IFigure figure) {
if (contents != null)
root.remove(contents);
contents = figure;
root.add(contents);
}
- LightweightSystem.setContents代码解读
- 代码解读
- 代码解读
- 条码打印机代码解读!
- 解读eXtremeComponents代码结构
- FFMPEG框架代码解读
- DiskPerf代码解读
- Android震动代码解读
- phpcms v9代码解读
- SEP4020 PWM代码解读
- Cassandra Compaction代码解读
- gpio_request 原形代码解读
- 解读Helloworld的代码
- live555代码解读
- freemodbus代码解读
- zookeeper客户端代码解读
- nnlm代码解读链接
- Caffe代码解读:Protobuf
- ppt2word.vbs
- 在Ubuntu上下载、编译和安装Android最新源代码(转载)
- SWT事件到Draw2d事件转化的代码解读
- 大三了,软件工程专业女生能走哪个方向呢?
- VC界面设计(破解版skin++皮肤库使用)
- LightweightSystem.setContents代码解读
- Java_09_13课堂总结
- 技术浪潮
- 正则表达式 获取
- vxWorks中USB驱动栈-2
- mysql存储过程(一)
- vs2008 MFC 对话框 敲回车,ESE键,程序自动退出解决办法
- Commons-BeanUtils动态bean在项目中的应用
- Data Transfer Object (DTO)