projectPrototype.model.classDiagram
Class ClassComposedFigure

java.lang.Object
  extended byprojectPrototype.view.graphicEditor.graphicElement.GraphicElement
      extended byprojectPrototype.view.graphicEditor.graphicElement.composedFigures.ComposedFigure
          extended byprojectPrototype.model.classDiagram.ClassifierComposedFigure
              extended byprojectPrototype.model.classDiagram.ClassComposedFigure

public class ClassComposedFigure
extends ClassifierComposedFigure

Author:
Administrator To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
private  DynamicSlot atributeSlot
           
private static int counter
           
 
Fields inherited from class projectPrototype.model.classDiagram.ClassifierComposedFigure
nameSlot, operationSlot
 
Fields inherited from class projectPrototype.view.graphicEditor.graphicElement.composedFigures.ComposedFigure
graphicElementsList
 
Fields inherited from class projectPrototype.view.graphicEditor.graphicElement.GraphicElement
bgColor, conector, cursor, lineColor, MIN_HEIGHT, MIN_WIDTH, oldP1, oldP2, p1, p2, selector
 
Constructor Summary
ClassComposedFigure()
           
 
Method Summary
 void addGraphicElement(GraphicElement graphicElement)
           
 void autoAdjust()
           
 GraphicElement getGraphicElement(Point point)
           
 void paint(java.awt.Graphics g)
           
 void removeGraphicElement(GraphicElement graphicElement)
           
 
Methods inherited from class projectPrototype.view.graphicEditor.graphicElement.composedFigures.ComposedFigure
over, select
 
Methods inherited from class projectPrototype.view.graphicEditor.graphicElement.GraphicElement
adjustConectors, createConectors, createDraggableElement, createSelector, getConector, getCursor, getGraphicElementSelector, getP1, getP2, getRectangle, isSelected, move, setP1, setP2, verifyMinimalSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

private static int counter

atributeSlot

private DynamicSlot atributeSlot
Constructor Detail

ClassComposedFigure

public ClassComposedFigure()
Method Detail

paint

public void paint(java.awt.Graphics g)
Overrides:
paint in class ComposedFigure

getGraphicElement

public GraphicElement getGraphicElement(Point point)
Overrides:
getGraphicElement in class ClassifierComposedFigure

addGraphicElement

public void addGraphicElement(GraphicElement graphicElement)
Overrides:
addGraphicElement in class ComposedFigure

removeGraphicElement

public void removeGraphicElement(GraphicElement graphicElement)
Overrides:
removeGraphicElement in class ComposedFigure

autoAdjust

public void autoAdjust()
Overrides:
autoAdjust in class GraphicElement