Package org.apache.pivot.wtk.effects
Class FadeDecorator
- java.lang.Object
-
- org.apache.pivot.wtk.effects.FadeDecorator
-
-
Constructor Summary
Constructors Constructor Description FadeDecorator()FadeDecorator(float opacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetOpacity()java.awt.Graphics2Dprepare(Component component, java.awt.Graphics2D graphics)Prepares the graphics context into which the component or prior decorator will paint.voidsetOpacity(float opacity)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pivot.wtk.effects.Decorator
getBounds, getTransform, update
-
-
-
-
Method Detail
-
getOpacity
public float getOpacity()
-
setOpacity
public void setOpacity(float opacity)
-
prepare
public java.awt.Graphics2D prepare(Component component, java.awt.Graphics2D graphics)
Description copied from interface:DecoratorPrepares the graphics context into which the component or prior decorator will paint. This method is called immediately prior toComponent.paint(Graphics2D); decorators are called in descending order.
-
-