All Superinterfaces:
LayoutMeasurable
All Known Subinterfaces:
HtmlLayoutMeasurableNoGrow, HtmlLayoutMeasurableNoHGrow, HtmlLayoutMeasurableNoVGrow
All Known Implementing Classes:
GwtJ2clMediaViewPeer, HtmlBrowserRegionPeer, HtmlChoiceBoxPeer, HtmlDatePickerPeer, HtmlHyperlinkPeer, HtmlLabelPeer, HtmlProgressBarPeer, HtmlRadioButtonPeer, HtmlSliderPeer, HtmlSVGPathPeer, HtmlSvgTextPeer, HtmlTextAreaPeer, HtmlTextFieldPeer, HtmlTextPeer, HtmlToggleButtonPeer

public interface HtmlLayoutMeasurable extends LayoutMeasurable
Author:
Bruno Salmon
  • Method Details

    • getElement

      elemental2.dom.HTMLElement getElement()
    • getLayoutBounds

      default Bounds getLayoutBounds()
      Specified by:
      getLayoutBounds in interface LayoutMeasurable
    • measureLayoutBounds

      default Bounds measureLayoutBounds()
    • minWidth

      default double minWidth(double height)
      Specified by:
      minWidth in interface LayoutMeasurable
    • maxWidth

      default double maxWidth(double height)
      Specified by:
      maxWidth in interface LayoutMeasurable
    • minHeight

      default double minHeight(double width)
      Specified by:
      minHeight in interface LayoutMeasurable
    • maxHeight

      default double maxHeight(double width)
      Specified by:
      maxHeight in interface LayoutMeasurable
    • prefWidth

      default double prefWidth(double height)
      Specified by:
      prefWidth in interface LayoutMeasurable
    • prefHeight

      default double prefHeight(double width)
      Specified by:
      prefHeight in interface LayoutMeasurable
    • measureWidth

      default double measureWidth(double height)
    • measureHeight

      default double measureHeight(double width)
    • sizeAndMeasure

      default double sizeAndMeasure(double value, boolean width)
    • measure

      default double measure(elemental2.dom.HTMLElement e, boolean width)
    • getCache

      default HtmlLayoutCache getCache()
    • clearCache

      default void clearCache()
      Specified by:
      clearCache in interface LayoutMeasurable