
Object-Oriented Programming featuring Graphical Applications in Java / Edition 1
by Michael J. LaszloISBN-10: 0201726270
ISBN-13: 9780201726275
Pub. Date: 09/15/2001
Publisher: Pearson
The goal of this book is to explore the principle ideas of object-oriented programming using the Java programming language. It begins teaching the object-oriented power of Java by relying on textual commands instead of emphasizing the AWT or Swing libraries, providing the reader with a simple, generic introduction to the OO concepts using Java (without/b>
Overview
The goal of this book is to explore the principle ideas of object-oriented programming using the Java programming language. It begins teaching the object-oriented power of Java by relying on textual commands instead of emphasizing the AWT or Swing libraries, providing the reader with a simple, generic introduction to the OO concepts using Java (without the language details getting in the way of the concept presentation). The author provides a thorough introduction to the three fundamental concepts of object-oriented programming: Encapsulation, Inheritance, and Polymorphism. The presentation of OO theory is augmented by interleaved examples that illustrate these concepts. Most of these program examples are 2-D graphics programs that provide an intuitive context for the issues that must be addressed when learning OOP. Additionally, since graphics programming is one of the strengths of the Java development environment, the examples produce interesting and unexpected images that engage and motivate the reader. It contains a concise introduction to using Design Patterns particularly the Template Method, Iterator, and Composite design patterns which relate to the graphics examples in the book and uses UML class diagrams to show the static structure of systems and sequence diagrams to show object interactions. This book is appropriate for readers who are new to object-oriented (but have experience with a non-object-oriented language) and for programmers who want to learn the graphical elements and capabilities of Java.
Product Details
- ISBN-13:
- 9780201726275
- Publisher:
- Pearson
- Publication date:
- 09/15/2001
- Edition description:
- New Edition
- Pages:
- 468
- Product dimensions:
- 7.50(w) x 9.10(h) x 1.10(d)
Table of Contents
1. The Object Model.
Object Model Concepts.
The Object Model and Other Programming Models.
2. Procedural Abstraction.
Abstract Operations and Procedures.
Specifying Procedures.
Exceptions.
Procedural Decomposition.
Recursion.
Summary.
3. Data Abstraction.
Abstract Data Types.
Specifying and Implementing Data Abstractions.
Encapsulation.
Java Graphics: Some Background.
Making Graphics.
Summary.
4. Composition.
Composition and Aggregation.
Random-Value Generators.
Composition of Many Parts.
Representation Invariants.
Interacting with Pictures.
Summary.
5. Inheritance.
The Uses of Inheritance.
Inheritance for Extension.
Inheritance for Specialization.
Inheritance for Specification.
Polymorphism.
Figures and Painters.
Summary.
6. Design Patterns.
The Need for Design Patterns.
The Iterator Design Pattern.
The Template Method Design Pattern.
The Composite Design Pattern.
Classifying Design Patterns.
Summary.
7. Object-Oriented Application Frameworks.
Building GUI-Based Programs in Java using Frameworks.
Java's Event Model.
Components.
Layout Managers.
Components and Event Listeners.
Triangulate: A Point-Set Triangulation Program.
DrawPad: A Drawing Program.
Summary.
Appendix A: Reading and Parsing User Input.
Appendix B: Our Graphics Program Framework.
Appendix C: A Notational Summary of UML.
Appendix D: Structure of the banana Package.
Customer Reviews
Average Review: