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.
-
BorderDecorator()
-
-
BorderDecorator(Figure)
-
-
connectionInsets()
- Forwards the connection insets to its contained figure..
-
displayBox()
- Gets the displaybox including the border.
-
draw(Graphics)
- Draws a the figure and decorates it with a border.
-
figureInvalidated(FigureChangeEvent)
- Invalidates the figure extended by its border.
BorderDecorator
public BorderDecorator()
BorderDecorator
public BorderDecorator(Figure figure)
draw
public void draw(Graphics g)
- Draws a the figure and decorates it with a border.
- Overrides:
- draw in class DecoratorFigure
displayBox
public Rectangle displayBox()
- Gets the displaybox including the border.
- Overrides:
- displayBox in class DecoratorFigure
figureInvalidated
public void figureInvalidated(FigureChangeEvent e)
- Invalidates the figure extended by its border.
- Overrides:
- figureInvalidated in class DecoratorFigure
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