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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addGroupMember
(UMLObject umlObject) Add group member.boolean
Contains boolean.void
Draw.Gets group members.Gets selection.void
Highlight selection.void
Initialize ports.void
Reset selection.void
Sets group bounds.void
updateLocation
(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:UMLObject
Draw. -
initializePorts
public void initializePorts()Description copied from class:UMLObject
Initialize ports.- Specified by:
initializePorts
in classUMLObject
-
contains
Description copied from class:UMLObject
Contains boolean. -
highlightSelection
Description copied from class:UMLObject
Highlight selection.- Specified by:
highlightSelection
in 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:UMLObject
Update location.- Overrides:
updateLocation
in classUMLObject
- Parameters:
moveX
- the move xmoveY
- the move y
-
resetSelection
public void resetSelection()Reset selection. -
getSelection
Gets selection.- Returns:
- the selection
-