Package org.apache.pivot.wtk.effects
Class ReflectionDecorator
- java.lang.Object
- 
- org.apache.pivot.wtk.effects.ReflectionDecorator
 
- 
- 
Constructor SummaryConstructors Constructor Description ReflectionDecorator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundsgetBounds(Component componentValue)Returns the bounding area of the decorator.java.awt.geom.AffineTransformgetTransform(Component componentValue)Returns the transformation the decorator applies to the component's coordinate space.java.awt.Graphics2Dprepare(Component componentValue, java.awt.Graphics2D graphicsValue)Prepares the graphics context into which the component or prior decorator will paint.voidupdate()Updates the graphics context into which the component or prior decorator was painted.
 
- 
- 
- 
Method Detail- 
preparepublic java.awt.Graphics2D prepare(Component componentValue, 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.
 - 
updatepublic 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). 
 - 
getBoundspublic Bounds getBounds(Component componentValue) Description copied from interface:DecoratorReturns the bounding area of the decorator.This default simply returns the bounds of the component's size. 
 - 
getTransformpublic java.awt.geom.AffineTransform getTransform(Component componentValue) Description copied from interface:DecoratorReturns the transformation the decorator applies to the component's coordinate space.This default simply returns a new AffineTransform.- Specified by:
- getTransformin interface- Decorator
- Parameters:
- componentValue- The component the decorator is attached to.
- Returns:
- The decorator's transform.
 
 
- 
 
-