org.nakedobjects.viewer.classic.view
Class FinderBackground
java.lang.Object
org.nakedobjects.viewer.classic.view.ViewBackground
org.nakedobjects.viewer.classic.view.FinderBackground
- public class FinderBackground
- extends ViewBackground
Displays an finder image as the background of a form for a finder object
- Author:
- rcm
|
Method Summary |
java.awt.Dimension |
getMinimumSize(NakedObject object)
returns the size the component needs to be so that the Display can draw itself properly |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FinderBackground
public FinderBackground(java.lang.String fileName)
getMinimumSize
public java.awt.Dimension getMinimumSize(NakedObject object)
- Description copied from class:
ViewBackground
- returns the size the component needs to be so that the Display can draw itself properly
- Specified by:
getMinimumSize in class ViewBackground
paint
public void paint(java.awt.Graphics g,
java.awt.Rectangle within,
ObjectViewer forViewer)
- Description copied from class:
ViewBackground
- this method is called by the component to do the drawing on it
- Specified by:
paint in class ViewBackground