Class ShadowPopupBorder

java.lang.Object
javax.swing.border.AbstractBorder
com.jgoodies.looks.common.ShadowPopupBorder
All Implemented Interfaces:
Serializable, Border

final class ShadowPopupBorder extends AbstractBorder
A border with a drop shadow intended to be used as the outer border of popups. Can paint the screen background if used with heavy-weight popup windows.
Version:
$Revision: 1.9 $
See Also:
  • Field Details

    • SHADOW_SIZE

      private static final int SHADOW_SIZE
      The drop shadow needs 5 pixels at the bottom and the right hand side.
      See Also:
    • instance

      private static ShadowPopupBorder instance
      The singleton instance used to draw all borders.
    • shadow

      private static Image shadow
      The drop shadow is created from a PNG image with 8 bit alpha channel.
  • Constructor Details

    • ShadowPopupBorder

      ShadowPopupBorder()
  • Method Details