예제 #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);
 }
예제 #2
0
 public void setParent(BasicEditable parent) {
   this.parent = parent;
   this.ownerDocument = parent.getOwnerDocument();
 }