Class ComponentPosition
java.lang.Object
org.teamapps.ux.application.layout.ComponentPosition
-
Constructor Summary
ConstructorsConstructorDescriptionComponentPosition(float width, float height) ComponentPosition(float width, float height, int minWidth, int minHeight) ComponentPosition(String layoutPosition) ComponentPosition(String layoutPosition, float width, float height, int minWidth, int minHeight) -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentPositionstatic ComponentPositionstatic ComponentPositionasPanel(ViewGroupDefinition viewGroup) static ComponentPositionasPanel(WorkSpaceLayoutViewGroup viewGroup) static ComponentPositionasWindow(float width, float height) static ComponentPositionasWindow(float width, float height, int minWidth, int minHeight) static ComponentPositionasWindow(float width, float height, int minWidth, int minHeight, boolean modal) static ComponentPositionstatic ComponentPositionstatic ComponentPositionstatic ComponentPositionstatic ComponentPositionfloatintintfloatgetWidth()booleanbooleanisWindow()setAnimation(String animation) setHeight(float height) setMinHeight(int minHeight) setMinWidth(int minWidth) setModalWindow(boolean modalWindow) setWidth(float width)
-
Constructor Details
-
ComponentPosition
-
ComponentPosition
public ComponentPosition(String layoutPosition, float width, float height, int minWidth, int minHeight) -
ComponentPosition
public ComponentPosition(float width, float height) -
ComponentPosition
public ComponentPosition(float width, float height, int minWidth, int minHeight)
-
-
Method Details
-
asPanel
-
asPanel
-
asPanel
-
asPanel
public static ComponentPosition asPanel(String layoutPosition, float width, float height, int minWidth, int minHeight) -
asWindow
-
asWindow
-
asWindow
public static ComponentPosition asWindow(float width, float height, int minWidth, int minHeight, boolean modal) -
asWindowMaxSize
-
asWindowStandardSize
-
asWindowSmallSize
-
asWindowNarrowSize
-
asWindowWideSize
-
setModalWindow
-
setAnimation
-
setWidth
-
setHeight
-
setMinWidth
-
setMinHeight
-
getLayoutPosition
-
isWindow
public boolean isWindow() -
isModalWindow
public boolean isModalWindow() -
getAnimation
-
getWidth
public float getWidth() -
getHeight
public float getHeight() -
getMinWidth
public int getMinWidth() -
getMinHeight
public int getMinHeight()
-