Class AbsolutePosition
- java.lang.Object
-
- org.teamapps.ux.component.absolutelayout.AbsolutePosition
-
public class AbsolutePosition extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
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
public static AbsolutePosition fullSizeAsRelativeDimensions(int zIndex)
-
getTop
public Length getTop()
-
getRight
public Length getRight()
-
getBottom
public Length getBottom()
-
getLeft
public Length getLeft()
-
getWidth
public Length getWidth()
-
getHeight
public Length getHeight()
-
getZIndex
public int getZIndex()
-
-