TWaver Java Demo
http://web.servasoft.com/twaver/demo/demo.jnlp
http://web.servasoft.com/twaver/demo/demo.html
TWaver Java Document
http://doc.servasoftware.com/display/TWaverJava
http://doc.servasoftware.com/display/javaguidechinese
TWaver Web Demo
http://web.servasoft.com/svgdemo/
TWaver Web Document
http://doc.servasoftware.com/display/webEnglish
TWaver Flex Demo
http://www.servasoftware.com/demo/twave ... -demo.html
TWave Flex Documnet
http://doc.servasoftware.com/display/TWaverFlexEn
http://doc.servasoftware.com/display/TWaverFlex
TWaver .NET Demo
http://www.servasoftware.com/demo/twave ... tdemo.html
TWaver .NET Document
http://doc.servasoftware.com/display/silverlightEnglish
http://doc.servasoftware.com/display/silverlightCN
TWaver GIS Demo
http://web.servasoft.com/webmap/
TWaver GIS Document
http://doc.servasoftware.com/display/TWaverGIS
http://doc.servasoftware.com/display/gt
只有地址哦
代码
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:twaver="http://www.servasoftware.com/2009/twaver/flex" applicationComplete="init()">
<mx:Script>
<![CDATA[
import twaver.*;
import twaver.network.Network;
private var box:ElementBox;
private var number:int;
private function init():void
{
number=0;
box=network.elementBox;
tree.dataBox=box;
table.dataBox=box;
var group:Group=new Group();
group.name="group";
box.add(group);
group.addChild(createTWaverNode("node1",200,100));
group.addChild(createTWaverNode("node2",300,130));
group.expanded=true;
var from:Node=createTWaverNode("from",30,30);
var to:Node=createTWaverNode("to",70,150);
var link ink=new Link(from,to);
link.name="hello TWaver Flex";
box.add(link);
}
private function createTWaverNode(name:String,x:int,y:int):Node
{
var node:Node=new Node();
node.name=name;
node.setClient("number",number++);
node.setLocation(x,y);
box.add(node);
return node;
} ]]>
</mx:Script>
<mx anel title="Hello TWaver! - Tree, Network & Table" width="100%" height="100%">
<mx:HDividedBox width="100%" height="100%">
<twaver:Tree id="tree" width="30%" height="100%"/>
<mx:VDividedBox width="100%" height="100%">
<twaver:Network id="network" backgroundColor="0x00ff00" width="100%" height="70%"/>
<twaver:Table width="100%" height="30%" id="table" editable="true">
<twaver:columns>
<mx ataGridColumn dataField="name" headerText="Name"/>
<mx ataGridColumn dataField="id" headerText="ID"/>
<mx ataGridColumn dataField="icon" headerText="Icon"/>
<mx ataGridColumn dataField="C:number" headerText="Number"/>
</twaver:columns>
</twaver:Table>
</mx:VDividedBox>
</mx:HDividedBox>
</mx anel>
</mx:Application>
http://www.ityangba.com/thread-670-1-1.html
http://web.servasoft.com/twaver/demo/demo.jnlp
http://web.servasoft.com/twaver/demo/demo.html
TWaver Java Document
http://doc.servasoftware.com/display/TWaverJava
http://doc.servasoftware.com/display/javaguidechinese
TWaver Web Demo
http://web.servasoft.com/svgdemo/
TWaver Web Document
http://doc.servasoftware.com/display/webEnglish
TWaver Flex Demo
http://www.servasoftware.com/demo/twave ... -demo.html
TWave Flex Documnet
http://doc.servasoftware.com/display/TWaverFlexEn
http://doc.servasoftware.com/display/TWaverFlex
TWaver .NET Demo
http://www.servasoftware.com/demo/twave ... tdemo.html
TWaver .NET Document
http://doc.servasoftware.com/display/silverlightEnglish
http://doc.servasoftware.com/display/silverlightCN
TWaver GIS Demo
http://web.servasoft.com/webmap/
TWaver GIS Document
http://doc.servasoftware.com/display/TWaverGIS
http://doc.servasoftware.com/display/gt
只有地址哦
代码
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:twaver="http://www.servasoftware.com/2009/twaver/flex" applicationComplete="init()">
<mx:Script>
<![CDATA[
import twaver.*;
import twaver.network.Network;
private var box:ElementBox;
private var number:int;
private function init():void
{
number=0;
box=network.elementBox;
tree.dataBox=box;
table.dataBox=box;
var group:Group=new Group();
group.name="group";
box.add(group);
group.addChild(createTWaverNode("node1",200,100));
group.addChild(createTWaverNode("node2",300,130));
group.expanded=true;
var from:Node=createTWaverNode("from",30,30);
var to:Node=createTWaverNode("to",70,150);
var link ink=new Link(from,to);
link.name="hello TWaver Flex";
box.add(link);
}
private function createTWaverNode(name:String,x:int,y:int):Node
{
var node:Node=new Node();
node.name=name;
node.setClient("number",number++);
node.setLocation(x,y);
box.add(node);
return node;
} ]]>
</mx:Script>
<mx anel title="Hello TWaver! - Tree, Network & Table" width="100%" height="100%">
<mx:HDividedBox width="100%" height="100%">
<twaver:Tree id="tree" width="30%" height="100%"/>
<mx:VDividedBox width="100%" height="100%">
<twaver:Network id="network" backgroundColor="0x00ff00" width="100%" height="70%"/>
<twaver:Table width="100%" height="30%" id="table" editable="true">
<twaver:columns>
<mx ataGridColumn dataField="name" headerText="Name"/>
<mx ataGridColumn dataField="id" headerText="ID"/>
<mx ataGridColumn dataField="icon" headerText="Icon"/>
<mx ataGridColumn dataField="C:number" headerText="Number"/>
</twaver:columns>
</twaver:Table>
</mx:VDividedBox>
</mx:HDividedBox>
</mx anel>
</mx:Application>
http://www.ityangba.com/thread-670-1-1.html