예제 #1
0
 // -------------- maxY() ----------------------
 private int maxY() {
   return (int) (_parent.getY() + _parent.getHeight() - this.getHeight());
 }
예제 #2
0
 // ------------- minY() ---------------------
 private int minY() {
   return (int) _parent.getY();
 }
예제 #3
0
 // ------------- maxX() ---------------------
 private int maxX() {
   return (int) (_parent.getX() + _parent.getWidth() - this.getWidth());
 }
예제 #4
0
 // ------------- minX() ---------------------
 private int minX() {
   return (int) _parent.getX();
 }