1.2 Text Browser Exercise Flashcards
File Manager - a way to access the file’s content
ViewPort - display the text graphically
Scrollbar - a way to access different parts of a file (user can set position). The size of the handle conveys how much of the file content is visible in the view port.
Use Cases
- Read text
- View more text (move handle)
- Resize view port
Analysis Model
- UML class-model diagram
- rectangles for classes
- each rectangle is divided vertically: 1) compartment name, 2) attributes 3) operations
- lines between the components denote relationships
What are operations?
Actions the user can take to interact with the application.
These go in the third compartment in the class rectangle.
What are attributes?
The things the user can see aka percept e.g., text, handle’s position in the view port, size of view port, handle’s size reflects how much of the file is visible in the view port
view port: height, width
handle: position, height
file manager: document (document is a percept that is supplied by the operating system actor)
What are the three types of relationships in the UML analysis model?
- associations
- aggregations
- generalizations