コード例 #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));
 }