function netConnectObject(objDiv, newLineType, parentConnector, netDoc)
{
  var self = this;
  this.classType = "netConnectObject";
  
  this.div = new netDivObject(objDiv, netDoc);
  var connector = parentConnector;
  this.lineType = newLineType;

  this.movObj = function(newLeft,newTop)
    {
      this.div.setLeftC(newLeft);
      this.div.setTopC(newTop);
      
      connector.lineMoved(this);
    };
      
  this.fullSubId = function()
    {
      return connector.fullSubId(this.lineType);
    }

  this.isConnectedBox = function(node)
    {
      return connector.isConnectedBox(node);
    };
    
  this.getConnector = function() 
    {
      return connector;
    };
    
  this.highlight = function(switchOn)
    {
      this.div.highlight(switchOn);
    };

  this.isVert = function() 
    {
      if (this.div.getWidth() == 1) return true;
      return false;
    };
}


