All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.figures.BorderDecorator

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractFigure
           |
           +----CH.ifa.draw.standard.DecoratorFigure
                   |
                   +----CH.ifa.draw.figures.BorderDecorator

public class BorderDecorator
extends DecoratorFigure
BorderDecorator decorates an arbitrary Figure with a border.


Constructor Index

 o BorderDecorator()
 o BorderDecorator(Figure)

Method Index

 o connectionInsets()
Forwards the connection insets to its contained figure..
 o displayBox()
Gets the displaybox including the border.
 o draw(Graphics)
Draws a the figure and decorates it with a border.
 o figureInvalidated(FigureChangeEvent)
Invalidates the figure extended by its border.

Constructors

 o BorderDecorator
 public BorderDecorator()
 o BorderDecorator
 public BorderDecorator(Figure figure)

Methods

 o draw
 public void draw(Graphics g)
Draws a the figure and decorates it with a border.

Overrides:
draw in class DecoratorFigure
 o displayBox
 public Rectangle displayBox()
Gets the displaybox including the border.

Overrides:
displayBox in class DecoratorFigure
 o figureInvalidated
 public void figureInvalidated(FigureChangeEvent e)
Invalidates the figure extended by its border.

Overrides:
figureInvalidated in class DecoratorFigure
 o connectionInsets
 public Insets connectionInsets()
Forwards the connection insets to its contained figure..

Overrides:
connectionInsets in class DecoratorFigure

All Packages  Class Hierarchy  This Package  Previous  Next  Index