Examples of BoundsSite


Examples of diva.canvas.connector.BoundsSite

     * offset, to the icon. A BoundsSite will be created and the
     * terminal attached to it. See the BoundsSite class for a
     * description if the <i>side</i> and <i>offset</i> arguments.
     */
    public void addTerminal(Terminal t, int side, double offset) {
        BoundsSite site = new BoundsSite(this, _sites.size(), side, offset);
        t.setAttachSite(site);

        _sites.add(site);
        _terminals.add(t);

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.