- java.lang.Object
-
- io.github.mmm.ui.spi.AbstractUiScreen
-
- io.github.mmm.ui.test.TestScreen
-
- All Implemented Interfaces:
AttributeReadSize
,AttributeWriteSizeInPixel
,UiScreen
public class TestScreen extends AbstractUiScreen implements AttributeWriteSizeInPixel
Implementation ofUiScreen
for testing.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description TestScreen()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doUpdate()
Called fromAbstractUiScreen.update()
to update the native values whileAbstractUiScreen.update()
will by default also update calculated values.void
setHeightInPixel(double height)
void
setWidthInPixel(double width)
-
Methods inherited from class io.github.mmm.ui.spi.AbstractUiScreen
getDpi, getHeightInPixel, getSize, getType, getWidthInPixel, toString, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadSize
getHeight, getHeightInPixel, getWidth, getWidthInPixel
-
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteSizeInPixel
setSizeInPixel
-
-
-
-
Method Detail
-
setWidthInPixel
public void setWidthInPixel(double width)
- Specified by:
setWidthInPixel
in interfaceAttributeWriteSizeInPixel
- Parameters:
width
- the newwidth in pixel
.
-
setHeightInPixel
public void setHeightInPixel(double height)
- Specified by:
setHeightInPixel
in interfaceAttributeWriteSizeInPixel
- Parameters:
height
- the newheight in pixel
.
-
doUpdate
protected void doUpdate()
Description copied from class:AbstractUiScreen
Called fromAbstractUiScreen.update()
to update the native values whileAbstractUiScreen.update()
will by default also update calculated values.- Specified by:
doUpdate
in classAbstractUiScreen
-
-