com.change_vision.jude.api.inf.presentation
Interface ILinkPresentation

com.change_vision.jude.api.inf.presentation.ILinkPresentation
All Superinterfaces:
IHyperlinkOwner, IPresentation
All Implemented Interfaces:
IHyperlinkOwner, IPresentation

public ILinkPresentation
extends IPresentation

Interface for Link Presentation.


Method Summary
abstract  Point2D[] getPoints()
          Get points.
abstract  INodePresentation getSource()
          Get Source.
abstract  INodePresentation getTarget()
          Get Target.
abstract  void setPoints(Point2D[] points)
          Set Points.
 
Methods inherited from class com.change_vision.jude.api.inf.presentation.IPresentation
getDiagram, getID, getLabel, getModel, getProperties, getProperty, getType, setLabel, setProperties, setProperty
 
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

Method Detail

getPoints

abstract Point2D[] getPoints()
Get points.

Returns:
the array of points. Return the empty array if there is none.

getSource

abstract INodePresentation getSource()
Get Source.

Returns:
Source

getTarget

abstract INodePresentation getTarget()
Get Target.

Returns:
Target

setPoints

abstract void setPoints(Point2D[] points)
Set Points.

Parameters:
points - the array of points (Point2D.Double).
Throws:
InvalidEditingException - InvalidEditingException occurs.
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. 
      PARAMETER_ERROR_KEY - if a parameter is not set properly. 
                            if the label is not edited for a presentation 
                            in Class/Object Diagram, UseCase Diagram, StateMachine Diagram and ER Diagram. 
      INVALID_MULTIPLICITY_KEY - if the multiplicity is invalid. 
      BAD_TRANSACTION_KEY - Bad Transaction. 
      HAS_EXCEPTION_KEY - if an exception has occurred.
Values: 
      Error messages for exceptions.