Package com.bc.ceres.grender
Interface InteractiveRendering
- All Superinterfaces:
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 TypeMethodDescriptionvoid
invalidateRegion
(Rectangle region) Invalidates the given view region so that it becomes repainted as soon as possible.void
invokeLater
(Runnable task) 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
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
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.
-