org.nakedobjects.viewer.classic.view
Class CellIconContent

java.lang.Object
  extended byorg.nakedobjects.viewer.classic.view.ViewContent
      extended byorg.nakedobjects.viewer.classic.view.SmallIconContent
          extended byorg.nakedobjects.viewer.classic.view.CellIconContent

public class CellIconContent
extends SmallIconContent


Field Summary
 
Fields inherited from class org.nakedobjects.viewer.classic.view.SmallIconContent
IMAGE_LABEL_GAP, style
 
Constructor Summary
CellIconContent()
           
CellIconContent(TextStyle style)
           
 
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 org.nakedobjects.viewer.classic.view.SmallIconContent
title
 
Methods inherited from class org.nakedobjects.viewer.classic.view.ViewContent
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CellIconContent

public CellIconContent()

CellIconContent

public CellIconContent(TextStyle style)
Method Detail

getMinimumSize

public java.awt.Dimension getMinimumSize(NakedObject object)
Description copied from class: ViewContent
returns the size the component needs to be so that the Display can draw itself properly

Overrides:
getMinimumSize in class SmallIconContent

paint

public void paint(java.awt.Graphics g,
                  java.awt.Rectangle within,
                  ObjectViewer forViewer)
Description copied from class: ViewContent
this method is called by the component to do the drawing on it

Overrides:
paint in class SmallIconContent