Package org.apache.pivot.wtk.effects
Class OverlayDecorator
- java.lang.Object
-
- org.apache.pivot.wtk.effects.OverlayDecorator
-
-
Constructor Summary
Constructors Constructor Description OverlayDecorator()OverlayDecorator(Component overlay)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComponentgetOverlay()java.awt.Graphics2Dprepare(Component component, java.awt.Graphics2D graphicsValue)Prepares the graphics context into which the component or prior decorator will paint.voidsetOverlay(Component overlay)voidupdate()Updates the graphics context into which the component or prior decorator was painted.-
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
-
-
-
-
Constructor Detail
-
OverlayDecorator
public OverlayDecorator()
-
OverlayDecorator
public OverlayDecorator(Component overlay)
-
-
Method Detail
-
getOverlay
public Component getOverlay()
-
setOverlay
public void setOverlay(Component overlay)
-
prepare
public java.awt.Graphics2D prepare(Component component, java.awt.Graphics2D graphicsValue)
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.
-
update
public void update()
Description copied from interface:DecoratorUpdates the graphics context into which the component or prior decorator was painted. This method is called immediately afterComponent.paint(Graphics2D); decorators are called in ascending order.This default version simply returns, without doing anything (often the appropriate thing to do).
-
-