Layout information for a widget describes fixed and/or minimum sizes for the widget rendering. This information may be
platform UI dependent. In rare cases, it may also depend upon the native rendering implementation. All dimensions are
specified in device independent pixels.
Methods
Modifier and Type
Method and Description
getFixedVisualHeight
abstract float getFixedVisualHeight()
Return the height of the visual rendering of the widget, if the height is fixed.
float getFixedVisualHeight()
Return the height of the visual rendering of the widget, if the height is fixed.
Returns:
the height, or 0 if the height is not fixed.
getFixedVisualWidth
abstract float getFixedVisualWidth()
Return the width of the visual rendering of the widget, if the width is fixed.
float getFixedVisualWidth()
Return the width of the visual rendering of the widget, if the width is fixed.
Returns:
the width, or 0 if the width is not fixed.
getMinimumVisualHeight
abstract float getMinimumVisualHeight()
Return the minimum height of the visual rendering of the widget.
float getMinimumVisualHeight()
Return the minimum height of the visual rendering of the widget. If the visual rendering has a fixed height, then
that height is returned.
Returns:
the minimum visual height.
getMinimumVisualWidth
abstract float getMinimumVisualWidth()
Return the minimum width of the visual rendering of the widget.
float getMinimumVisualWidth()
Return the minimum width of the visual rendering of the widget. If the visual rendering has a fixed width, then
that width is returned.