Defining attributes
Displaying text in attribute symbols
An attribute has the following display preferences:
Preference
Show visibility
Show datatype
Show initial value
Description
Displays the attribute as an icon, with markers, or using keywords
When selected, displays the datatype of the attribute in the attribute symbol
When selected, displays the initial value of the attribute in the attribute symbol
The visibility of an attribute in a class or an interface can be displayed in one of the following ways:
Visibility
Icon
Markers
Keywords
When selected
Displays the attribute as an icon
Displays the visibility of the attribute as a marker: - (private), # (protected), + (public), or * (package)
Displays the visibility of the attribute as a word: private, protected, public, or package
You modify the display preferences for an attribute in the Display
Preferences dialog box.
ϖTo modify the display preferences:
1Select Tools➤ Display Preferences. or
The Display Preferences dialog box appears.
2Expand the Object View node in the Category list.
60