org.nakedobjects.viewer.classic.view
Class SmallIconContent
java.lang.Object
org.nakedobjects.viewer.classic.view.ViewContent
org.nakedobjects.viewer.classic.view.SmallIconContent
- Direct Known Subclasses:
- CellIconContent, CollectionElementIconContent, FieldIconContent, InstanceIconContent
- public abstract class SmallIconContent
- extends ViewContent
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 |
java.lang.String |
title(NakedObject object)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IMAGE_LABEL_GAP
protected static final int IMAGE_LABEL_GAP
- See Also:
- Constant Field Values
style
protected TextStyle style
SmallIconContent
public SmallIconContent()
SmallIconContent
public SmallIconContent(TextStyle style)
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
- Specified by:
getMinimumSize
in class ViewContent
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
- Specified by:
paint
in class ViewContent
title
public java.lang.String title(NakedObject object)