geofasc.swing.model
public class DefaultPointModel extends DefaultFigureModel
DefaultPointModel
is the default implementation of
PointModel
. This class is inherited from DefaultFigureModel
.Constructor and Description |
---|
DefaultPointModel() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Gets the bounds (size and location) of this model's figure.
|
boolean |
isFilled()
Determines whether this model's figure is filled when it is drawn.
|
addChangeListener, getBounds, getDirection, getFillColor, getHeight, getLineColor, getLocation, getLocationX, getLocationY, getSize, getWidth, moveLocationBy, moveLocationBy, moveLocationBy, moveLocationXBy, moveLocationYBy, removeChangeListener, setDirection, setFillColor, setFilled, setLineColor, setLocation, setLocation, setLocationX, setLocationY, turnDirectionBy, turnDirectionTo
public Rectangle getBounds()
getBounds
in interface FigureModel
getBounds
in class DefaultFigureModel
FigureModel.getBounds(Rectangle)
,
FigureModel.getLocation()
,
FigureModel.getSize()
public final boolean isFilled()
isFilled
in interface FigureModel
isFilled
in class DefaultFigureModel
FigureModel.setFilled(boolean)
,
FigureModel.setFillColor(Color)