Class Diagrams

Tablet UML recognizes the following elements in Class diagrams:

Icon

Meaning

Drawing Samples

Class

Indicates a type of object or information within the system. Shown as a rectangle with two horizontal dividing lines, marking off compartments to contain the fields and methods of the class; but you only have to draw the rectangle. Tablet UML will recognize that as a class and will draw the horizontal lines for you.

Classes have a modified context menu:

Besides commands from the standard context menu, this menu contains the following commands:

  • Edit Attributes...: Lets you edit attributes of your class as described under Editing Classifiers.
  • Show All Attributes: Makes all attributes of the class visible.
  • Hide All Attributes: Makes all attributes of the class invisible.
  • Show Selected Attributes...: Opens a dialog to let you select which attributes of the class will be visible.
  • Edit Operations...: Lets you edit operations of your class as described under Editing Classifiers.
  • Show All Operations: Makes all operations of the class visible.
  • Hide All Operations: Makes all operations of the class invisible.
  • Show Selected Operations...: Opens a dialog to let you select which operations of the class will be visible.

See Editing Classifiers for details on how to add fields and methods to your class.

Interface

Indicates a set of functions or services provided by a class. Drawn as a circle.

Interfaces have the same context menu as classes (described above).

See Editing Classifiers for details on how to add fields and methods to your interfaces.

Association,
Navigable Association,
Dependence,
Note Attachment

See Connectors.

Note

See Notes.

If your Tablet PC pen supports a barrel button or barrel switch, you can easily override the default recognizer rules, and choose the recognized element for each shape that you draw. If you draw a stroke with the barrel button pressed, the automatic recognizer will be temporarily disabled; and when you finish the stroke, the context menu will appear, allowing you to manually recognize the stroke (as described under Context Menus)

See Also:

Legal Notices

For an easy, affordable UML tool, visit The Tablet UML Company.

Copyright © 2006 by Martin L. Shoemaker/The Tablet UML Company.