Class ViewSize

java.lang.Object
org.teamapps.ux.application.view.ViewSize

public class ViewSize extends Object
  • Constructor Details

    • ViewSize

      public ViewSize()
    • ViewSize

      public ViewSize(Integer absoluteWidth, Float relativeWidth, Integer absoluteHeight, Float relativeHeight)
  • Method Details

    • ofAbsoluteWidth

      public static ViewSize ofAbsoluteWidth(int width)
    • ofRelativeWidth

      public static ViewSize ofRelativeWidth(float width)
    • ofAbsoluteHeight

      public static ViewSize ofAbsoluteHeight(int height)
    • ofRelativeHeight

      public static ViewSize ofRelativeHeight(float height)
    • isWidthAvailable

      public boolean isWidthAvailable()
    • getAbsoluteWidth

      public Integer getAbsoluteWidth()
    • setAbsoluteWidth

      public void setAbsoluteWidth(Integer absoluteWidth)
    • getRelativeWidth

      public Float getRelativeWidth()
    • setRelativeWidth

      public void setRelativeWidth(Float relativeWidth)
    • isHeightAvailable

      public boolean isHeightAvailable()
    • getAbsoluteHeight

      public Integer getAbsoluteHeight()
    • setAbsoluteHeight

      public void setAbsoluteHeight(Integer absoluteHeight)
    • getRelativeHeight

      public Float getRelativeHeight()
    • setRelativeHeight

      public void setRelativeHeight(Float relativeHeight)