如何改变jgraph中cell的标签
在csdn中有篇文档是这样的:
使用 JGraph.startEditingAtCell(对象) 开始编辑单元。要编程改变标签,你可以使用 value 属性:
Map change = GraphConstants.createMap();
GraphConstants.setValue(change, "Hello World!");
Map nest = new Hashtable();
nest.put(cell, change);
model.edit(nest, null, null, null);
实际上GraphConstants没有createMap方法,所以不能使用,请知道的高手指点下,谢谢!
问题点数:100、回复次数:0Top




