com.levigo.util.swing
Class RolloutBorder

java.lang.Object
  extended by com.levigo.util.swing.RolloutBorder
All Implemented Interfaces:
Border

public class RolloutBorder
extends Object
implements Border

A Border used for rollout components within an EffectPanel.


Constructor Summary
RolloutBorder(int radius, int dx, int dy, int alpha, int blurRadius, Color matteColor)
           
 
Method Summary
 Insets getBorderInsets(Component c)
           
 boolean isBorderOpaque()
           
 void paintBorder(Component c, Graphics g, int bx, int by, int width, int height)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolloutBorder

@CallOnEDT
public RolloutBorder(int radius,
                               int dx,
                               int dy,
                               int alpha,
                               int blurRadius,
                               Color matteColor)
Method Detail

getBorderInsets

@CallOnEDT
public Insets getBorderInsets(Component c)
Specified by:
getBorderInsets in interface Border

isBorderOpaque

@CallOnEDT
public boolean isBorderOpaque()
Specified by:
isBorderOpaque in interface Border

paintBorder

@CallOnEDT
public void paintBorder(Component c,
                                  Graphics g,
                                  int bx,
                                  int by,
                                  int width,
                                  int height)
Specified by:
paintBorder in interface Border


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.