|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.workspace.models.graphics.ObjectView org.devaki.nextobjects.workspace.models.graphics.ClassView org.devaki.nextobjects.workspace.models.graphics.ModelTitleView
This class is responsible for drawing a "cartouche" around the graphic.
Field Summary | |
(package private) int |
ascent
|
(package private) java.awt.Font |
font
|
(package private) java.lang.String |
modelKind
|
Fields inherited from class org.devaki.nextobjects.workspace.models.graphics.ClassView |
fontI, metriques, myStyle, oldRectangle, rectangle |
Fields inherited from class org.devaki.nextobjects.workspace.models.graphics.ObjectView |
actionPoint, myObject, selectionPoints |
Constructor Summary | |
ModelTitleView(ModelTitle pObject)
Constructor |
Method Summary | |
void |
paint(java.awt.Graphics g)
Paint the "cartouche" |
void |
printText(java.awt.Graphics g)
Draw the texts |
Methods inherited from class org.devaki.nextobjects.workspace.models.graphics.ClassView |
autoResize, getLocation, getMiddlePoint, getOldrectangle, getSize, getStyle, getSurface, printColumns, resetSelectionPoint, setLocation, setOldLocation, setOldSize, setSize, setStyle |
Methods inherited from class org.devaki.nextobjects.workspace.models.graphics.ObjectView |
getBaseObject, getSelectionPoint, getSelectionPoints, renderSelected, resetActionLocation, setActionLocation, setBaseObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.lang.String modelKind
java.awt.Font font
int ascent
Constructor Detail |
public ModelTitleView(ModelTitle pObject)
pObject
- the model titleMethod Detail |
public void paint(java.awt.Graphics g)
paint
in class ObjectView
g
- the graphic contextpublic void printText(java.awt.Graphics g)
g
- the graphic context
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |