Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public void setParent(BasicEditable parent) {
   this.parent = parent;
   this.ownerDocument = parent.getOwnerDocument();
 }