Package org.teamapps.ux.application.view
Class ViewSize
java.lang.Object
org.teamapps.ux.application.view.ViewSize
public class ViewSize
extends java.lang.Object
-
Constructor Summary
-
Method Summary
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)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ViewSize
public ViewSize() -
ViewSize
public ViewSize(java.lang.Integer absoluteWidth, java.lang.Float relativeWidth, java.lang.Integer absoluteHeight, java.lang.Float relativeHeight)
-
-
Method Details
-
ofAbsoluteWidth
-
ofRelativeWidth
-
ofAbsoluteHeight
-
ofRelativeHeight
-
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)
-