Class UMLGroup

java.lang.Object
com.xxrjun.components.uml.UMLObject
com.xxrjun.components.uml.UMLGroup

public class UMLGroup extends UMLObject
The type Uml group.
  • Constructor Details

    • UMLGroup

      public UMLGroup()
      Instantiates a new Uml group.
  • Method Details

    • draw

      public void draw(Graphics g)
      Description copied from class: UMLObject
      Draw.
      Specified by:
      draw in class UMLObject
      Parameters:
      g - the g
    • initializePorts

      public void initializePorts()
      Description copied from class: UMLObject
      Initialize ports.
      Specified by:
      initializePorts in class UMLObject
    • contains

      public boolean contains(Point p)
      Description copied from class: UMLObject
      Contains boolean.
      Specified by:
      contains in class UMLObject
      Parameters:
      p - the p
      Returns:
      the boolean
    • highlightSelection

      public void highlightSelection(Graphics g)
      Description copied from class: UMLObject
      Highlight selection.
      Specified by:
      highlightSelection in class UMLObject
      Parameters:
      g - the g
    • addGroupMember

      public void addGroupMember(UMLObject umlObject)
      Add group member.
      Parameters:
      umlObject - the uml object
    • getGroupMembers

      public List<UMLObject> getGroupMembers()
      Gets group members.
      Returns:
      the group members
    • setGroupBounds

      public void setGroupBounds()
      Sets group bounds.
    • updateLocation

      public void updateLocation(int moveX, int moveY)
      Description copied from class: UMLObject
      Update location.
      Overrides:
      updateLocation in class UMLObject
      Parameters:
      moveX - the move x
      moveY - the move y
    • resetSelection

      public void resetSelection()
      Reset selection.
    • getSelection

      public UMLObject getSelection()
      Gets selection.
      Returns:
      the selection