public BasicEditable(BasicEditable parent) throws UnsupportedComponentException { this.zOrder = 0; this.children = new TreeSet<BasicEditable>(); transform = new TransformNode(this); boundingBox = new BoundingBox(); parent.addChild(this); parent.getOwnerDocument().addComponent(this, true); }
public void setParent(BasicEditable parent) { this.parent = parent; this.ownerDocument = parent.getOwnerDocument(); }