geofasc.swing.model
public interface CircleModel extends EllipseModel
CircleModel is the interface for the data model of a circle
figure. This interface is inherited from EllipseModel.
A circle is defined by its radius.| Modifier and Type | Method and Description |
|---|---|
int |
getDiameter()
Gets the diameter of this model's circle.
|
int |
getRadius()
Gets the radius of this model's circle.
|
void |
setDiameter(int diameter)
Sets the diameter of of this model's circle.
|
void |
setRadius(int radius)
Sets the radius of of this model's circle.
|
moveHeightBy, moveSizeBy, moveSizeBy, moveWidthBy, setBounds, setBounds, setHeight, setSize, setSize, setWidthaddChangeListener, getBounds, getBounds, getDirection, getFillColor, getHeight, getLineColor, getLocation, getLocationX, getLocationY, getSize, getWidth, isFilled, moveLocationBy, moveLocationBy, moveLocationBy, moveLocationXBy, moveLocationYBy, removeChangeListener, setDirection, setFillColor, setFilled, setLineColor, setLocation, setLocation, setLocationX, setLocationY, turnDirectionBy, turnDirectionToint getDiameter()
int getRadius()
void setDiameter(int diameter)
radius - the new radiusvoid setRadius(int radius)
radius - the new radius