Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
VAquaRendering – Release 15
Interface org.violetlib.jnr.LayoutInfo
Inherited members: ShowHide
Deprecated: ShowHide
org.violetlib.jnr

Interface LayoutInfo

  • public interface LayoutInfo
    Layout information that describes fixed and/or minimum sizes for a 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.
    • Static Methods 
      Modifier and Type Static Method and Description
      Ordinary member indicator create Reveal DetailHide Detail
      static LayoutInfo create(boolean isWidthFixed, float width, boolean isHeightFixed, float height)
      Return a layout info with optional fixed or minimum dimensions.
      static LayoutInfo create(boolean isWidthFixed, float width, boolean isHeightFixed, float height)
      Return a layout info with optional fixed or minimum dimensions.
      Parameters:
      isWidthFixed - If true, the width parameter specifies a fixed width. Otherwise, the width parameter specifies a minimum width.
      width - The fixed or minimum width, or zero if none.
      isHeightFixed - If true, the height parameter specifies a fixed height. Otherwise, the height parameter specifies a minimum height.
      height - The fixed or minimum height, or zero if none.
      Returns:
      the layout info.
      Throws:
      IllegalArgumentException - if the specified width or height is negative.
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator getFixedVisualHeight Reveal DetailHide Detail
      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.
      Ordinary member indicator getFixedVisualWidth Reveal DetailHide Detail
      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.
      Ordinary member indicator getMinimumVisualHeight Reveal DetailHide Detail
      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.
      Ordinary member indicator getMinimumVisualWidth Reveal DetailHide Detail
      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.
      Returns:
      the minimum visual width.