Class CanvasRenderer

All Implemented Interfaces:
IPropertyContainer, IRenderer

public class CanvasRenderer extends RootRenderer
Represents a renderer for the Canvas layout element.
  • Field Details

    • canvas

      protected Canvas canvas
  • Constructor Details

    • CanvasRenderer

      public CanvasRenderer (Canvas canvas)
      Creates a CanvasRenderer from its corresponding layout object. Sets RootRenderer.immediateFlush to true.
      Parameters:
      canvas - the Canvas which this object should manage
    • CanvasRenderer

      public CanvasRenderer (Canvas canvas, boolean immediateFlush)
      Creates a CanvasRenderer from its corresponding layout object. Defines whether the content should be flushed immediately after addition addChild(IRenderer) or not
      Parameters:
      canvas - the Canvas which this object should manage
      immediateFlush - the value which stands for immediate flushing
  • Method Details