WebSphere Message Broker, Version 8.0.0.7
Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS
See information about the latest product version
See information about the latest product version
Setting the position of a node
Use the Message Broker Java™ API when developing message flow applications to set the position of a node on the canvas in the Broker Development view.
You can set the position of a node on the canvas by using
the setLocation() method of the node object. The
following example sets the position of a new MQOutput node to coordinates
x=300 pixels, y=100 pixels:
File msgFlow = new File("main.msgflow");
MessageFlow mf1 = FlowRendererMSGFLOW.read(msgFlow);
MQOutputNode mqoutNode = new MQOutputNode();
mqoutNode.setLocation(300, 100);