Package snap.view

Class RowViewProxy<T extends View>

All Implemented Interfaces:
Cloneable

public class RowViewProxy<T extends View> extends ParentViewProxy<T>
A ViewProxy subclass to layout child views horizontally, from left to right.
  • Constructor Details

    • RowViewProxy

      public RowViewProxy(View aParent)
      Constructor for given parent view.
  • Method Details

    • getPrefWidthImpl

      protected double getPrefWidthImpl(double aH)
      Returns preferred width of given parent proxy using RowView layout.
      Specified by:
      getPrefWidthImpl in class ParentViewProxy<T extends View>
    • getPrefHeightImpl

      protected double getPrefHeightImpl(double aW)
      Returns preferred height of given parent proxy using RowView layout.
      Specified by:
      getPrefHeightImpl in class ParentViewProxy<T extends View>
    • layoutProxy

      public void layoutProxy()
      Performs layout for given ViewProxy.
      Specified by:
      layoutProxy in class ParentViewProxy<T extends View>