Object-Oriented Programming featuring Graphical Applications in Java (Paperback)
暫譯: 以 Java 為主的物件導向程式設計與圖形應用

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的二維圖形應用程式介面)呈現的關鍵物件導向概念
- 透過文本命令和基於Swing的圖形使用者介面進行輸入的互動程式
- 一個UML的子集,用於說明程式設計
- 理論與實踐交錯的逐步練習
- 設計模式,專注於模板方法、迭代器和組合模式,與書中的圖形範例相關
- 使用AWT和Swing構建圖形使用者介面的物件導向框架
- 超過60個類別和介面的包,用於構建和渲染2D幾何圖形
- 在線代碼和文檔

目錄
1. 物件模型。
物件模型概念。物件模型與其他程式設計模型。

2. 程序抽象。
抽象操作和程序。指定程序。例外。程序分解。遞迴。總結。

3. 數據抽象。
抽象數據類型。指定和實現數據抽象。封裝。Java圖形:一些背景。製作圖形。總結。

4. 組合。
組合與聚合。隨機值生成器。多部分的組合。表示不變式。與圖片互動。總結。

5. 繼承。
繼承的用途。擴展的繼承。專門化的繼承。規範的繼承。多型。圖形與畫家。總結。

6. 設計模式。
設計模式的需求。迭代器設計模式。模板方法設計模式。組合設計模式。設計模式的分類。總結。

7. 物件導向應用框架。
使用框架在Java中構建基於GUI的程式。Java的事件模型。組件。佈局管理器。組件和事件監聽器。Triangulate:一個點集三角剖分程式。DrawPad:一個繪圖程式。總結。

附錄A:讀取和解析用戶輸入。附錄B:我們的圖形程式框架。附錄C:UML的符號摘要。附錄D:香蕉包的結構。