Package com.xxrjun.components.uml
Class UMLGroup
java.lang.Object
com.xxrjun.components.uml.UMLObject
com.xxrjun.components.uml.UMLGroup
The type Uml group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupMember(UMLObject umlObject) Add group member.booleanContains boolean.voidDraw.Gets group members.Gets selection.voidHighlight selection.voidInitialize ports.voidReset selection.voidSets group bounds.voidupdateLocation(int moveX, int moveY) Update location.Methods inherited from class com.xxrjun.components.uml.UMLObject
getBounds, getObjectType, getX1, getX2, getY1, getY2, isGroupSelected, isNameChangeable, setGroupSelected, setNameChangeable, setObjectType, setX1, setX2, setY1, setY2
-
Constructor Details
-
UMLGroup
public UMLGroup()Instantiates a new Uml group.
-
-
Method Details
-
draw
Description copied from class:UMLObjectDraw. -
initializePorts
public void initializePorts()Description copied from class:UMLObjectInitialize ports.- Specified by:
initializePortsin classUMLObject
-
contains
Description copied from class:UMLObjectContains boolean. -
highlightSelection
Description copied from class:UMLObjectHighlight selection.- Specified by:
highlightSelectionin classUMLObject- Parameters:
g- the g
-
addGroupMember
Add group member.- Parameters:
umlObject- the uml object
-
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:UMLObjectUpdate location.- Overrides:
updateLocationin classUMLObject- Parameters:
moveX- the move xmoveY- the move y
-
resetSelection
public void resetSelection()Reset selection. -
getSelection
Gets selection.- Returns:
- the selection
-