Home » openjdk-7 » javax.swing.plaf.nimbus » [javadoc | source]
javax.swing.plaf.nimbus
class: DropShadowEffect [javadoc | source]
java.lang.Object
   javax.swing.plaf.nimbus.Effect
      javax.swing.plaf.nimbus.ShadowEffect
         javax.swing.plaf.nimbus.DropShadowEffect

Direct Known Subclasses:
    OuterGlowEffect

DropShadowEffect - This effect currently only works with ARGB type buffered images.
Fields inherited from javax.swing.plaf.nimbus.ShadowEffect:
color,  opacity,  angle,  distance,  spread,  size
Method from javax.swing.plaf.nimbus.DropShadowEffect Summary:
applyEffect,   getEffectType
Methods from javax.swing.plaf.nimbus.ShadowEffect:
getAngle,   getColor,   getDistance,   getOpacity,   getSize,   getSpread,   setAngle,   setColor,   setDistance,   setOpacity,   setSize,   setSpread
Methods from javax.swing.plaf.nimbus.Effect:
applyEffect,   getArrayCache,   getEffectType,   getOpacity
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.nimbus.DropShadowEffect Detail:
 BufferedImage applyEffect(BufferedImage src,
    BufferedImage dst,
    int w,
    int h) 
    Apply the effect to the src image generating the result . The result image may or may not contain the source image depending on what the effect type is.
 EffectType getEffectType() 
    Get the type of this effect, one of UNDER,BLENDED,OVER. UNDER means the result of apply effect should be painted under the src image. BLENDED means the result of apply sffect contains a modified src image so just it should be painted. OVER means the result of apply effect should be painted over the src image.