|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.wtk.effects.OverlayDecorator
public class OverlayDecorator
Decorator that overlays a component on top of another component. The overlay component is strictly visual and does not respond to user input.
| Constructor Summary | |
|---|---|
OverlayDecorator()
|
|
OverlayDecorator(Component overlay)
|
|
| Method Summary | |
|---|---|
Bounds |
getBounds(Component component)
Returns the bounding area of the decorator. |
Component |
getOverlay()
|
AffineTransform |
getTransform(Component component)
Returns the transformation the decorator applies to the component's coordinate space. |
Graphics2D |
prepare(Component component,
Graphics2D graphicsArgument)
Prepares the graphics context into which the component or prior decorator will paint. |
void |
setOverlay(Component overlay)
|
void |
update()
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 |
| Constructor Detail |
|---|
public OverlayDecorator()
public OverlayDecorator(Component overlay)
| Method Detail |
|---|
public Component getOverlay()
public void setOverlay(Component overlay)
public Graphics2D prepare(Component component,
Graphics2D graphicsArgument)
DecoratorComponent.paint(Graphics2D); decorators are called in
descending order.
prepare in interface Decoratorpublic void update()
DecoratorComponent.paint(Graphics2D); decorators are called in
ascending order.
update in interface Decoratorpublic Bounds getBounds(Component component)
Decorator
getBounds in interface Decoratorpublic AffineTransform getTransform(Component component)
Decorator
getTransform in interface Decorator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||