- 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 ofUiScreenfor 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 voiddoUpdate()Called fromAbstractUiScreen.update()to update the native values whileAbstractUiScreen.update()will by default also update calculated values.voidsetHeightInPixel(double height)voidsetWidthInPixel(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:
setWidthInPixelin interfaceAttributeWriteSizeInPixel- Parameters:
width- the newwidth in pixel.
-
setHeightInPixel
public void setHeightInPixel(double height)
- Specified by:
setHeightInPixelin interfaceAttributeWriteSizeInPixel- Parameters:
height- the newheight in pixel.
-
doUpdate
protected void doUpdate()
Description copied from class:AbstractUiScreenCalled fromAbstractUiScreen.update()to update the native values whileAbstractUiScreen.update()will by default also update calculated values.- Specified by:
doUpdatein classAbstractUiScreen
-
-