public interface Size extends AttributeWriteSizeAdvanced, AttributeWriteMinimumSize, AttributeWriteMaximumSize, AttributeReadSizeInPixel, AttributeWriteLengthProperty
LengthProperty
:
Orientation
: width or lengthLength
:
AttributeWriteLengthProperty.setLength(LengthProperty, Length)
. For practical use
there are also methods such as AttributeWriteSizeAdvanced.setWidthInPixel(double)
. Length
in the unit
that has
been set or configured internally. AttributeReadSizeInPixel.getWidthInPixel()
and AttributeReadSizeInPixel.getHeightInPixel()
but these may only
return precise results if the object (widget) is actually attached to the screen. This is by the nature of
the concept as you can hardly tell how many pixels an object with a width of 80% will take. So use these
two methods with care or you might get unpredictable results.setHeightInPercent, setHeightInPixel, setSize, setWidthInPercent, setWidthInPixel
setHeight, setSize, setWidth
getHeight, getWidth
setMinimumHeight, setMinimumSize, setMinimumWidth
getMinimumHeight, getMinimumWidth
setMaximumHeight, setMaximumSize, setMaximumWidth
getMaximumHeight, getMaximumWidth
getHeightInPixel, getWidthInPixel
setLength
getLength
Copyright © 2001–2016 mmm-Team. All rights reserved.