public Point getOffset() { return new Point(x, y); }
public Point getLocation() { return new Point(x, y); }
public Point getLocation() { return new Point(x, y); }
public Point getOrigin() { return new Point(x, y); }
public Point getOffset() { return new Point(x, y); }
public Point translate(int dx, int dy) { return new Point(x + dx, y + dy); }
public Point getLocation() { return new Point(x, y); }
public Point translate(int dx, int dy) { return new Point(x + dx, y + dy); }
public Point getLocation() { return new Point(x, y); }
public Point getOrigin() { return new Point(x, y); }
public static Point decode(String value) { if (value == null) { throw new IllegalArgumentException(); } Point point; try { point = new Point(JSONSerializer.parseMap(value)); } catch (SerializationException exception) { throw new IllegalArgumentException(exception); } return point; } }
public static Point decode(String value) { if (value == null) { throw new IllegalArgumentException(); } Point point; try { point = new Point(JSONSerializer.parseMap(value)); } catch (SerializationException exception) { throw new IllegalArgumentException(exception); } return point; } }
protected void handleAsNumber(Number value) { int s = parse(value); super.setValueInternal(new Point(s, s)); } }
protected void mouseOver() { if (isEnabled()) { mouseLocation = new Point(-1, -1); componentMouseListeners.mouseOver(this); } }
&& coordinates == null) { if (component == ancestor) { coordinates = new Point(xArgumentMutable, yArgumentMutable); } else { xArgumentMutable -= component.x;
protected void mouseOver() { if (isEnabled()) { mouseLocation = new Point(-1, -1); componentMouseListeners.mouseOver(this); } }
/** * Returns the component's location. * * @return * A point value containing the component's horizontal and vertical * position relative to the origin of the parent container. */ public Point getLocation() { return new Point(getX(), getY()); }
&& coordinates == null) { if (component == ancestor) { coordinates = new Point(xArgumentMutable, yArgumentMutable); } else { xArgumentMutable += component.x;
&& coordinates == null) { if (component == ancestor) { coordinates = new Point(x, y); } else { x += component.x;
&& coordinates == null) { if (component == ancestor) { coordinates = new Point(x, y); } else { x -= component.x;