Interface DelayedRenderingComponent

All Known Implementing Classes:
EarthDataViewPanel

public interface DelayedRenderingComponent
The DelayedRenderingComponent interface may be used by graphical components that wish to implement a delayed rendering strategy. If the component is currently in a rendering state, users of the interface may stop the rendering by calling the stopRendering() method. Generally, delayed rendering is only applicable if the component draws itself using a separate rendering thread.
Since:
3.1.7
Author:
Peter Hollemans
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets the rendering state.
    void
    Stops the current rendering thread if it is active.
  • Method Details

    • isRendering

      boolean isRendering()
      Gets the rendering state.
      Returns:
      true if the component is in a rendering state, or false if not.
    • stopRendering

      void stopRendering()
      Stops the current rendering thread if it is active. If there is no active rendering taking place, no operation is performed.