|
|||||||||||
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.LabelView
The labels view are like postits
Field Summary |
Fields inherited from class org.devaki.nextobjects.workspace.models.graphics.ClassView |
font, fontI, metriques, myStyle, oldRectangle, rectangle |
Fields inherited from class org.devaki.nextobjects.workspace.models.graphics.ObjectView |
actionPoint, myObject, selectionPoints |
Constructor Summary | |
LabelView(BaseObject pObject)
construct a LabelView |
Method Summary | |
java.awt.Dimension |
autoResize(boolean actIt)
Return the optimal surface of the object Optionaly resize the object. |
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 |
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 |
Constructor Detail |
public LabelView(BaseObject pObject)
pObject
- the base labelMethod 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 contextpublic java.awt.Dimension autoResize(boolean actIt)
ClassView
autoResize
in class ClassView
actIt
- really set the size or just return
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |