Example #1
0
 // ------------- maxX() ---------------------
 private int maxX() {
   return (int) (_parent.getX() + _parent.getWidth() - this.getWidth());
 }
Example #2
0
 // ------------- minX() ---------------------
 private int minX() {
   return (int) _parent.getX();
 }