A自己写的连接线算法ChipTrough

package Draw2D_1;

import org.eclipse.draw2d.Button;

/**
*
* 芯片槽
* <功能详细描述>
*
* @author  zKF26792
* @version  [版本号, 2010-4-27]
* @see  [相关类/方法]
* @since  [产品/模块版本]
*/
public class ChipTrough extends Button
{
    private int cid;
    private boolean saveCome;
    private PointXY xy;
   
    public ChipTrough(int id,PointXY xy,boolean saveCome){
        this.cid = id;
        this.saveCome = saveCome;
        this.xy = xy;
    }
   
    public int getCid()
    {
        return cid;
    }
    public void setCid(int cid)
    {
        this.cid = cid;
    }
    public boolean isSaveCome()
    {
        return saveCome;
    }
    public void setSaveCome(boolean saveCome)
    {
        this.saveCome = saveCome;
    }

    public PointXY getXy()
    {
        return xy;
    }

    public void setXy(PointXY xy)
    {
        this.xy = xy;
    }
   
   
}

你可能感兴趣的:(eclipse,算法)