Example #1
0
 public Point getLocation() {
   return dimensions.getLocation();
 }
Example #2
0
 public int getX() {
   return dimensions.getLocation().x;
 }
Example #3
0
 public int getY() {
   return dimensions.getLocation().y;
 }
Example #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));
 }