Object-Oriented Programming featuring Graphical Applications in Java (Paperback)

Michael J. Laszlo

  • 出版商: Addison Wesley
  • 出版日期: 2001-07-22
  • 定價: $1,980
  • 售價: 5.0$990
  • 語言: 英文
  • 頁數: 480
  • 裝訂: Paperback
  • ISBN: 0201726270
  • ISBN-13: 9780201726275
  • 相關分類: Java 程式語言Object-oriented
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Understanding object-oriented concepts is critical to the practice of modern-day software development. Object-Oriented Programming Featuring Graphical Applications in Java explains the key concepts in clear terms and illustrates with examples, many of which are drawn from two-dimensional computer graphics. It assumes limited previous experience with Java and no previous experience with UML or Java 2D. /I>

Features:

  • Key object-oriented concepts presented using Java 2D, Java's application programming interface for two-dimensional graphics
  • Interactive programs that take input via textual commands and through graphical user interface based on Swing
  • A subset of UML that illustrates program designs
  • Stepped-out exercises that interleave theory and practice
  • Design patterns, focusing on the template method, iterator, and composite patterns, that relate to the graphics examples in the book
  • Object-oriented frameworks that use the AWT and Swing to build programs with graphical user interfaces
  • A package of over 60 classes and interfaces for building and rendering 2-D geometries
  • Online code and documentation

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

商品描述(中文翻譯)

理解面向對象的概念對於現代軟件開發實踐至關重要。《以Java為特色的面向對象編程:圖形應用》以清晰的術語解釋了關鍵概念,並通過許多示例進行了說明,其中許多示例來自二維計算機圖形。它假設讀者對Java有有限的經驗,對UML或Java 2D沒有任何經驗。

特點:
- 使用Java 2D介紹關鍵面向對象的概念,Java 2D是Java的二維圖形應用程序編程接口
- 通過文字命令和基於Swing的圖形用戶界面進行輸入的交互式程序
- 使用UML的子集來說明程序設計
- 理論和實踐交替的分步練習
- 設計模式,重點介紹模板方法、迭代器和組合模式,與書中的圖形示例相關
- 使用AWT和Swing構建具有圖形用戶界面的面向對象框架
- 一個包含60多個用於構建和渲染2D幾何圖形的類和接口的套件
- 在線代碼和文檔

目錄:
1. 對象模型
- 對象模型概念
- 對象模型和其他編程模型
2. 過程抽象
- 抽象操作和過程
- 指定過程
- 异常
- 過程分解
- 遞歸
3. 數據抽象
- 抽象數據類型
- 指定和實現數據抽象
- 封裝
- Java圖形:一些背景知識
- 創建圖形
4. 組合
- 組合和聚合
- 隨機值生成器
- 多部分組合
- 表示不變性
- 與圖片交互
5. 繼承
- 繼承的用途
- 用於擴展的繼承
- 用於特化的繼承
- 用於規範的繼承
- 多態性
- 圖形和繪圖器
6. 設計模式
- 設計模式的需求
- 迭代器設計模式
- 模板方法設計模式
- 組合設計模式
- 設計模式的分類
7. 面向對象應用框架
- 使用框架在Java中構建基於GUI的程序
- Java的事件模型
- 組件
- 佈局管理器
- 組件和事件監聽器
- Triangulate:一個點集三角化程序
- DrawPad:一個繪圖程序
附錄:
A. 讀取和解析用戶輸入
B. 我們的圖形程序框架
C. UML的符號摘要
D. banana包的結構