Interface InteractiveRendering

All Superinterfaces:
Rendering

public interface InteractiveRendering extends Rendering
An interactive rendering is used to render graphical data representations on a GUI widget, allowing for rendering of invalidated regions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invalidates the given view region so that it becomes repainted as soon as possible.
    void
    Runs the given task in the thread that is used by the GUI library.

    Methods inherited from interface com.bc.ceres.grender.Rendering

    getGraphics, getViewport
  • Method Details

    • invalidateRegion

      void invalidateRegion(Rectangle region)
      Invalidates the given view region so that it becomes repainted as soon as possible.
      Parameters:
      region - The region to be invalidated (in view coordinates).
    • invokeLater

      void invokeLater(Runnable task)
      Runs the given task in the thread that is used by the GUI library. In Swing, this would be the Event Dispatcher Thread (EDT).
      Parameters:
      task - The task to be invoked.