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, turnDirectionTopublic Rectangle getBounds()
getBounds in interface FigureModelgetBounds in class DefaultFigureModelFigureModel.getBounds(Rectangle),
FigureModel.getLocation(),
FigureModel.getSize()public final boolean isFilled()
isFilled in interface FigureModelisFilled in class DefaultFigureModelFigureModel.setFilled(boolean),
FigureModel.setFillColor(Color)