Module io.github.mmm.ui.test.window
Class TestAbstractWindowPositionAndSize
- java.lang.Object
-
- io.github.mmm.ui.spi.window.UiWindowPositionAndSize
-
- io.github.mmm.ui.test.widget.window.TestAbstractWindowPositionAndSize
-
- All Implemented Interfaces:
AttributeReadPosition
,AttributeReadSize
,AttributeWritePosition
,AttributeWritePositionRange
,AttributeWriteSize
,AttributeWriteSizeInPixel
,AttributeWriteSizeRange
public class TestAbstractWindowPositionAndSize extends UiWindowPositionAndSize
Implementation ofUiWindowPositionAndSize
for testing.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TestAbstractWindowPositionAndSize()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getScreenHeight()
protected double
getScreenWidth()
-
Methods inherited from class io.github.mmm.ui.spi.window.UiWindowPositionAndSize
centerOnScreen, clipMax, clipSize, clipZero, getHeightInPixel, getMaxHeight, getMaxWidth, getMaxX, getMaxY, getMinHeight, getMinWidth, getMinX, getMinY, getWidthInPixel, getX, getY, setHeight, setHeightInPixel, setMaxHeight, setMaxWidth, setMaxX, setMaxY, setMinHeight, setMinWidth, setMinX, setMinY, setPosition, setSize, setSizeInPixel, setWidth, setWidthInPixel, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadSize
getHeight, getWidth
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWritePositionRange
setXRange, setYRange
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteSize
setSize
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteSizeRange
setHeightRange, setWidthRange
-
-
-
-
Method Detail
-
getScreenWidth
protected double getScreenWidth()
- Specified by:
getScreenWidth
in classUiWindowPositionAndSize
- Returns:
- the current width of the screen available for child windows.
-
getScreenHeight
protected double getScreenHeight()
- Specified by:
getScreenHeight
in classUiWindowPositionAndSize
- Returns:
- the current height of the screen available for child windows.
-
-