|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nakedobjects.viewer.classic.view.ViewContent
org.nakedobjects.viewer.classic.view.TextContent
Constructor Summary | |
TextContent()
|
|
TextContent(TextStyle labelStyle,
TextStyle textStyle)
|
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.ViewContent |
toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TextContent()
public TextContent(TextStyle labelStyle, TextStyle textStyle)
Method Detail |
public java.awt.Dimension getMinimumSize(NakedObject object)
ViewContent
getMinimumSize
in class ViewContent
public void paint(java.awt.Graphics g, java.awt.Rectangle within, ObjectViewer forViewer)
ViewContent
paint
in class ViewContent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |