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