Class BlurredPanel

java.lang.Object
org.eclipse.nebula.widgets.opal.panels.BlurredPanel

public class BlurredPanel
extends java.lang.Object
Instances of this class are controls located on the top of a shell. They display a blurred version of the content of the shell
  • Constructor Summary

    Constructors 
    Constructor Description
    BlurredPanel​(org.eclipse.swt.widgets.Shell shell)
    Constructs a new instance of this class given its parent.
  • Method Summary

    Modifier and Type Method Description
    int getRadius()  
    void hide()
    Hide the panel
    void setRadius​(int radius)  
    void show()
    Show the blurred panel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BlurredPanel

      public BlurredPanel​(org.eclipse.swt.widgets.Shell shell)
      Constructs a new instance of this class given its parent.
      Parameters:
      shell - a shell that will be the parent of the new instance (cannot be null)
      Throws:
      java.lang.IllegalArgumentException -
      • ERROR_NULL_ARGUMENT - if the parent is null
      org.eclipse.swt.SWTException -
      • ERROR_WIDGET_DISPOSED - if the parent has been disposed
      • ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent
  • Method Details

    • show

      public void show()
      Show the blurred panel
    • hide

      public void hide()
      Hide the panel
    • getRadius

      public int getRadius()
      Returns:
      the radius of the blur effect
    • setRadius

      public void setRadius​(int radius)
      Parameters:
      radius - the radius to set