Interface RenderableContainer

All Known Implementing Classes:
BaseElementRenderable, HtmlBlockPanel, RBlock, RImgControl, RInlineBlock, RTable, RTableCell, RUIControl

public interface RenderableContainer
A RenderableContainer is either usually a parent block or the root GUI component. It is a Renderable or GUI component whose layout may be invalidated.
  • Method Details

    • addComponent

      Component addComponent(Component component)

      addComponent.

      Parameters:
      component - a Component object.
      Returns:
      a Component object.
    • addDelayedPair

      void addDelayedPair(DelayedPair pair)

      addDelayedPair.

      Parameters:
      pair - a DelayedPair object.
    • clearDelayedPairs

      void clearDelayedPairs()

      clearDelayedPairs.

    • focus

      void focus()

      focus.

    • getDelayedPairs

      List<DelayedPair> getDelayedPairs()

      getDelayedPairs.

      Returns:
      a List object.
    • getPaintedBackgroundColor

      Color getPaintedBackgroundColor()

      getPaintedBackgroundColor.

      Returns:
      a Color object.
    • getParentContainer

      RenderableContainer getParentContainer()

      getParentContainer.

      Returns:
      a RenderableContainer object.
    • invalidateLayoutUpTree

      void invalidateLayoutUpTree()

      invalidateLayoutUpTree.

    • relayout

      void relayout()

      relayout.

    • repaint

      void repaint(int x, int y, int width, int height)

      repaint.

      Parameters:
      x - a Integer object.
      y - a Integer object.
      width - a Integer object.
      height - a Integer object.
    • updateAllWidgetBounds

      void updateAllWidgetBounds()

      updateAllWidgetBounds.

    • getInsetsMarginBorder

      Insets getInsetsMarginBorder(boolean hscroll, boolean vscroll)

      getInsetsMarginBorder.

      Parameters:
      hscroll - a boolean.
      vscroll - a boolean.
      Returns:
      a Insets object.
    • getInsets

      Insets getInsets(boolean hscroll, boolean vscroll)

      getInsets.

      Parameters:
      hscroll - a boolean.
      vscroll - a boolean.
      Returns:
      a Insets object.
    • getY

      int getY()

      getY.

      Returns:
      a Integer object.
    • getInnerWidth

      default int getInnerWidth()

      getInnerWidth.

      Returns:
      a Integer object.
    • getInnerHeight

      default int getInnerHeight()

      getInnerHeight.

      Returns:
      a Integer object.
    • getVisualBounds

      Rectangle getVisualBounds()

      getVisualBounds.

      Returns:
      a Rectangle object.
    • getVisualWidth

      int getVisualWidth()

      getVisualWidth.

      Returns:
      a Integer object.
    • getVisualHeight

      int getVisualHeight()

      getVisualHeight.

      Returns:
      a Integer object.
    • getGUIPoint

      Point getGUIPoint(int x, int y)

      getGUIPoint.

      Parameters:
      x - a Integer object.
      y - a Integer object.
      Returns:
      a Point object.
    • translateDescendentPoint

      Point translateDescendentPoint(BoundableRenderable descendent, int x, int y)

      translateDescendentPoint.

      Parameters:
      descendent - a BoundableRenderable object.
      x - a Integer object.
      y - a Integer object.
      Returns:
      a Point object.
    • getOriginRelativeToAbs

      Point getOriginRelativeToAbs(RCollection bodyLayout)

      getOriginRelativeToAbs.

      Parameters:
      bodyLayout - a RCollection object.
      Returns:
      a Point object.