What is the difference between the code that has been written in document class and the ones written in the view class?
The difference is that the document class offers support to the objects that are used in storing or controlling of the given programs data and also provides basic functionality to the document classes that are programmer defined. A document is a unit of data that a given user accesses using the Open command which is usually available on the File menu and the same user can save the given document using the Save command still available in the File menu. The view class on the other hand provides the programmer with the basic functionality of the programmer defined view class. Under normal circumstances, a view class is usually attached to a document and it is the one that acts as an intermediary between the document and the user. This view is responsible for the rendering of the documents image on the screen and also interprets users inputs to represent operations on the given documents. This view also renders the image for the printing as well as the print preview. Name the advantages of
Related Questions
- Is there any substantive difference between a statement of purpose written for the MCP program and one written for the doctoral program?
- What is the difference between "Traditional Mutual Funds" and "True Asset Class Diversified Mutual Funds"?
- What is the difference between a Class A and a Class B CDL?