// -------------- maxY() ----------------------
 private int maxY() {
   return (int) (_parent.getY() + _parent.getHeight() - this.getHeight());
 }
 // ------------- minY() ---------------------
 private int minY() {
   return (int) _parent.getY();
 }
 // ------------- maxX() ---------------------
 private int maxX() {
   return (int) (_parent.getX() + _parent.getWidth() - this.getWidth());
 }
 // ------------- minX() ---------------------
 private int minX() {
   return (int) _parent.getX();
 }