org.nakedobjects.viewer.classic.view
Class ViewBorder

java.lang.Object
  extended byorg.nakedobjects.viewer.classic.view.ViewBorder
Direct Known Subclasses:
CompoundBorder, EmptyBorder, EtchedBorder, FormBorder, IconBorder, InternalListBorder, LineBorder, RowBorder, StatusBorder, TableBorder, TitleBorder

public abstract class ViewBorder
extends java.lang.Object

The Display does the drawing for a Display.


Constructor Summary
ViewBorder()
           
 
Method Summary
abstract  java.awt.Insets getBorderInsets(ObjectViewer viewer)
          return insets that determine where any contained components will be placed
 java.awt.Dimension getMinimumSize(ObjectViewer viewer)
          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
 

Constructor Detail

ViewBorder

public ViewBorder()
Method Detail

getBorderInsets

public abstract java.awt.Insets getBorderInsets(ObjectViewer viewer)
return insets that determine where any contained components will be placed


getMinimumSize

public java.awt.Dimension getMinimumSize(ObjectViewer viewer)
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()