Interface INodePresentation
- All Superinterfaces:
IEntity,IHyperlinkOwner,IPresentation
Interface for Node Presentation.
-
Method Summary
Modifier and TypeMethodDescriptionGet Children.doubleGet Height.getLinks()Get ILinkPresentations.Get Location.Get Parent.Get Parents.Get Rectangle.doublegetWidth()Get Width.voidsetHeight(double height) Set Height.voidsetLocation(Point2D location) Set Location.voidsetWidth(double width) Set Width.Methods inherited from interface com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinksMethods inherited from interface com.change_vision.jude.api.inf.presentation.IPresentation
getDepth, getDiagram, getID, getLabel, getModel, getProperties, getProperty, getType, setLabel, setProperties, setProperty
-
Method Details
-
getLocation
Point2D getLocation()Get Location.- Returns:
- Location
-
getWidth
double getWidth()Get Width.- Returns:
- Width
-
getHeight
double getHeight()Get Height.- Returns:
- Height
-
getParent
INodePresentation getParent()Get Parent.- Returns:
- Parent
-
getParents
INodePresentation[] getParents()Get Parents.- Returns:
- the array of parents. Return the empty array if there is none.
-
getChildren
INodePresentation[] getChildren()Get Children.- Returns:
- the array of children. Return the empty array if there is none.
-
getRectangle
Rectangle2D getRectangle()Get Rectangle.- Returns:
- Rectangle
-
getLinks
ILinkPresentation[] getLinks()Get ILinkPresentations.- Returns:
- the array of ILinkPresentation. Return the empty array if there is none. Edges may be returned when this is a topic.
-
setLocation
Set Location.- Parameters:
location- Location- 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. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.Values: Error messages for exceptions.
-
setWidth
void setWidth(double width) Set Width.- Parameters:
width- Width The minimum of the width is the same as that of its diagram element.- 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. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.Values: Error messages for exceptions.
-
setHeight
void setHeight(double height) Set Height.- Parameters:
height- Height The minimum of the height is the same as that of its diagram element.- 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. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.Values: Error messages for exceptions.
-