UNPKG

ts-jsdk

Version:

TypeScript implementation of the Java platform

33 lines 705 B
import { Dimension } from "./Dimension"; import { Point } from "./Point"; import { Container } from "./Container"; export class JWindowEvent { constructor(id) { this.id = id; } getID() { return this.id; } } JWindowEvent.WINDOW_CLOSING = "0"; export class JWindow extends Container { constructor() { super(...arguments); this.size = new Dimension(800, 600); this.location = new Point(); } pack() { } dispose() { } getSize() { return this.size; } setLocation(x, y) { this.location = new Point(x, y); } getLocation() { return this.location; } } //# sourceMappingURL=JWindow.js.map