Class DarkPanel

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

public class DarkPanel
extends java.lang.Object
Instances of this class are controls located on the top of a shell. They display a dark panel on this shell
  • Constructor Summary

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

    Modifier and Type Method Description
    int getAlpha()  
    void hide()
    Hide the dark panel
    void setAlpha​(int alpha)  
    void show()
    Show the dark panel

    Methods inherited from class java.lang.Object

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

    • DarkPanel

      public DarkPanel​(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 dark panel
    • hide

      public void hide()
      Hide the dark panel
    • getAlpha

      public int getAlpha()
      Returns:
      the alpha value
    • setAlpha

      public void setAlpha​(int alpha)
      Parameters:
      alpha - the alpha to set