|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkaapo.Observable
kaapo.project.ProjectComponent
kaapo.project.DiagramComponent
kaapo.project.Connection
kaapo.types.diagramcomponents.Dependency
public class Dependency
Nested Class Summary |
---|
Nested classes/interfaces inherited from class kaapo.project.DiagramComponent |
---|
DiagramComponent.ComponentType |
Nested classes/interfaces inherited from class kaapo.project.ProjectComponent |
---|
ProjectComponent.ObservableMessage |
Field Summary |
---|
Fields inherited from class kaapo.project.ProjectComponent |
---|
attributeMap, attributePanel |
Constructor Summary | |
---|---|
Dependency()
Constructor that calls super(). |
Method Summary | |
---|---|
protected DCGraphics |
buildDCGraphics(DiagramComponentWrapper wrapper,
ProjectManager projectManager)
Build a new graphical representation of the element as DCGraphics. |
boolean |
canMove(DiagramComponentWrapper wrapper)
Tests if the connection can move. |
boolean |
canResize(DiagramComponentWrapper wrapper)
Tell whether the element can be resized by user. |
boolean |
getIsDirect()
Tell whether the connection goes directly from end point to start point or has multiple segments. |
ImageIcon |
getLargeIcon()
Returns a 24*24 pixel icon of the diagram component type. |
ImageIcon |
getSmallIcon()
Returns a 16*16 icon representing the project component type. |
String |
getTypeName()
Returns the component type name formatted in a human-friendly manner. |
Methods inherited from class kaapo.project.Connection |
---|
getComponentType, isElement |
Methods inherited from class kaapo.project.ProjectComponent |
---|
addAttribute, addAttribute, buildAttributePanel, getAttribute, getAttributeMap, getAttributePanel, hasAttribute, removeAttribute, setAttribute |
Methods inherited from class kaapo.Observable |
---|
addObserver, notifyObservers, notifyObservers, removeAllObservers, removeObserver, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dependency()
Method Detail |
---|
protected DCGraphics buildDCGraphics(DiagramComponentWrapper wrapper, ProjectManager projectManager)
DiagramComponent
buildDCGraphics
in class DiagramComponent
wrapper
- The wrapper containing the attributes of the element
the differ between diagrams.projectManager
- Project manager
DiagramComponent.buildDCGraphics(kaapo.project.DiagramComponentWrapper, kaapo.projectmanager.ProjectManager)
public String getTypeName()
ProjectComponent
getTypeName
in class ProjectComponent
ProjectComponent.getTypeName()
public ImageIcon getLargeIcon()
DiagramComponent
getLargeIcon
in class DiagramComponent
DiagramComponent.getLargeIcon()
public boolean canResize(DiagramComponentWrapper wrapper)
DiagramComponent
canResize
in class DiagramComponent
wrapper
- The wrapper in question. The wrapper is given as
parameter because it may depend on the wrapper whether the
component can be resized.
DiagramComponent.canResize(kaapo.project.DiagramComponentWrapper)
public boolean canMove(DiagramComponentWrapper wrapper)
canMove
in class DiagramComponent
wrapper
- The wrapper in question. The wrapper is given as
parameter because it may depend on the wrapper whether the
component can be moved.
DiagramComponent.canMove(kaapo.project.DiagramComponentWrapper)
public ImageIcon getSmallIcon()
ProjectComponent
getSmallIcon
in class ProjectComponent
ProjectComponent.getSmallIcon()
public boolean getIsDirect()
Connection
getIsDirect
in class Connection
Connection.getIsDirect()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |