01: package tools.tracesviewer;
02:
03: public class PercentLayoutConstraint {
04: /**
05: * Creates a Constraint Object.
06: * @param x The X position of the top left corner of the component (0-100)
07: * @param y The Y position of the top left corner of the component (0-100)
08: * @param width The percentage width of the component (0-100)
09: * @param height The percentage height of the component (0-100)
10: */
11: public PercentLayoutConstraint(double x, double y, double width,
12: double height) {
13: this .x = x;
14: this .y = y;
15: this .width = width;
16: this .height = height;
17: }
18:
19: double x, y, width, height;
20: }
|