org.devaki.nextobjects.workspace.models.graphics
Class AssociationView

java.lang.Object
  extended byorg.devaki.nextobjects.workspace.models.graphics.ObjectView
      extended byorg.devaki.nextobjects.workspace.models.graphics.ClassView
          extended byorg.devaki.nextobjects.workspace.models.graphics.AssociationView
All Implemented Interfaces:
java.io.Serializable

public class AssociationView
extends ClassView
implements java.io.Serializable

This class is responsible for drawing an Association in the Merise formalism

Author:
Emmanuel Florent
See Also:
Serialized Form

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
AssociationView(Association pAssociation)
          Construct a new 'AssociationView' object
 
Method Summary
 void paint(java.awt.Graphics g)
          Paint the association
 
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
 

Constructor Detail

AssociationView

public AssociationView(Association pAssociation)
Construct a new 'AssociationView' object

Parameters:
pAssociation - the context association
Method Detail

paint

public void paint(java.awt.Graphics g)
Paint the association

Specified by:
paint in class ObjectView
Parameters:
g - the graphics


Copyright © 2002-2004 devaki.org. All Rights Reserved.