EOS 2  1.1.0
Einfache Objektbasierte Sprache
Dimension.java
gehe zur Dokumentation dieser Datei
1 package de.lathanda.eos.base.layout;
2 
10 public class Dimension {
11  private double width;
12  private double height;
13  public Dimension() {
14  width = 0;
15  height = 0;
16  }
17 
18  public Dimension(int width, int height) {
19  this.width = width;
20  this.height = height;
21  }
22  public void setHeight(double height) {
23  this.height = height;
24  }
25  public void setWidth(double width) {
26  this.width = width;
27  }
28  public double getWidth() {
29  return width;
30  }
31  public double getHeight() {
32  return height;
33  }
34 
35 }
Dimension(int width, int height)
Definition: Dimension.java:18
Impressum