Package yearreview.app.grid
Class GridManager.WidgetPosition
java.lang.Object
yearreview.app.grid.GridManager.WidgetPosition
- Enclosing class:
- GridManager
Class to store the dimensions of a widget in screen space.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
WidgetPosition
(float x, float y, float w, float h) Constructs a new Widget with the given position and size. -
Method Summary
-
Field Details
-
x
final float xPosition and size of the widget. -
y
final float yPosition and size of the widget. -
w
final float wPosition and size of the widget. -
h
final float hPosition and size of the widget.
-
-
Constructor Details
-
WidgetPosition
protected WidgetPosition(float x, float y, float w, float h) Constructs a new Widget with the given position and size.- Parameters:
x
- x-positiony
- y-positionw
- widthh
- height
-