Documentation of 'edu.rit.swing.Displayable' Java class
Displayable
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 interface Drawable), a displayable object can tell the range of display coordinates it needs to display itself and the background paint for the display.
    • 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

You see the box below because you did not login.