Package org.teamapps.ux.application.view
Class ViewSize
- java.lang.Object
-
- org.teamapps.ux.application.view.ViewSize
-
public class ViewSize extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAbsoluteHeight()java.lang.IntegergetAbsoluteWidth()java.lang.FloatgetRelativeHeight()java.lang.FloatgetRelativeWidth()booleanisHeightAvailable()booleanisWidthAvailable()static ViewSizeofAbsoluteHeight(int height)static ViewSizeofAbsoluteWidth(int width)static ViewSizeofRelativeHeight(float height)static ViewSizeofRelativeWidth(float width)voidsetAbsoluteHeight(java.lang.Integer absoluteHeight)voidsetAbsoluteWidth(java.lang.Integer absoluteWidth)voidsetRelativeHeight(java.lang.Float relativeHeight)voidsetRelativeWidth(java.lang.Float relativeWidth)
-
-
-
Method Detail
-
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 java.lang.Integer getAbsoluteWidth()
-
setAbsoluteWidth
public void setAbsoluteWidth(java.lang.Integer absoluteWidth)
-
getRelativeWidth
public java.lang.Float getRelativeWidth()
-
setRelativeWidth
public void setRelativeWidth(java.lang.Float relativeWidth)
-
isHeightAvailable
public boolean isHeightAvailable()
-
getAbsoluteHeight
public java.lang.Integer getAbsoluteHeight()
-
setAbsoluteHeight
public void setAbsoluteHeight(java.lang.Integer absoluteHeight)
-
getRelativeHeight
public java.lang.Float getRelativeHeight()
-
setRelativeHeight
public void setRelativeHeight(java.lang.Float relativeHeight)
-
-