edu.rit.swing
Interface Viewable
-
- All Superinterfaces:
- Displayable, Drawable
public interface Viewable extends Displayable
Interface Viewable specifies the interface for an object that can be viewed on the screen using the View program.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description DisplayableFramegetFrame()Get a displayable frame in which to view this viewable object.java.lang.StringgetTitle()Get the title for the frame used to view this viewable object.-
Methods inherited from interface edu.rit.swing.Displayable
getBackgroundPaint, getBoundingBox
-
-
-
-
Method Detail
-
getFrame
DisplayableFrame getFrame()
Get a displayable frame in which to view this viewable object. Initially, the returned frame is displaying this viewable object.- Returns:
- Displayable frame.
-
getTitle
java.lang.String getTitle()
Get the title for the frame used to view this viewable object. If the title is null, a default title is used.- Returns:
- Title.
-
-
DMelt 3.0 © DataMelt by jWork.ORG