+612 9045 4394
 
CHECKOUT
Hardcore JFC : Conquering the Swing Architecture - MItch Goldstein

Hardcore JFC

Conquering the Swing Architecture

Paperback

Published: 13th August 2001
Ships: 7 to 10 business days
7 to 10 business days
RRP $265.99
$184.25
31%
OFF
or 4 easy payments of $46.06 with Learn more

Hardcore JFC is a comprehensive guide to the functionality and practical use of the Java Foundations Classes (JFC), a component library designed for the Java programming language and operating environment. It presents intermediate and advanced techniques in exploiting the power and flexibility of JFC and the Swing component set. The book describes the inner workings of Swing and how its design principles can be used to add tremendous value to Java applications. The important features of JFC components are investigated thoroughly with a focus on the comprehension of fundamentals and the pragmatic application of advanced techniques. Included are concrete illustrations of how to enhance the JFC architecture: leveraging the 'Model/View/Controller' paradigm, customizing and developing new components and techniques for creating 'look and feel' user interface classes. Explanations of design and development techniques are introduced through effective, well-constructed and reusable example code.

'... the most comprehensive guide that I have come across to a lot of the detail of Swing.' The Journal of the ACCU

Acknowledgmentsp. xv
Introductionp. 1
The Java Languagep. 2
Java Graphical Interfacesp. 2
JFC Featuresp. 3
The Swing Architecture Design Goalsp. 4
Lightweight Component Architecturep. 5
The Model/View/Controller Paradigmp. 7
The Government Analogyp. 7
Functional Separationp. 7
Benefits of MVC Architecturep. 8
View Capabilitiesp. 10
Controller Supportp. 11
Controversial Aspects of Swingp. 12
The JComponent Classp. 15
JComponent Inheritance Treep. 16
JComponent Featuresp. 17
Opacityp. 18
Size and Location Managementp. 18
JFC Property Handlingp. 20
Client Propertiesp. 22
Deferred Layoutp. 24
Borders and Insetsp. 24
Keyboard Actionsp. 25
Event Handlingp. 28
UI Delegation Methodsp. 30
Focus Managementp. 31
Tooltipsp. 33
Scrolling and Autoscrollingp. 34
JFC Containersp. 35
Swing Window Classesp. 35
Root Pane Containmentp. 36
JWindow Classp. 36
JFrame Classp. 36
JFC Containment Hierarchyp. 38
The Root Panep. 38
Root Pane Organizationp. 39
Layered Panep. 39
Basic Components--Part 1p. 45
JLabelp. 46
Position and Alignmentp. 46
Button Componentsp. 49
ButtonModelp. 50
ButtonModel Propertiesp. 50
AbstractButton Initializationp. 52
AbstractButton Propertiesp. 53
Button Focusp. 58
Button Fillp. 58
Event Listenersp. 58
Button Listener Delegatesp. 59
AbstractButton Componentsp. 61
JFC Containersp. 65
JPanelp. 65
Box and BoxLayoutp. 66
Creating a Boxp. 66
Box Componentsp. 66
How BoxLayout Operatesp. 68
Box Examplep. 68
Scrollingp. 69
JScrollPanep. 70
ScrollPaneConstantsp. 70
ScrollPaneLayoutp. 70
The Scrollable Interfacep. 73
Scroll Pane UI Delegationp. 74
JScrollBarp. 75
BoundedRangeModelp. 77
Propertiesp. 77
JScrollBar Value Propertiesp. 78
Other JScrollBar Propertiesp. 79
Backward Compatibility with AWTp. 80
Scroll Bar UI Delegatep. 80
JViewportp. 81
JViewport Propertiesp. 82
JViewport Methodsp. 83
JSplitPanep. 84
Split Pane Orientationp. 84
Specifying Child Componentsp. 84
Split Pane Redrawingp. 85
The Split Pane Dividerp. 85
Split Pane UI Delegatesp. 88
Tabbed Panep. 93
JTabbedPane Featuresp. 94
Tabbed Pane UI Delegatep. 98
The JList Componentp. 101
ListModel Methodsp. 102
List Data Changesp. 102
AbstractListModelp. 103
DefaultListModelp. 103
Associating a Model with a Listp. 104
Creating a Constant List Modelp. 104
Extending DefaultListModelp. 105
List Model Eventsp. 106
List Model Filteringp. 107
Life Without Filtersp. 107
Structure of Model Filtersp. 108
Sorting Filtersp. 111
List Selectionp. 113
List Selection Eventsp. 114
Selection Modesp. 114
The ListSelectionModel Interfacep. 115
DefaultListSelectionModelp. 118
Custom List Selection Modelsp. 118
List Cell Renderingp. 129
Rendering Nostalgiap. 130
Rendering Delegatesp. 130
ListCellRenderer Interfacep. 131
A Simple Renderer Examplep. 132
Adding Icons to List Cellsp. 133
More Complex Cell Renderingp. 136
Scrollabilityp. 139
Exercisesp. 143
JFC Components--Part 2p. 145
Menusp. 146
Menu Organizationp. 146
JMenuBar Classp. 147
The MenuElement Interfacep. 149
The JMenu Classp. 150
Managing JMenu Child Componentsp. 151
JMenu Propertiesp. 153
Menu Itemsp. 154
The JMenuItem Classp. 154
Accelerators and Menu Eventsp. 156
The Menu Item UI Delegatep. 159
JPopupMenup. 161
Anatomy of a JPopupMenup. 161
Disabling Light-Weight Popupsp. 163
JPopupMenu Methodsp. 163
Popup Menu Eventsp. 164
JToolBarp. 165
Managing Toolbar Componentsp. 166
Toolbar Propertiesp. 167
Observations About JToolBarp. 168
JProgressBarp. 168
Progress Bar Propertiesp. 169
JSliderp. 170
Ticks and Label Supportp. 171
Orientation and Range Inversionp. 171
Labels and Label Tablesp. 171
Tick Mark Supportp. 173
JToolTipp. 174
ToolTipManagerp. 174
The Timer Classp. 178
Chooser Dialog Boxesp. 180
File Choosep. 180
Color Chooserp. 186
Color Chooser Modelp. 187
Color Chooser Componentsp. 187
Initializing a Color Chooserp. 189
JColorChooser Propertiesp. 190
JOptionPanep. 190
JOptionPane Typesp. 191
Creating a JOptionPanep. 193
JOptionPane Propertiesp. 194
The JTree Componentp. 197
Creating a JTreep. 199
The TreeModel Interfacep. 199
The TreeNode Interfacep. 201
Implementing a Constant Modelp. 208
Tree Selectionp. 216
The TreePath Classp. 217
Editing in JTreep. 221
Example: The Phile Utilityp. 222
Exercisesp. 233
The JTable Componentp. 235
Scrolling Supportp. 237
The TableModel Interfacep. 238
Row and Column Informationp. 238
Cell Informationp. 239
Listening for TableModel Changesp. 239
Delegate Methods of JTablep. 240
AbstractTableModelp. 240
Table Event Generationp. 241
DefaultTableModelp. 241
Creating a Custom Table Modelp. 245
Other Properties of JTablep. 260
JTable Column Supportp. 263
Column Model Supportp. 263
JTable Selection Capabilitiesp. 264
Selection Propertiesp. 265
The TableColumnModel Interfacep. 267
The TableColumn Classp. 270
JTable Constructors and Initializationp. 273
The JTableHeader Componentp. 274
JTableHeader Propertiesp. 275
JTable Rendering and Editingp. 276
Table Cell Rendererp. 276
Cell Editingp. 278
Filtering and Sorting JTable Datap. 290
Exercisesp. 303
Pluggable Look-and-Feelp. 305
The Look-and-Feel Philosophyp. 306
How UIDefaults Are Usedp. 307
A Closer Look at UIDefaultsp. 311
Retrieval Methodsp. 311
Lazy and Active Valuesp. 314
Listening for Default Value Changesp. 314
UIManagerp. 315
The LookAndFeel Propertyp. 315
Default LAF Classesp. 315
Installed LAF Classesp. 315
Access to UI Defaultsp. 316
Auxiliary Look-And-Feel Supportp. 316
Component UI Delegatesp. 318
Installing and Uninstalling UI Delegatesp. 318
Size-Related Methodsp. 319
ComponentUI Subclassesp. 320
The LookAndFeel Classp. 320
Abstract Methods of LookAndFeelp. 320
LookAndFeel Initializationp. 321
Resource Installation Featuresp. 321
Other LookAndFeel Methodsp. 322
BasicLookAndFeelp. 323
Basic Defaultsp. 323
Bordersp. 324
Built-in Bordersp. 324
Creating a Custom Borderp. 330
Creating a Custom LAFp. 338
Indexp. 341
Table of Contents provided by Syndetics. All Rights Reserved.

ISBN: 9780521664899
ISBN-10: 0521664896
Series: SIGS: Advances in Object Technology
Audience: Professional
Format: Paperback
Language: English
Number Of Pages: 374
Published: 13th August 2001
Publisher: Cambridge University Press
Country of Publication: GB
Dimensions (cm): 23.4 x 17.7  x 2.3
Weight (kg): 0.61