Class MAssigner

All Implemented Interfaces:
Serializable, Cloneable

@PublicApi public class MAssigner extends MPolyline
Atom assigner to connect two atoms.
Since:
Marvin 5.4, Jul 12, 2010
See Also:
  • Constructor Details

    • MAssigner

      public MAssigner(MPoint p1, MPoint p2)
      Contructs an assigner with the specified endpoints.
      Parameters:
      p1 - the starting point
      p2 - the endpoint
    • MAssigner

      public MAssigner()
      Contructs an assigner.
    • MAssigner

      protected MAssigner(MAssigner a)
      Copy constructor.
      Parameters:
      a - the original assigner
  • Method Details

    • clone

      public MAssigner clone()
      Description copied from class: MObject
      Creates a clone.
      Overrides:
      clone in class MPolyline
      Returns:
      the clone
    • setOrder

      public void setOrder(int i)
      Sets the order of an assigner.
      Parameters:
      i - the order
    • getOrder

      public int getOrder()
      Gets the order of an assigner.
      Returns:
      the order
    • getAssignedAtoms

      public MolAtom[] getAssignedAtoms()
      Gets the atoms which are assigned by this object.
      Returns:
      the array of atoms
    • copyProperties

      public void copyProperties(MAssigner l)
      Copies the assigner properties to another assigner object.
      Parameters:
      l - the other assigner
      Since:
      Marvin 5.4, 14/07/2010