Class AbsolutePosition
java.lang.Object
org.teamapps.ux.component.absolutelayout.AbsolutePosition
public class AbsolutePosition
extends java.lang.Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description static AbsolutePositionfromPixelDimensions(Length top, Length left, Length width, Length height, int zIndex)static AbsolutePositionfromPixelTopRightBottomLeft(float top, float right, float bottom, float left, int zIndex)static AbsolutePositionfromRelativeDimensions(float top, float left, float width, float height, int zIndex)static AbsolutePositionfromRelativeRightBottomDimensions(float right, float bottom, float width, float height, int zIndex)static AbsolutePositionfromRelativeTopRightBottomLeft(float top, float right, float bottom, float left, int zIndex)static AbsolutePositionfullSizeAsRelativeDimensions(int zIndex)LengthgetBottom()LengthgetHeight()LengthgetLeft()LengthgetRight()LengthgetTop()LengthgetWidth()intgetZIndex()
-
Constructor Details
-
Method Details
-
fromPixelTopRightBottomLeft
public static AbsolutePosition fromPixelTopRightBottomLeft(float top, float right, float bottom, float left, int zIndex) -
fromRelativeTopRightBottomLeft
public static AbsolutePosition fromRelativeTopRightBottomLeft(float top, float right, float bottom, float left, int zIndex) -
fromRelativeDimensions
public static AbsolutePosition fromRelativeDimensions(float top, float left, float width, float height, int zIndex) -
fromRelativeRightBottomDimensions
public static AbsolutePosition fromRelativeRightBottomDimensions(float right, float bottom, float width, float height, int zIndex) -
fromPixelDimensions
public static AbsolutePosition fromPixelDimensions(Length top, Length left, Length width, Length height, int zIndex) -
fullSizeAsRelativeDimensions
-
getTop
-
getRight
-
getBottom
-
getLeft
-
getWidth
-
getHeight
-
getZIndex
public int getZIndex()
-