Package org.opensourcephysics.display
Interface Dimensioned
- All Known Implementing Classes:
ByteRaster
,CartesianInteractive
,CartesianType1
,DataToolTab.DataToolAxes
,IntegerRaster
,PolarType1
public interface Dimensioned
Dimensioned objects can only be drawn a certain size and therefore set the size of
a drawing panel's drawable area.
The last dimensioned object to be added to a drawing panel will set the dimension
of the drawable area.
- Version:
- 1.0
- Author:
- Wolfgang Christian
-
Method Summary
Modifier and TypeMethodDescriptiongetInterior
(DrawingPanel panel) Gets the interior dimension of the drawing panel in pixel units.
-
Method Details
-
getInterior
Gets the interior dimension of the drawing panel in pixel units. Because this method is called before the pixel scale is set, it may change the gutters and the preferred scale.- Parameters:
panel
- that requested the interior- Returns:
- the interior dimension
-