edu.rit.swing
Interface Displayable
-
- All Superinterfaces:
- Drawable
- All Known Subinterfaces:
- Viewable
- All Known Implementing Classes:
- DisplayableList, Drawing, Plot, XYPlot
public interface Displayable extends Drawable
Interface Displayable specifies the interface for an object that can be displayed in a graphics context. Besides the ability to draw itself (inherited from interfaceDrawable), a displayable object can tell the range of display coordinates it needs to display itself and the background paint for the display.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.awt.PaintgetBackgroundPaint()Returns this displayable object's background paint.java.awt.geom.Rectangle2DgetBoundingBox()Returns this displayable object's bounding box.
-
-
-
Method Detail
-
getBoundingBox
java.awt.geom.Rectangle2D getBoundingBox()
Returns this displayable object's bounding box. This is the smallest rectangle that encloses all of this displayable object.
-
getBackgroundPaint
java.awt.Paint getBackgroundPaint()
Returns this displayable object's background paint.
-
-
DMelt 3.0 © DataMelt by jWork.ORG