public int getHeight() {
   return h + (relativeHeight ? parent.getHeight() : 0);
 }
 public int getWidth() {
   return w + (relativeWidth ? parent.getWidth() : 0);
 }
 public int getX() {
   return x + (parent == null ? 0 : parent.getX());
 }
 public int getY() {
   return y + (parent == null ? 0 : parent.getY());
 }
 public Value getValue(String k) {
   return parent.getValue(k);
 }