教學大綱表
請遵守智慧財產權,勿使用非法影印教科書,避免觸法。
課程名稱 (中文) 視窗程式設計
(英文) Windows Programming
開課單位 資訊工程學系
課程代碼 I3450
授課教師 謝禎冏
學分數 3.0 必/選修 選修 開課年級 大三
先修科目或先備能力:Java/Object-Oriented Programming
課程概述與目標:本課程之目的在使學生能夠學習到視窗系統的技術,包括個人電腦和手持式裝置的視窗系統。課程內容包括Java Swing以及Android使用者介面的程式開發和設計。
教科書 Creating a GUI with JFC/Swing, http://download.oracle.com/javase/tutorial/uiswing/
Android Developer's Guide, http://developer.android.com/guide/index.html
參考教材
課程大綱 學生學習目標 單元學習活動 學習成效評量 備註
單元主題 內容綱要
1 Introduction to Window Systems 1. Basic Concepts
2. History
Understand the basic concepts and history of window systems
  • 講授
  •  
    2 Learning Swing with the NetBeans IDE This lesson explores the NetBeans IDE's GUI builder, a powerful feature that lets you visually construct your Graphical User Interfaces. Understand the NetBeans IDE's GUI builder, a powerful feature that lets you visually construct your Graphical User Interfaces.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    3 Using Swing Components This lesson tells students how to use each of the Swing components — buttons, tables, text components, and all the rest. It also tells you how to use borders and icons. Learn to use each of the Swing components — buttons, tables, text components, and all the rest. It also tells you how to use borders and icons.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    4 Concurrency in Swing This lesson discusses concurrency as it applies to Swing programming. Information on the event dispatch thread and the SwingWorker class are included. Learn concurrency as it applies to Swing programming. Information on the event dispatch thread and the SwingWorker class are included.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    5 Using Other Swing Features This lesson tells students how to use actions, timers, and the system tray; how to integrate with the desktop class, how to support assistive technologies, how to print tables and text, how to create a splash screen, and how to use modality in dialogs. Learn how to use actions, timers, and the system tray; how to integrate with the desktop class, how to support assistive technologies, how to print tables and text, how to create a splash screen, and how to use modality in dialogs.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    6 Laying Out Components Within a Container This lesson tells students how to choose a layout manager, how to use each of the layout manager classes the Java platform provides, how to use absolute positioning instead of a layout manager, and how to create your own layout manager. Learn how to choose a layout manager, how to use each of the layout manager classes the Java platform provides, how to use absolute positioning instead of a layout manager, and how to create your own layout manager.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    7 Modifying the Look and Feel This lesson tells students how to specify the look and feel of Swing components. Learn how to specify the look and feel of Swing components.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    8 Drag and Drop and Data Transfer This lesson tells students what they need to know to implement data transfer in a Swing application. Learn drag and drop and data transfer in a Swing application.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    9 Writing Event Listeners This lesson tells students how to handle events in Swing programs. Learn how to handle events in Swing programs.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    10 Android UI Overview All user interface elements in an Android app are built using View and ViewGroup objects. A View is an object that draws something on the screen that the user can interact with. A ViewGroup is an object that holds other View (and ViewGroup) objects in order to define the layout of the interface. Learn the basic Android UI concepts with View and ViewGroup.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    11 Android UI Layout A layout defines the visual structure for a user interface, such as the UI for an activity or app widget. You can declare a layout in two ways:
    Declaring UI elements in XML and Instantiating layout elements at runtime.
    Learn to declare UI elements in XML and instantiate layout elements at runtime.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    12 Input Controls Android provides a wide variety of controls you can use in your UI, such as buttons, text fields, seek bars, checkboxes, zoom buttons, toggle buttons, and many more. Learn a set of Android input controls
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    13 Input Events and Event Listeners An event listener is an interface in the View class that contains a single callback method. These methods will be called by the Android framework when the View to which the listener has been registered is triggered by user interaction with the item in the UI. Learn Input Events and Event Listeners
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    14 Menus Menus are a common user interface component in many types of applications. To provide a familiar and consistent user experience, you should use the Menu APIs to present user actions and other options in your activities. Learn to use menus in Androd applications
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    15 Android Settings Applications often include settings that allow users to modify app features and behaviors. Learn to program Android settings.
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    16 Dialogs A dialog is a small window that prompts the user to make a decision or enter additional information. A dialog does not fill the screen and is normally used for modal events that require users to take an action before they can proceed. Learn to program dialogs.
  • 實作
  • 講授
  • 上機實習
  •  
    17 Notifications A notification is a message you can display to the user outside of your application's normal UI. When you tell the system to issue a notification, it first appears as an icon in the notification area. To see the details of the notification, the user opens the notification drawer. Both the notification area and the notification drawer are system-controlled areas that the user can view at any time. Learn to program notifications
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  
    18 Styles and Themes A style is a collection of properties that specify the look and format for a View or window. A style can specify properties such as height, padding, font color, font size, background color, and much more. A style is defined in an XML resource that is separate from the XML that specifies the layout. Learn to program Styles and Themes
  • 實作
  • 講授
  • 上機實習
  • 作業
  •  

    教學要點概述:
    教材編選: □ 自編教材 □ 教科書作者提供
    評量方法: 作業:100%  
    教學資源: □ 教材電子檔 □ 課程網站
    扣考規定:http://eboard.ttu.edu.tw/ttuwebpost/showcontent-news.php?id=504