- All Known Implementing Classes:
PrintImage
, Subgraph
public interface PrintWithGraphics
Node
s with this interface can draw using the Swing's
Graphics
context.
TODO don't drag Swing into the model!
- Since:
- 2022-02-01
-
Method Summary
Modifier and Type |
Method |
Description |
void |
print(java.awt.Graphics g) |
Called when the implementing class should paint.
|
-
Method Details
-
print
void print(java.awt.Graphics g)
Called when the implementing class should paint.
- Parameters:
g
- the Graphics
context.