Package | Description |
---|---|
geofasc.swing |
Provides all the classes being geometric figures as Swing components.
|
geofasc.swing.model |
Provides all the data model classes (interfaces and their default implementations)
for the geometric figure components.
|
Modifier and Type | Method and Description |
---|---|
RectangleModel |
Rectangle.getModel()
Returns the data model of this figure.
|
Modifier and Type | Method and Description |
---|---|
void |
Rectangle.setModel(RectangleModel model)
Sets the model of this rectangle.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SquareModel
SquareModel is the interface for the data model of a square
figure. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultRectangleModel
DefaultRectangleModel is the default implementation of
RectangleModel . |
class |
DefaultSquareModel
DefaultSquareModel is the default implementation of
SquareModel . |