Esempio n. 1
0
 public Point getLocation() {
   return dimensions.getLocation();
 }
Esempio n. 2
0
 public int getX() {
   return dimensions.getLocation().x;
 }
Esempio n. 3
0
 public int getY() {
   return dimensions.getLocation().y;
 }
Esempio n. 4
0
 public void handleMoved(WindowDimensions dims) {
   Point loc = dims.getLocation();
   ComponentAccessor.setX((Component) target, loc.x);
   ComponentAccessor.setY((Component) target, loc.y);
   postEvent(new ComponentEvent(target, ComponentEvent.COMPONENT_MOVED));
 }