org.nakedobjects.viewer.classic.view
Class ViewBackground
java.lang.Object
org.nakedobjects.viewer.classic.view.ViewBackground
- Direct Known Subclasses:
- ClearBackground, FinderBackground, OvalBackground
- public abstract class ViewBackground
- extends java.lang.Object
A delegate for View which renders a background behind the content of the
view.
|
Method Summary |
abstract java.awt.Dimension |
getMinimumSize(NakedObject object)
returns the size the component needs to be so that the Display can draw itself properly |
abstract void |
paint(java.awt.Graphics g,
java.awt.Rectangle within,
ObjectViewer forViewer)
this method is called by the component to do the drawing on it |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ViewBackground
public ViewBackground()
getMinimumSize
public abstract java.awt.Dimension getMinimumSize(NakedObject object)
- returns the size the component needs to be so that the Display can draw itself properly
paint
public abstract void paint(java.awt.Graphics g,
java.awt.Rectangle within,
ObjectViewer forViewer)
- this method is called by the component to do the drawing on it
toString
public java.lang.String toString()