Class LostMessageView

  • All Implemented Interfaces:
    BaseElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.LabelOwner, com.nomagic.magicdraw.uml.symbols.LineJumpDrawer, NumberedMessageView, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, java.beans.PropertyChangeListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener

    @OpenApi
    public class LostMessageView
    extends com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView

    Represents lost message symbol.

    Lost message does not have a receiver in the model, but the sender is known. Message symbol has an arrow and a black "bubble" at the receiving end.

    • Constructor Detail

      • LostMessageView

        public LostMessageView()
    • Method Detail

      • accept

        public void accept​(Visitor visitor)
                    throws java.lang.Exception
        Description copied from interface: MDElement
        Method accepts visitor, and calls method visit<class name>(this) of visitor . See Visitor pattern for more details.
        Specified by:
        accept in interface MDElement
        Overrides:
        accept in class com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • getSupplierDrawPoint

        public java.awt.Point getSupplierDrawPoint()
        Description copied from class: PathElement
        Returns point where path drawing should start
        Returns:
        point
      • setInitialStartupPosition

        public void setInitialStartupPosition​(java.awt.Point p)
        Specified by:
        setInitialStartupPosition in class com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
      • setSupplierPoint

        public void setSupplierPoint​(java.awt.Point pt)
        Description copied from class: PathElement
        Sets 1st point. Sets new location for text boxes ( if point is changed, text boxes must be moved too ).
        Parameters:
        pt - new 1st point.
      • setBounds

        public void setBounds​(java.awt.Rectangle r)
        Description copied from class: PathElement
        Moves link to new location.
        Parameters:
        r - new location of link.
      • isToLeft

        public boolean isToLeft​(java.awt.Point clientPoint,
                                java.awt.Point supplierPoint)
        Overrides:
        isToLeft in class com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
      • isToRight

        public boolean isToRight​(java.awt.Point clientPoint,
                                 java.awt.Point supplierPoint)
        Overrides:
        isToRight in class com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView