Graphic Rendering System 1.0
A Java-based graphic rendering system implementing various design patterns
|
Public Member Functions | |
void | onShapeAdded (Shape shape) |
void | onShapeModified (Shape shape) |
void | onShapeRemoved (Shape shape) |
Observer interface for the Observer pattern. This allows objects to be notified of changes to shapes.
Definition at line 9 of file ShapeObserver.java.
void com.example.graphics.observer.ShapeObserver.onShapeAdded | ( | Shape | shape | ) |
Called when a shape is added
shape | the shape that was added |
Implemented in com.example.graphics.observer.ConsoleLogger.
void com.example.graphics.observer.ShapeObserver.onShapeModified | ( | Shape | shape | ) |
Called when a shape is modified
shape | the shape that was modified |
Implemented in com.example.graphics.observer.ConsoleLogger.
void com.example.graphics.observer.ShapeObserver.onShapeRemoved | ( | Shape | shape | ) |
Called when a shape is removed
shape | the shape that was removed |
Implemented in com.example.graphics.observer.ConsoleLogger.