Skip to content

Class Members

A class with properties, methods and freeform text

A class with properties, methods and freeform text

The UML specification essentially recognizes two types of class elements, structural elements and those that describe the behavior of a class. While many incarnations exist of these types, UMLBoard tries to keep it as simple as possible and provides only the two most important representatives: properties and operations. In addition, there is even a third type in UMLBoard that does not appear in the specification at all: free text elements.

You can create all these elements via the class context menu:

Context menu entries to create class members

Use the context menu of a class
to create new members.

To get a deeper look of each member type, just choose one from the navigation menu.



To sort class members, click on an arbitrary member and open its context menu to select the Sort Members menu item. You can choose to either sort all members in descending or ascending order. Please note that all members get ordered, even those of different types than the selected one. This design decision was made as it's assumed to be relatively unlikely that one wants to sort only the properties of a class and leave the methods unordered.

Choose one member to sort all members of the owning class

Click on an arbitrary member to sort all members of a class.

Moving Members


You can move member from one class into another by dragging and dropping them onto the target class. This also works if you selected several members from different classes and add them to a single target class.

When you drag a member over a class, you should see a small indicator that shows at which position the member will be added. In that way, you can also reposition members within the same class, just drag them over the existing members until the indicator shows the desired position. This feature can be very handy, for example, if you want to split up an existing class into several base classes or extract members of a class into an interface etc.

Move members within the same class or to another class

You can move members within the same class or drag them to another class.

Clipboard Handling


Anbother easy way to exchange members between classes is the clipboard. Just select all members you want to move or copy, press either Cmd + C or Cmd + X ( Ctrl on Windows/Linux ) move your cursor over the target class and press Cmd + V ( Ctrl + V ) to move or paste the members into the new class.

The clipboard can be used to exchange members between classes

Use the clipboard to transfer members between classes.

Last update: June 28, 2022