public class AlignmentDimension
{
- private int width;
+ public final int width;
- private int height;
+ public final int height;
public AlignmentDimension(int width, int height)
{
this.width = width;
this.height = height;
}
-
- public int getWidth()
- {
- return width;
- }
-
- public void setWidth(int width)
- {
- this.width = width;
- }
-
- public int getHeight()
- {
- return height;
- }
-
- public void setHeight(int height)
- {
- this.height = height;
- }
-
}