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

Direct Known Subclasses:
    InnerShadowEffect, InnerGlowEffect, DropShadowEffect, OuterGlowEffect, ShadowEffect

Effect
Nested Class Summary:
enum class  Effect.EffectType   
protected static class  Effect.ArrayCache   
Method from javax.swing.plaf.nimbus.Effect Summary:
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.Effect Detail:
 abstract 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.
 protected static ArrayCache getArrayCache() 
 abstract 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.
 abstract float getOpacity()
    Get the opacity to use to paint the result effected image if the EffectType is UNDER or OVER.