Class GridManager.WidgetPosition

java.lang.Object
yearreview.app.grid.GridManager.WidgetPosition
Enclosing class:
GridManager

private static class GridManager.WidgetPosition extends Object
Class to store the dimensions of a widget in screen space.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final float
    Position and size of the widget.
    (package private) final float
    Position and size of the widget.
    (package private) final float
    Position and size of the widget.
    (package private) final float
    Position and size of the widget.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    WidgetPosition(float x, float y, float w, float h)
    Constructs a new Widget with the given position and size.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      final float x
      Position and size of the widget.
    • y

      final float y
      Position and size of the widget.
    • w

      final float w
      Position and size of the widget.
    • h

      final float h
      Position 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-position
      y - y-position
      w - width
      h - height