Java类库查询辞典PDF电子书下载
- 电子书积分:22 积分如何计算积分?
- 作 者:湘沪科技编著
- 出 版 社:北京:中国铁道出版社
- 出版年份:2004
- ISBN:7113062393
- 页数:804 页
第1章 JAVA类库精华导览 1
1-1 JAVA类库精华导览 2
第2章 Package Java.applet 9
2-1-1 destroy 10
2-1 Applet类 10
2-1-4 getAudioClip 11
2-1-3 getAppletInfo 11
2-1-2 getAppletContext 11
2-1-7 getImage 12
2-1-6 getDocumentBase 12
2-1-5 getCodeBase 12
2-1-10 init 13
2-1-9 getParameterInfo 13
2-1-8 getParameter 13
2-1-13 resize 14
2-1-12 play 14
2-1-11 isActive 14
2-1-16 start 15
2-1-15 showStatus 15
2-1-14 setStub 15
2-1-18程序示例 16
2-1-17 stop() 16
2-2 AppletContext接口 22
2-2-4 getImage(URL) 23
2-2-3 getAudioClip 23
2-2-1 getApplet 23
2-2-2 getApplets 23
2-2-6 showStatus 24
2-2-5 showDocument 24
2-2-9 getStreamKeys 25
2-2-8 getStream 25
2-2-7 setStream 25
2-2-10程序示例 26
2-3-3 getCodeBase 28
2-3-2 getAppletContext 28
2-3 AppletStub接口 28
2-3-1 appletResize 28
2-4 AudioClip接口 29
2-3-6 isActive 29
2-3-4 getDocumentBase 29
2-3-5 getParameter 29
2-4-3 stop 30
2-4-2 play 30
2-4-1 loop 30
第3章 Package Java.lang 31
3-1-2 getSpecificationTitle 32
3-1-1 getName 32
3-1 Package类 32
3-1-6 getImplementationVersion 33
3-1-5 getImplementationTitle 33
3-1-3 getSpecification Version 33
3-1-4 getSpecificationVendor 33
3-1-9 isCompatible With 34
3-1-8 isSealed 34
3-1-7 getImplementationVendor 34
3-1-12 hashCode 35
3-1-11 getPackages 35
3-1-10 getPackage 35
3-1-14程序范例 36
3-1-13 toString 36
3-2-1 Boolean 37
3-2 Boolean类 37
3-2-3 valueOf 38
3-2-2 booleanValue 38
3-2-4 toString 39
3-2-7 getBoolean 40
3-2-6 equals 40
3-2-5 hashCode 40
3-3-1 Byte 41
3-3 Byte类 41
3-3-3 parseByte 42
3-3-2 toString 42
3-3-4 valueOf 43
3-3-5 decode 44
3-3-8 hashCode 45
3-3-7 floatValue、doubleValue 45
3-3-6 byteValue、shortValue、intValue、longValue 45
3-3-10 compareTo 46
3-3-9 equals 46
3-3-11程序范例 47
3-4-2 charValue 48
3-4-1 Character 48
3-4 Character类 48
3-4-5 toString 49
3-4-4 equals 49
3-4-3 hashCode 49
3-4-6 isLowerCase 50
3-4-8 isTitleCase 51
3-4-7 isUpperCase 51
3-4-11 isLetter 52
3-4-10 isDefined 52
3-4-9 isDigit 52
3-4-13 isJavaLetter 53
3-4-12 isLetterOrDigit 53
3-4-16 isJavaIdentifierPart 54
3-4-15 isJavaIdentifierStart 54
3-4-14 isJavaLetterOrDigit 54
3-4-19 isIdentifierIgnorable 55
3-4-18 isUnicodeIdentifierPart 55
3-4-17 isUnicodeIdentifierStart 55
3-4-21 toUpperCase 56
3-4-20 toLowerCase 56
3-4-24 getNumericValue 57
3-4-23 digit 57
3-4-22 toTitleCase 57
3-4-27 isWhitespace 58
3-4-26 isSpaceChar 58
3-4-25 isSpace 58
3-4-29 getType 59
3-4-28 isISOControl 59
3-4-32 compareTo 60
3-4-31 getDirectionality 60
3-4-30 forDigit 60
3-4-33程序范例 61
3-5-1 Double 62
3-5 Double类 62
3-5-2 toString 63
3-5-4 isNaN 64
3-5-3 valueOf 64
3-5-6 byteValue、shortValue、intValue、longValue 65
3-5-5 isInfinite 65
3-5-8 hashCode 66
3-5-7 floatValue、doubleValue 66
3-5-11 doubleToRawLongBits 67
3-5-10 doubleToLongBits 67
3-5-9 equals 67
3-5-12 compareTo 68
3-5-14程序范例 69
3-5-13 compare 69
3-6 Float类 70
3-6-2 toString 71
3-6-1 Float 71
3-6-3 valueOf 72
3-6-5 isNaN 73
3-6-4 parseFloat 73
3-6-7 byteValue、shortValue、intValue、longValue 74
3-6-6 isInfinite 74
3-6-10 equals 75
3-6-9 hashCode 75
3-6-8 floatValue、doubleValue 75
3-6-13 intBitsToFloat 76
3-6-12 floatToRawIntBits 76
3-6-11 floatToIntBits 76
3-6-14 compareTo 77
3-6-16程序范例 78
3-6-15 compare 78
3-7-1 Integer 79
3-7 Integer类 79
3-7-2 toString 80
3-7-4 toOctalString 81
3-7-3 toHexString 81
3-7-6 parseInt 82
3-7-5 toBinaryString 82
3-7-7 valueOf 83
3-7-8 byteValue、shortValue、intValue、longValue 84
3-7-11 equals 85
3-7-10 hashCode 85
3-7-9 floatValue、doubleValue 85
3-7-12 getInteger 86
3-7-14 compareTo 87
3-7-13 decode 87
3-7-15程序范例 88
3-8 Long类 89
3-9 Math类 90
程序范例 90
3-9-4 asin 91
3-9-3 tan 91
3-9-1 sin 91
3-9-2 cos 91
3-9-8 toDegrees 92
3-9-7 toRadians 92
3-9-5 acos 92
3-9-6 atan 92
3-9-12 IEEEremainder 93
3-9-11 sqrt 93
3-9-9 exp 93
3-9-10 log 93
3-9-14 floor 94
3-9-13 ceil 94
3-9-16 atan2 95
3-9-15 rint 95
3-9-18 round 96
3-9-17 pow 96
3-9-20 abs 97
3-9-19 random 97
3-9-21 max 98
3-9-22 min 100
3-9-23程序范例 101
3-10-2 intValue 102
3-10-1 Number 102
3-10 Number类 102
3-10-6 byteValue 103
3-11-5 doubleValue 103
3-11-3 longValue 103
3-10-4 floatValue 103
3-11-2 getClass 104
3-11-1 Object 104
3-10-7 shortValue 104
3-11 Object类 104
3-11-6 toString 105
3-11-5 clone 105
3-11-3 hashCode 105
3-11-4 equals 105
3-11-9 wait 106
3-11-8 notifyAll 106
3-11-7 notify 106
3-12 Process类 107
3-11-10 finalize 107
3-12-4 getErrorStream 108
3-12-3 getInputStream 108
3-12-1 Process 108
3-12-2 getOutputStream 108
3-13 Runtime类 109
3-12-7 destroy 109
3-12-5 waitFor 109
3-12-6 exitValue 109
3-13-3 addShutdownHook 110
3-13-2 exit 110
3-13-1 getRuntime 110
3-13-5 halt 111
3-13-4 removeShutdownHook 111
3-13-6 exec 112
3-13-8 freeMemory 114
3-13-7 availableProcessors 114
3-13-13 traceMethodCalls 115
3-13-12 traceInstructions 115
3-13-9 totalMemory 115
3-13-10 maxMemory 115
3-13-11 Gc 115
3-13-16 getLocalizedInputStream 116
3-13-15 loadLibrary 116
3-13-14 load 116
3-14 String类 117
3-13-17 getLocalizedOutputStream 117
3-14-1 String 118
3-14-2 length 121
3-14-5 getBytes 122
3-14-4 getChars 122
3-14-3 charAt 122
3-14-8 equaIsIgnoreCase 124
3-14-7 contentEquals 124
3-14-6 equals 124
3-14-9 compareTo 125
3-14-11 regionMatches 126
3-14-10 compareToIgnoreCase 126
3-14-12 startsWith 127
3-14-15 indexOf 128
3-14-14 hashCode 128
3-14-13 endsWith 128
3-14-16 lastIndexOf 129
3-14-17 substring 130
3-14-19 replace 131
3-14-18 concat 131
3-14-21 toLowerCase 132
3-14-20 split 132
3-14-23 trim 133
3-14-22 toUpperCase 133
3-14-25 valueOf 134
3-14-24 toCharArray 134
3-14-26程序范例 135
3-15-2setOut 137
3-15-1setIn 137
3-15System类 137
3-15-4setSecurityManager 138
3-15-3setErr 138
3-15-7arraycopy 139
3-15-6currentTimeMillis 139
3-15-5getSecurityManager 139
3-15-10 setProperties 140
3-15-9getProperties 140
3-15-8identityHashCode 140
3-15-12 exit 141
3-15-11 getProperty 141
3-15-16 loadLibrary 142
3-15-15 load 142
3-15-13 gc 142
3-15-14 runFinalization 142
3-15-18程序范例 143
3-15-17 mapLibraryName 143
3-17 Runnable接口 144
3-16 Cloneable接口 144
3-17-1 run 145
第4章 Package Java.io 147
4-1-1 BufferedInputStream 148
4-1 BufferedInputStream类 148
4-1-3 skip 149
4-1-2 read 149
4-1-6 reset 150
4-1-5 mark 150
4-1-4 available 150
4-1-8 close 151
4-1-7 markSupported 151
4-2-1 BufferedOutputStream 152
4-2 BufferedOutputStream类 152
4-3 ByteArrayInputStream类 153
4-2-3 flush 153
4-2-2 write 153
4-3-1 ByteArrayInputStream 154
4-3-5 reset 155
4-3-4 available 155
4-3-2 Read 155
4-3-3 skip 155
4-4-1 ByteArrayOutputStream 156
4-4 ByteArrayOutputStream类 156
4-4-4 toByteArray 157
4-4-3 writeTo 157
4-4-2 write 157
4-5-1 DataInputStream 158
4-5 DataInputStream类 158
4-4-5 toString 158
4-5-3 skipBytes 159
4-5-2 read 159
4-6 File类 160
4-5-4 readLine 160
4-6-2程序范例 161
4-6-1 File 161
4-6-6 isAbsolute 162
4-6-5 getPath 162
4-6-3 getName 162
4-6-4 getParent 162
4-6-10 isFile 163
4-6-9 isDirectory 163
4-6-7 getAbsolutePath 163
4-6-8 exists 163
4-6-12程序范例 164
4-6-11 lastModified 164
4-6-13 delete 165
4-6-12 length 165
4-7 FileInputStream类 166
4-6-15 renameTo 166
4-6-14 list 166
4-7-2 read 167
4-7-1 FileInputStream 167
4-7-4 available 168
4-7-3 skip 168
4-8-1 FileOutputStream 169
4-8 FileOutputStream类 169
4-8-3 close 170
4-8-2 write 170
4-9-1 FilterInputStream 171
4-9 FilterInputStream类 171
4-9-3 available 172
4-9-2 skip 172
4-10-2 write 173
4-10-1 FilterOutputStream 173
4-10 FilterOutputStream类 173
4-11-1 LineNumberInputStream 174
4-11 LineNumberInputStream类 174
4-10-3 flush 174
4-11-3 skip 175
4-11-2 read 175
4-11-6 available 176
4-11-5 getLineNumber 176
4-11-4 setLineNumber 176
4-12-1 PipedInputStream 177
4-12 PipedInputStream类 177
4-13-1 PipedOutputStream 178
4-13 PipedOutputStream类 178
4-12-2 connect 178
4-14 PrintStream类 179
4-13-3 close 179
4-13-2 connect 179
4-14-2 flush 180
4-14-1 PrintStream 180
4-14-5 setError 181
4-14-4 checkError 181
4-14-3 close 181
4-14-7 print 182
4-14-6 write 182
4-14-8 printIn 183
第5章 Package Java.awt 185
5-1-2 removeLayoutComponent 186
5-1-1 addLayoutComponent 186
5-1 LayoutManager接口 186
5-2 MenuContainer接口 187
5-1-5 layoutContainer 187
5-1-3 preferredLayoutSize 187
5-1-4 minimumLayoutSize 187
5-3-1 getInstance 188
5-3 AlphaComposite类 188
5-2-1 getFont 188
5-2-2 remove 188
5-3-2 createContext 189
5-3-6 equals 190
5-3-5 hashCode 190
5-3-3 getAlpha 190
5-3-4 getRule 190
5-4-1 BorderLayout 191
5-4 BorderLayout类 191
5-4-4 getVgap 192
5-4-3 setHgap 192
5-4-2 getHgap 192
5-4-6 addLayoutComponent 193
5-4-5 setVgap 193
5-4-9 preferredLayoutSize 194
5-4-8 minimumLayoutSize 194
5-4-7 removeLayoutComponent 194
5-4-11 getLayoutAlignmentX 195
5-4-10 maximumLayoutSize 195
5-4-14程序范例 196
5-4-13 toString 196
5-4-12 getLayoutAlignmentY 196
5-5-1 Button 197
5-5 Button类 197
5-5-3 getLabel 198
5-5-2 addNotify 198
5-5-6 getActionCommand 199
5-5-5 setActionCommand 199
5-5-4 setLabel 199
5-5-8程序范例 200
5-5-7 paramString 200
5-6 Canvas类 202
5-6-2 addNotify 203
5-6-1 Canvas 203
5-6-5程序范例 204
5-6-4 update 204
5-6-3 paint 204
5-7 CardLayout类 208
5-7-2 getHgap 209
5-7-1 CardLayout 209
5-7-5 setVgap 210
5-7-4 getVgap 210
5-7-3 setHgap 210
5-7-8 preferredLayoutSize 211
5-7-7 removeLayoutComponent 211
5-7-6 addLayoutComponent 211
5-7-10 maximumLayoutSize 212
5-7-9 minimumLayoutSize 212
5-7-13 layoutContainer 213
5-7-12 getLayoutAlignmentY 213
5-7-11 getLayoutAlignmentX 213
5-7-16 previous 214
5-7-15 next 214
5-7-14 first 214
5-7-19 toString 215
5-7-18 show 215
5-7-17 last 215
5-7-20程序范例 216
5-8 Checkbox类 217
5-8-1 Checkbox 218
5-8-2 addNotify 219
5-8-5 getState 220
5-8-4 setLabel 220
5-8-3 getLabel 220
5-8-8 getCheckboxGroup 221
5-8-7 getSelectedObjects 221
5-8-6 setState 221
5-8-10 addItemListener 222
5-8-9 setCheckboxGroup 222
5-8-13 getListeners 223
5-8-12 getItemListeners 223
5-8-11 removeItemListener 223
5-8-14 processEvent 224
5-8-17程序范例 225
5-8-16 paramString 225
5-8-15 processItemEvent 225
5-9-2 getSelectedCheckbox 227
5-9-1 CheckboxGroup 227
5-9 CheckboxGroup类 227
5-9-5程序范例 228
5-9-4 toString 228
5-9-3 setSelectedCheckbox 228
5-10 CheckboxMenuItem类 230
5-10-1 CheckboxMenuItem 231
5-10-2 addNotify 232
5-10-5 getSelectedObjects 233
5-10-4 setState 233
5-10-3 getState 233
5-10-7 removeItemListener 234
5-10-6 addItemListener 234
5-10-9 getListeners 235
5-10-8 getItemListeners 235
5-10-12 paramString 236
5-10-11 processItemEvent 236
5-10-10 processEvent 236
5-10-13程序范例 237
5-11 Choice类 238
5-11-3 getItemCount 239
5-11-2 addNotify 239
5-11-1 Choice 239
5-11-6 addItem 240
5-11-5 add 240
5-11-4 getItem 240
5-11-8 remove 241
5-11-7 insert 241
5-11-11 getSelectedObjects 242
5-11-10 getSelectedItem 242
5-11-9 removeAll 242
5-11-13 select 243
5-11-12 getSelectedIndex 243
5-11-15 removeItemListener 244
5-11-14 addItemListener 244
5-11-17 getListeners 245
5-11-16 getItemListeners 245
5-11-19 processItemEvent 246
5-11-18 processEvent 246
5-11-21程序范例 247
5-11-20 paramString 247
5-12 Dialog类 249
5-12-1 Dialog 250
5-12-3 isModal 253
5-12-2 addNotify 253
5-12-6 setTitle 254
5-12-5 getTitle 254
5-12-4 setModal 254
5-12-9 isResizable 255
5-12-8 hide 255
5-12-7 show 255
5-12-11 paramString 256
5-12-12程序范例 256
5-12-10 setResizable 256
5-13-1 Dimension 259
5-13 Dimension类 259
5-13-4 setSize 260
5-13-3 getHeight 260
5-13-2 getWidth 260
5-13-6 setSize 261
5-13-5 getSize 261
5-13-7 equals 262
5-13-9程序范例 263
5-13-8 toString 263
5-14 Event类 264
5-14-1 Event 265
5-14-3 controlDown 266
5-14-2 shiftDown 266
5-14-6 toString 267
5-14-5 paramString 267
5-14-4 metaDown 267
5-14-7程序范例 268
5-15 FileDialog类 272
5-15-1 FileDialog 273
5-15-4 setMode 274
5-15-3 getMode 274
5-15-2 addNotify 274
5-15-6 setDirectory 275
5-15-5 getDirectory 275
5-15-10 setFilenameFilter 276
5-15-9 getFilenameFilter 276
5-15-7 getFile 276
5-15-8 setFile 276
5-15-12程序范例 277
5-15-11 paramString 277
5-16 FlowLayout类 279
5-16-1 FlowLayout 280
5-16-3 setAlignment 281
5-16-2 getAlignment 281
5-16-6 getVgap 282
5-16-5 setHgap 282
5-16-4 getHgap 282
5-16-9 removeLayoutComponent 283
5-16-8 addLayoutComponent 283
5-16-7 setVgap 283
5-16-11 minimumLayoutSize 284
5-16-10 preferredLayoutSize 284
5-16-14程序范例 285
5-16-13 toString 285
5-16-12 layoutContainer 285
5-17 Font类 287
5-17-2 getPeer 288
5-17-1 Font 288
5-17-5 getName 289
5-17-4 getFamily 289
5-17-3 getFont 289
5-17-7 getSize 290
5-17-6 getStyle 290
5-17-10 isItalic 291
5-17-9 isBold 291
5-17-8 isPlain 291
5-17-12 hashCode 292
5-17-11 getFont 292
5-17-15程序范例 293
5-17-14 toString 293
5-17-13 equals 293
5-18-1 Frame 295
5-18 Frame类 295
5-18-3 getTitle 296
5-18-2 addNotify 296
5-18-6 setIconImage 297
5-18-5 getIconImage 297
5-18-4 setTitle 297
5-18-9 isResizable 298
5-18-8 setMenuBar 298
5-18-7 getMenuBar 298
5-18-12 setExtendedState 299
5-18-11 setState 299
5-18-10 setResizable 299
5-18-15 remove 300
5-18-14 getExtendedState 300
5-18-13 getState 300
5-18-17程序范例 301
5-18-16 paramString 301
5-19 Class GridBagConstraints 302
5-19-3程序范例 303
5-19-2 clone 303
5-19-1 GridBagConstraints 303
5-20-1 GridBagLayout 305
5-20 GridBagLayout类 305
5-20-4 getLayoutOrigin 306
5-20-3 getConstraints 306
5-20-2 setConstraints 306
5-20-7 location 307
5-20-6 getLayoutWeights 307
5-20-5 getLayoutDimensions 307
5-20-10 preferredLayoutSize 308
5-20-9 removeLayoutComponent 308
5-20-8 addLayoutComponent 308
5-20-12 maximumLayoutSize 309
5-20-11 minimumLayoutSize 309
5-20-14 getMinSize 310
5-20-13 toString 310
5-20-16程序范例 311
5-20-15 arrangeGrid 311
5-21 GridLayout类 313
5-21-1 GridLayout 314
5-21-5 setRows 315
5-21-2 getRows 315
5-21-8 getHgap 316
5-21-7 setColumns 316
5-21-6 GetColumns 316
5-21-11 setVgap 317
5-21-10 getVgap 317
5-21-9 setHgap 317
5-21-14 preferredLayoutSize 318
5-21-13 removeLayoutComponent 318
5-21-12 addLayoutComponent 318
5-21-16 layoutContainer 319
5-21-15 minimumLayoutSize 319
5-21-18程序范例 320
5-21-17 toString 320
5-22-1 Label 321
5-22 Label类 321
5-22-3 getAlignment 322
5-22-2 addNotify 322
5-22-6 setText 323
5-22-5 getText 323
5-22-4 setAlignment 323
5-22-8程序范例 324
5-22-7 paramString 324
5-23 List类 325
5-23-1 List 326
5-23-3 removeNotify 327
5-23-2 addNotify 327
5-23-6 getItems 328
5-23-5 getItem 328
5-23-4 getItemCount 328
5-23-9 replaceItem 329
5-23-8 add 329
5-23-7 add 329
5-23-11 remove 330
5-23-10 removeAll 330
5-23-14 getSelectedItem 331
5-23-13 getSelectedIndexes 331
5-23-12 getSelectedIndex 331
5-23-17 deselect 332
5-23-16 select 332
5-23-15 getSelectedItems 332
5-23-20 isMuItipleMode 333
5-23-19 getRows 333
5-23-18 isIndexSelected 333
5-23-23 getPreferredSize 334
5-23-22 makeVisible 334
5-23-21 setMuItipleMode 334
5-23-25 getMinimumSize 335
5-23-24 getPreferredSize 335
5-23-27 addItemListener 336
5-23-26 GetMinimumSize 336
5-23-29 getItemListeners 337
5-23-28 removeItemListener 337
5-23-31 processEvent 338
5-23-30 getListeners 338
5-23-33 paramString 339
5-23-32 processItemEvent 339
5-23-34程序范例 340
5-24-1 Menu 344
5-24 Menu类 344
5-24-5 getItemCount 346
5-24-4 isTearOff 346
5-24-2 addNotify 346
5-24-3 removeNotify 346
5-24-8 insert 347
5-24-7 add 347
5-24-6 getItem 347
5-24-10 insertSeparator 348
5-24-9 addSeparator 348
5-24-14程序范例 349
5-24-13 paramString 349
5-24-11 remove 349
5-24-12 removeAll 349
5-25 MenuBar类 351
5-25-4 getHelpMenu 352
5-25-3 removeNotify 352
5-25-1 MenuBar 352
5-25-2 addNotify 352
5-25-7 remove 353
5-25-6 add 353
5-25-5 setHelpMenu 353
5-25-9 getMenu 354
5-25-8 getMenuCount 354
5-26-1 MenuItem 355
5-26 MenuItem类 355
5-26-4 setLabel 356
5-26-3 getLabel 356
5-26-2 addNotify 356
5-26-6 setEnabled 357
5-26-5 isEnabled 357
5-26-8程序范例 358
5-26-7 paramString 358
5-27 Panel类 359
5-27-3程序范例 360
5-27-2 addNotify 360
5-27-1 Panel 360
5-28-1 Point 362
5-28 Point类 362
5-28-2 getX 363
5-28-5 translate 364
5-28-4 move 364
5-28-3 getY 364
5-28-8程序范例 365
5-28-7 toString 365
5-28-6 equals 365
5-29 Polygon类 367
5-29-2 AddPoint 368
5-29-1 Polygon 368
5-29-5 contains 369
5-29-4 contains 369
5-29-3 getBoundingBox 369
5-29-7程序范例 370
5-29-6 inside 370
5-30 Rectangle类 373
5-30-1 Rectangle 374
5-30-2 reshape 375
5-30-5 setLocation 376
5-30-4 setLocation 376
5-30-3 getLocation 376
5-30-8 getSize 377
5-30-7 translate 377
5-30-6 move 377
5-30-11 resize 378
5-30-10 setSize 378
5-30-9 setSize 378
5-30-13 contains 379
5-30-12 contains 379
5-30-16 union 380
5-30-15 intersects 380
5-30-14 inside 380
5-30-18 grow 381
5-30-17 add 381
5-30-21 toString 382
5-30-20 equals 382
5-30-19 isEmpty 382
5-30-22程序范例 383
5-31-1 Scrollbar 386
5-31 Scrollbar类 386
5-31-3 getOrientation 388
5-31-2 addNotify 388
5-31-6 setValue 389
5-31-5 getValue 389
5-31-4 setOrientation 389
5-31-8 setMinimum 390
5-31-7 getMinimum 390
5-31-11 setUnitIncrement 391
5-31-10 setMaximum 391
5-31-9 getMaximum 391
5-31-13 setBlockIncrement 392
5-31-12 getUnitIncrement 392
5-31-15 setValues 393
5-31-14 getBlockIncrement 393
5-31-17程序范例 394
5-31-16 paramString 394
5-32-1 TextArea 397
5-32 TextArea类 397
5-32-3 insert 399
5-32-2 addNotify 399
5-32-5 replaceRange 400
5-32-4 append 400
5-32-7 setRows 401
5-32-6 getRows 401
5-32-10 getPreferredSize 402
5-32-9 setColumns 402
5-32-8 getColumns 402
5-32-12 getMinimumSize 403
5-32-11 getPreferredSize 403
5-32-14 paramString 404
5-32-13 getMinimumSize 404
5-33 TextComponent类 405
5-32-15程序范例 405
5-33-3 getSelectedText 406
5-33-2 removeNotify 406
5-33-1 addNotify 406
5-33-6 getSelectionStart 407
5-33-5 setEditable 407
5-33-4 isEditable 407
5-33-9 setSelectionEnd 408
5-33-8 getSelectionEnd 408
5-33-7 setSelectionStart 408
5-33-12 paramString 409
5-33-11 selectAll 409
5-33-10 select 409
5-34 TextField类 410
5-33-13程序范例 410
5-34-1 TextField 411
5-34-2 addNotify 412
5-34-5 echoCharIsSet 413
5-34-4 setEchoChar 413
5-34-3 getEchoChar 413
5-34-7 setColumns 414
5-34-6 getColumns 414
5-34-10 getMinimumSize 415
5-34-9 getPreferredSize 415
5-34-8 getPreferredSize 415
5-34-13程序范例 416
5-34-12 paramString 416
5-34-11 getMinimumSize 416
5-35 Toolkit类 417
5-35-3 createTextField 418
5-35-2 createButton 418
5-35-1 Toolkit 418
5-35-5 createList 419
5-35-4 createLabel 419
5-35-7 createScrollbar 420
5-35-6 createCheckbox 420
5-35-9 createTextArea 421
5-35-8 createScrollPane 421
5-35-11 createFrame 422
5-35-10 createChoice 422
5-35-14 createWindow 423
5-35-13 createPanel 423
5-35-12 createCanvas 423
5-35-16 createMenuBar 424
5-35-15 createDialog 424
5-35-18 createPopupMenu 425
5-35-17 createMenu 425
5-35-20 createFileDialog 426
5-35-19 CreateMenuItem 426
5-35-22 getScreenSize 427
5-35-21 createCheckboxMenuItem 427
5-35-25 getFontList 428
5-35-24 getColorModel 428
5-35-23 getScreenResolution 428
5-35-28 getImage 429
5-35-27 getDefaultToolkit 429
5-35-26 sync 429
5-35-29程序范例 430
5-36-1 Window 431
5-36 Window类 431
5-36-2 addNotify 432
5-36-6 toFront 433
5-36-5 dispose 433
5-36-3 pack 433
5-36-4 show 433
5-36-9 getWarningString 434
5-36-8 getToolkit 434
5-36-7 toBack 434
5-36-10程序范例 435
第6章 PacKage Java.awt.image 441
6-1-1 TYPE_NEAREST_NEIGHBOR 442
6-1 AffineTransformOp类 442
6-1-3 AffineTransformOp 443
6-1-2 TYPE_BILINEAR 443
6-1-5 fiIter 444
6-1-4 getInterpolationType 444
6-1-6 getBounds2D 445
6-1-8 createCompatibleDestRaster 446
6-1-7 createCompatibleDestImage 446
6-1-11 getRenderingHints 447
6-1-10 getTransform 447
6-1-9 getPoint2D 447
6-2-1 BandCombineOp 448
6-2 BandCombineOp类 448
6-2-4 getBounds2D 449
6-2-3 fiIter 449
6-2-2 getMatrix 449
6-2-6 getPoint2D 450
6-2-5 createCompatibleDestRaster 450
6-3-1 TYPE_CUSTOM 451
6-3 BufferedImage类 451
6-2-7 getRenderingHints 451
6-3-6 TYPE_3BYTE_BGR 452
6-3-5 TYPE_INT_BGR 452
6-3-2 TYPE_INT_RGB 452
6-3-3 TYPE_INT_ARGB 452
6-3-4 TYPE_INT_ARGB_PRE 452
6-3-10 TYPE_USHORT_555_RGB 453
6-3-9 TYPE_USHORT_565_RGB 453
6-3-7 TYPE_4BYTE_ABGR 453
6-3-8 TYPE_4BYTE_ABGR_PRE 453
6-3-15 BufferedImage 454
6-3-14 TYPE_BYTE_INDEXED 454
6-3-11 TYPE_BYTE_GRAY 454
6-3-12 TYPE_USHORT_GRAY 454
6-3-13 TYPE_BYTE_BINARY 454
6-3-18 getRaster 456
6-3-17 getColorModel 456
6-3-16 getType 456
6-3-20 getRGB 457
6-3-19 getAlphaRaster 457
6-3-21 setRGB 458
6-3-25 getProperty 459
6-3-24 getSource 459
6-3-22 getWidth 459
6-3-23 getHeight 459
6-3-27 getGraphics 460
6-3-26 flush 460
6-3-30 isAlphaPremultiplied 461
6-3-29 getSubimage 461
6-3-28 createGraphics 461
6-3-33 getPropertyNames 462
6-3-32 getSources 462
6-3-31 toString 462
6-3-36 getNumXTiles 463
6-3-35 getSampleModel 463
6-3-34 getMinX 463
6-3-39 getTileGridXOffset 464
6-3-38 getTileWidth 464
6-3-37 getMinTileX 464
6-3-41 getData 465
6-3-40 getTile 465
6-3-43 setData 466
6-3-42 copyData 466
6-3-46 isTileWritable 467
6-3-45 removeTileObserver 467
6-3-44 addTileObserver 467
6-3-48 hasTileWriters 468
6-3-47 getWritableTileIndices 468
6-4 LookupTable类 469
6-3-50 releaseWritableTile 469
6-3-49 getWritableTile 469
6-4-3 getOffset 470
6-4-2 getNumComponents 470
6-4-1 LookupTable 470
6-5 ColorConvertOp类 471
6-4-4 lookupPixel 471
6-5-1 ColorConvertOp 472
6-5-3 filter 473
6-5-2 getICC_Profiles 473
6-5-4 getBounds2D 474
6-5-5 createCompatibleDestImage 475
6-5-7 getPoint2D 476
6-5-6 createCompatibleDestRaster 476
6-6 ColorModel类 477
6-5-8 getRenderingHints 477
6-6-3 ColorModel 478
6-6-2 transferType 478
6-6-1 pixel_bits 478
6-6-6 isAlphaPremultiplied 479
6-6-5 hasAlpha 479
6-6-4 getRGBdefault 479
6-6-9 getComponentSize 480
6-6-8 getPixelSize 480
6-6-7 getTransferType 480
6-6-11 getNumComponents 481
6-6-10 getTransparency 481
6-6-12 getRed、getGreen、getBlue 482
6-6-14 getRGB 483
6-6-13 getAlpha 483
6-6-16 getComponents 484
6-6-15 getDataElements 484
6-6-18 getDataElement 485
6-6-17 getUnnormalizedComponents 485
6-6-20 hashCode 486
6-6-19 equals 486
6-6-23 isCompatibleRaster 487
6-6-22 coerceData 487
6-6-21 getColorSpace 487
6-6-25 createCompatibleSampleModel 488
6-6-24 createCompatibleWritableRaster 488
6-6-28 getAlphaRaster 489
6-6-27 finalize 489
6-6-26 isCompatibleSampleModel 489
6-6-30程序范例 490
6-6-29 toString 490
6-7-2 numBands 493
6-7-1 width、height 493
6-7 SampleModel类 493
6-7-5 getWidth、getHeight、getNumBands、getDataType 494
6-7-4 SampleModel 494
6-7-3 dataType 494
6-7-8 getPixel 495
6-7-7 getTransferType 495
6-7-6 getNumDataElements 495
6-7-10 getDataElements 496
6-7-9 getPixels 496
6-7-11 setDataElements 497
6-7-12 getSample、getSampleFloat、getSample Double 498
6-7-14 getSamples 499
6-7-13 setSample 499
6-7-16 setPixels 500
6-7-15 setPixel 500
6-7-20 getSampleSize 501
6-7-19 createDataBuffer 501
6-7-17 createCompatibleSampleModel 501
6-7-18 createSubsetSampleModel 501
6-8-1 EDGE_ZERO_FILL 502
6-8 ConvolveOp类 502
6-8-4 getEdgeCondition 503
6-8-3 ConvolveOp 503
6-8-2 EDGE_NO_OP 503
6-8-6 filter 504
6-8-5 getKernel 504
6-8-8 createCompatibleDestRaster 505
6-8-7 createCompatibleDestImage 505
6-8-10 getPoint2D 506
6-8-9 getBounds2D 506
6-9-1 TYPE_BYTE 507
6-9 DataBuffer类 507
6-8-11 getRenderingHints 507
6-9-6 TYPE_DOUBLE 508
6-9-5 TYPE_FLOAT 508
6-9-2 TYPE_USHORT 508
6-9-3 TYPE_SHORT 508
6-9-4 TYPE_INT 508
6-9-12 offsets 509
6-9-11 size 509
6-9-7 TYPE_UNDEFINED 509
6-9-8 dataType 509
6-9-9 banks 509
6-9-10 offset 509
6-9-13 DataBuffer 510
6-9-15 getDataType 511
6-9-14 getDataTypeSize 511
6-9-18 getNumBanks 512
6-9-19 getElem 512
6-9-16 getSize 512
6-9-17 getOffset、getOffsets 512
6-9-21 getElemFloat、getElemDouble 513
6-9-20 setElem 513
6-10 FilteredImageSource类 514
6-9-22 setElemFloat、setElemDouble 514
6-10-3 isConsumer 515
6-10-2 addConsumer 515
6-10-1 FilteredImageSource 515
6-10-6 requestTopDownLeftRightResend 516
6-10-5 startProduction 516
6-10-4 removeConsumer 516
6-10-7程序范例 517
6-11-2 getFilterInstance 519
6-11-1 ImageFilter 519
6-11 ImageFilter类 519
6-11-5 setColorModel 520
6-11-4 setProperties 520
6-11-3 setDimensions 520
6-11-7 setPixels 521
6-11-6 setHints 521
6-11-10 clone 522
6-11-9 resendTopDownLeftRight 522
6-11-8 imageComplete 522
6-11-11程序范例 523
6-12-1 LookupOp 528
6-12 LookupOp类 528
6-12-3 filter 529
6-12-2 gettable 529
6-12-4 getBounds2D 530
6-12-7 getPoint2D 531
6-12-6 createCompatibleDestRaster 531
6-12-5 createCompatibleDestImage 531
6-13 MemoryImageSource类 532
6-12-8 getRenderingHints 532
6-13-1 MemoryImageSource 533
6-13-3 isConsumer 535
6-13-2 addConsumer 535
6-13-6 requestTopDownLeftRightResend 536
6-13-5 startProduction 536
6-13-4 removeConsumer 536
6-13-9 newPixels 537
6-13-8 setFullBufferUpdates 537
6-13-7 setAnimated 537
6-14-1 sampleModel 539
6-14 Raster类 539
6-14-6 numBands 540
6-14-5 sampleModelTranslateX、sampleModel TranslateY 540
6-14-2 dataBuffer 540
6-14-3 minX、minY 540
6-14-4 width、height 540
6-14-9 Raster 541
6-14-8 parent 541
6-14-7 numDataElements 541
6-14-10 createInterleavedRaster 542
6-14-11 createBandedRaster 545
6-14-12 createPackedRaster 547
6-14-13 createCompatibleWritableRaster 550
6-14-15 createWritableRaster 552
6-14-14 createRaster 552
6-14-16 getParent 553
6-14-19 createChild 554
6-14-18 createTranslatedChild 554
6-14-17 getSampleModelTranslateX、getSample ModelTranslateY 554
6-14-21 getMinX、getMinY 555
6-14-20 getBounds 555
6-14-25 getTransferType 556
6-14-24 getNumDataElements 556
6-14-22 getwidth、getHeight 556
6-14-23 getNumBands 556
6-14-28 getDataElements 557
6-14-27 getSampleModel 557
6-14-26 getDataBuffer 557
6-14-29 getPixel 558
6-14-31 getSample、getSampleFloat、get SampleDouble 559
6-14-30 getPixels 559
6-15 RescaleOp类 560
6-14-32 getSamples 560
6-15-1 RescaleOp 561
6-15-5 filter 562
6-15-4 getNumFactors 562
6-15-2 getScaleFactors 562
6-15-3 getOffsets 562
6-16 ImageConsumer接口 564
6-15-7 getRenderingHints 564
6-15-6 getPoint2D 564
6-16-5 SINGLEFRAME 565
6-16-4 SINGLEPASS 565
6-16-1 RANDOMPLXELORDER 565
6-16-2 TOPDOWNLEFTRIGHT 565
6-16-3 COMPLETESCANLINES 565
6-16-10 setDimensions 566
6-16-9 IMAGEABORTED 566
6-16-6 IMAGEERROR 566
6-16-7 SINGLEFRAMEDONE 566
6-16-8 STATICIMAGEDONE 566
6-16-14 setPixels 567
6-16-13 setHints 567
6-16-11 setProperties 567
6-16-12 setColorModel 567
6-16-16程序范例 568
6-16-15 imageComplete 568
6-17 ImageObserver接口 573
6-17-5 FRAMEBITS 574
6-17-4 SOMEBITS 574
6-17-1 WIDTH 574
6-17-2 HEIGHT 574
6-17-3 PROPERTIES 574
6-17-9 imageUpdate 575
6-17-8 ABORT 575
6-17-6 ALLBITS 575
6-17-7 ERROR 575
6-17-10程序范例 576
6-18-1 addConsumer 578
6-18 ImageProducer接口 578
6-18-5 requestTopDownLftRightResend 579
6-18-4 startProduction 579
6-18-2 isConsumer 579
6-18-3 removeConsumer 579
6-18-6程序范例 580
第7章 Package JaVa.awt.event 587
7-1-1 SHIFT_MASK 588
7-1 ActionEvent类 588
7-1-7 ACTION_PERFORMED 589
7-1-6 ACTION_LAST 589
7-1-2 CTRL_MASK 589
7-1-3 META_MASK 589
7-1-4 ALT_MASK 589
7-1-5 ACTION_FIRST 589
7-1-8 ActionEvent 590
7-1-11 paramString 591
7-1-11 getModifiers 591
7-1-9 getActionCommand 591
7-1-10 getWhen 591
7-1-12 程序范例 592
7-2 AdjustmentEvent类 593
7-2-6 BLOCK_DECREMENT 594
7-2-5 UNIT_DECREMENT 594
7-2-1 ADJUSTMENT_FIRST 594
7-2-2 ADJUSTMENT_LAST 594
7-2-3 ADJUSTMENT_VALUE_CHANGED 594
7-2-4 UNIT_INCREMENT 594
7-2-9 AdjustmentEvent 595
7-2-8 TRACK 595
7-2-7 BLOCK_INCREMENT 595
7-2-12 getAdjustmentType 596
7-2-11 getValue 596
7-2-10 getAdjustable 596
7-2-15 程序范例 597
7-2-14 paramString 597
7-2-13 getValueIsAdjusting 597
7-3-2 componentResized 599
7-3-1 ComponentAdapter 599
7-3 ComponentAdapter类 599
7-3-6 程序范例 600
7-3-5 componentHidden 600
7-3-3 componentMoved 600
7-3-4 componentShown 600
7-4 ComponentEvent类 603
7-4-5 COMPONENT_SHOWN 604
7-4-4 COMPONENT_RESIzED 604
7-4-1 COMPONET_FIRST 604
7-4-2 COMPONENT_LAST 604
7-4-3 COMPONENT_MOVED 604
7-4-9 paramString 605
7-4-8 getComponent 605
7-4-6 COMPONENT_HIDDEN 605
7-4-7 ComponentEvent 605
7-4-10 程序范例 606
7-5-3 componentRemoved 608
7-5-2 componentAdded 608
7-5 ContainerAdapter类 608
7-5-1 ContainerAdapter 608
7-6-2 CONTAINER_LAST 609
7-6-1 CONTAINER_FIRST 609
7-6 ContainerEvent类 609
7-6-6 getContainer 610
7-6-5 ContainerEvent 610
7-6-3 COMPONENT_ADDED 610
7-6-4 COMPONENT_REMOVED 610
7-6-9 程序范例 611
7-6-8 paramString 611
7-6-7 getChild 611
7-7 FocusAdapter类 613
7-7-4 程序范例 614
7-7-3 focusLost 614
7-7-1 FocusAdapter 614
7-7-2 focusGained 614
7-8 FocusEvent类 615
7-8-3 FOCUS_GAINED 616
7-8-2 FOCUS_LAST 616
7-8-1 FOCUS_FIRST 616
7-8-5 FocusEvent 617
7-8-4 FOCUS_LOST 617
7-8-8 paramString 618
7-8-7 getOppositeComponent 618
7-8-6 isTemporary 618
7-8-9 程序范例 619
7-9-1 SHIFT_MASK 620
7-9 InputEvent类 620
7-9-6 BUTTON1_MASK 621
7-9-5 ALT_GRAPH_MASK 621
7-9-2 CTRL_MASK 621
7-9-3 META_MASK 621
7-9-4 ALT_MASK 621
7-9-11 META_DOWN_MASK 622
7-9-10 CTRL_DOWN_MASK 622
7-9-7 BUTTON2_MASK 622
7-9-8 BUTTON3_MASK 622
7-9-9 SHIFT_DOWN_MASK 622
7-9-14 ALT_GRAPH_DOWN_MASK 623
7-9-13 BUTTON1_DOWN_MASK、BUTTON2_DOWN_MASK、BUTTON3_DOWN_MASK 623
7-9-12 ALT_DOWN_MASK 623
7-9-18 getModifiersEx 624
7-9-17 getModifiers 624
7-9-15 isShiftDown、isControlDown、isMetaDown、isAltDown、 624
isAltGraphDown 624
7-9-16 getWhen 624
7-9-20 isConsumed 625
7-9-19 consume 625
7-9-22程序范例 626
7-9-21 getModifiersExText 626
7-10 InvocationEvent类 627
7-10-4 runnable 628
7-10-3 INVOCATION_LAST 628
7-10-1 INVOCATION_FIRST 628
7-10-2 INVOCATION_DEFAULT 628
7-10-7 InvocationEvent 629
7-10-6 catchExceptions 629
7-10-5 notifier 629
7-10-9 getException 630
7-10-8 dispatch 630
7-11 ItemEvent类 631
7-10-11 paramString 631
7-10-10 getWhen 631
7-11-5 DESELECTED 632
7-11-4 SELECTED 632
7-11-1 ITEM_FIRST 632
7-11-2 ITEM_LAST 632
7-11-3 ITEM_STATE_CHANGED 632
7-11-8 getItem 633
7-11-7 getItemSelectable 633
7-11-6 ItemEvent 633
7-11-11程序范例 634
7-11-10 paramString 634
7-11-9 getStateChange 634
7-12 KeyAdapter类 635
7-12-3 kevPressed 636
7-12-2 keyTyped 636
7-12-1 KeyAdapter 636
7-12-5程序范例 637
7-12-4 kevReleased 637
7-13 KevEvent类 643
7-13-5 KEY_RELEASED 644
7-13-4 KEY_PRESSED 644
7-13-1 KEY_FIRST 644
7-13-2 KEY_LAST 644
7-13-3 KEY_TYPED 644
7-13-8 VK_TAB 645
7-13-7 VK_BACK_SPACE 645
7-13-6 VK_ENTER 645
7-13-9 KevEvent 650
7-13-12 getKeyChar 651
7-13-11 setKevCode 651
7-13-10 getKeyCode 651
7-13-16 getKeyModifiersText 652
7-13-15 getKeyText 652
7-13-13 setKeyChar 652
7-13-14 getKeyLocation 652
7-13-19程序范例 653
7-13-18 paramString 653
7-13-17 isActionKey 653
7-14 MouseAdapter类 655
7-14-5 mouseEntered 656
7-14-4 mouseReleased 656
7-14-1 MouseAdapter 656
7-14-2 mouseClicked 656
7-14-3 mousePressed 656
7-14-7程序范例 657
7-14-6 mouseExited 657
7-15 MouseEvent类 659
7-15-5 MOUSE_RELEASED 660
7-15-4 MOUSE_PRESSED 660
7-15-1 MOUSE_FIRST 660
7-15-2 MOUSE_LAST 660
7-15-3 MOUSE_CLICKED 660
7-15-10 MOUSE_WHEEL 661
7-15-9 MOUSE_DRAGGED 661
7-15-6 MOUSE_MOVED 661
7-15-7 MOUSE_ENTERED 661
7-15-8 MOUSE_EXITED 661
7-15-14 BUTTON3 662
7-15-13 BUTTON2 662
7-15-11 NOBUTTON 662
7-15-12 BUTTON1 662
7-15-15 MouseEvent 663
7-15-19 getclickCount 664
7-15-18 translatePoint 664
7-15-16 getX、getY 664
7-15-17 getPoint 664
7-15-22 getMouseModifiersText 665
7-15-21 isPopupTrigger 665
7-15-20 getButton 665
7-15-24程序范例 666
7-15-23 paramString 666
7-16 MouseWheelEvent类 669
7-16-3 MouseWheelEvent 670
7-16-2 WHEEL_BLOCK_SCROLL 670
7-16-1 WHEEL_UNIT_SCROLL 670
7-16-6 getWheelRotation 671
7-16-5 getScrollAmount 671
7-16-4 getScrollType 671
7-16-8 paramString 672
7-16-7 getUnitsToScroll 672
7-17-3 PAINT 673
7-17-2 PAINT_LAST 673
7-17 PaintEvent类 673
7-17-1 PAINT_FIRST 673
7-14-7 setUpdateRect 674
7-14-6 getUpdateRect 674
7-17-4 UPDATE 674
7-14-5 PaintEvent 674
7-18-1 TEXT_FIRST 675
7-18 TextEvent类 675
7-14-8 paramString 675
7-18-5 paramString 676
7-18-4 TextEvent 676
7-18-2 TEXT_LAST 676
7-18-3 TEXT_VALUE_CHANGED 676
7-19 WindowAdapter类 677
7-18-6程序范例 677
7-19-3 windowClosing 678
7-19-2 windowOpened 678
7-19-1 WindowAdapter 678
7-19-7 windowActivated 679
7-19-6 windowDeiconified 679
7-19-4 windowClosed 679
7-19-5 windowIconified 679
7-19-10 windowGainedFocus 680
7-19-9 windowStateChanged 680
7-19-8 windowDeactivated 680
7-20-1 WINDOW_FIRST 681
7-20 WindowEvent类 681
7-19-11 windowLostFocus 681
7-20-5 WINDOW_ICONIFIED 682
7-20-5 WINDOW_CLOSED 682
7-20-2 WINDOW_LAST 682
7-20-3 WINDOW_OPENED 682
7-20-4 WINDOW_CLOSING 682
7-20-11 WINDOW_STATE_CHANGED 683
7-20-10 WINDOW_LOST_FOCUS 683
7-20-6 WINDOW_DEICONIFIED 683
7-20-7 WINDOW_ACTIVATED 683
7-20-8 WINDOW_DEACTIVATED 683
7-20-9 WINDOW_GAINED_FOCUS 683
7-20-12 WindowEvent 684
7-20-13 getWindow 685
7-20-16 getNewState 686
7-20-15 getOldState 686
7-20-14 getOppositeWindow 686
7-20-18程序范例 687
7-20-17 paramString 687
7-21 ActionListener接口 692
7-22-1 adjustmentValueChanged 693
7-22 AdjustmentListener接口 693
7-21-1 actionPerformed 693
7-23-4 componentShown 694
7-23-2 componentMoved 694
7-23 ComponentListener接口 694
7-23-1 componentResized 694
7-24-2 componentRemoved 695
7-24-1 componentAdded 695
7-23-5 componentHidden 695
7-24 ContainerListener接口 695
7-26 ItemListener接口 696
7-25-2 focusLost 696
7-25 FocusListener接口 696
7-25-1 focusGained 696
7-27-1 keyTyped 697
7-27 KeyListener接口 697
7-26-1 itemStateChanged 697
7-28 MouseListener接口 698
7-27-3 keyReleased 698
7-27-2 keyPressed 698
7-28-5 mouseExited 699
7-28-4 mouseEntered 699
7-28-1 mouseClicked 699
7-28-2 mousePressed 699
7-28-3 mouseReleased 699
7-30 TextListener接口 700
7-29-1 mouseWheelMoved 700
7-29 MouseWheelListener接口 700
7-31-2 windowLostFocus 701
7-31-1 windowGainedFocus 701
7-30-1 textValueChanged 701
7-31 WindowFocusListener接口 701
7-32-4 windowIconified 702
7-32-3 windowClosed 702
7-32 WindowListener接口 702
7-32-1 windowOpened 702
7-32-2 windowClosing 702
7-33 WindowStateListener接口 703
7-32-7 windowDeactivated 703
7-32-5 windowDeiconified 703
7-32-6 windowActivated 703
7-33-1 windowStateChanged 704
第8章 Package Java.net 705
8-2 SocketImplFactory接口 706
8-1-1 createContentHandler 706
8-1 ContentHandlerFactory接口 706
8-3 URLStreamHandlerFactory接口 707
8-2-1 createSocketImpl 707
8-4-2 getContent 708
8-4-1 ContentHandler 708
8-4 ContentHandler类 708
8-4-3程序范例 709
8-5 DatagramPacket类 710
8-5-2 getAddress 711
8-5-1 DatagramPacket 711
8-5-5 getOffset 712
8-5-4 getData 712
8-5-3 getPort 712
8-5-8 setLength 713
8-5-7 setData 713
8-5-6 getLength 713
8-5-10 setPort 714
8-5-9 setAddress 714
8-5-11程序范例 715
8-6 DatagramSocket类 717
8-6-3 connect 718
8-6-2 bind 718
8-6-1 DatagramSocket 718
8-6-4程序范例 719
8-6-6 isBound 722
8-6-5 disconnect 722
8-6-10 getRemoteSocketAddress 723
8-6-9 getPort 723
8-6-7 isConnected 723
8-6-8 getInetAddress 723
8-6-12 send 724
8-6-11 getLocalSocketAddress 724
8-6-15 getLocalPort 725
8-6-14 getLocalAddress 725
8-613 receive 725
8-6-17 getSoTimeout 726
8-6-16 setSoTimeout 726
8-6-20程序范例 727
8-6-19 getReceiveBufferSize 727
8-6-18 setReceiveBufferSize 727
8-6-22程序范例 730
8-6-21 setSendBufferSize 730
8-6-24 close 733
8-6-23 getSendBufferSize 733
8-7 InetAddress类 734
8-6-25 isClosed 734
8-7-4 hashCode 735
8-7-3 getHostAddress 735
8-7-1 getHostName 735
8-7-2 getAddress 735
8-7-6 toString 736
8-7-5 equals 736
8-7-8 getByName 737
8-7-7 getByAddress 737
8-7-10 getLocalHost 738
8-7-9 getAllByName 738
8-7-11程序范例 739
8-8-1 ServerSocket 741
8-8 ServerSocket类 741
8-8-2 bind 742
8-8-4 getLocalPort 743
8-8-3 getInetAddress 743
8-8-7 isBound 744
8-8-6 close 744
8-8-5 accept 744
8-8-10 getSoTimeout 745
8-8-9 setSoTineout 745
8-8-8 isClosed 745
8-8-12 setSocketFactory 746
8-8-11 toString 746
8-8-15程序范例 747
8-8-14 getReceiveBufferSize 747
8-8-13 setReceiveBufferSize 747
8-9 Socket类 754
8-9-1 Socket 755
8-9-3 bind 758
8-9-2 connect 758
8-9-6 getPort 759
8-9-5 getLocalAddress 759
8-9-4 getInetAddress 759
8-9-9 getOutputStream 760
8-9-8 getInputStream 760
8-9-7 getLocalPort 760
8-9-12 setSoLinger 761
8-9-11 getTcpNoDelay 761
8-9-10 setTcpNoDe1ay 761
8-9-14 setSoTimeout 762
8-9-13 getSoLinger 762
8-9-16 setSendBufferSize 763
8-9-15 getSoTimeout 763
8-9-18 setReceiveBufferSize 764
8-9-17 getSendBufferSize 764
8-9-20 setKeepAlive 765
8-9-19 getReceiveBufferSize 765
8-9-23 shutdownInput 766
8-9-22 close 766
8-9-21 getKeepAlive 766
8-9-26 isConnected 767
8-9-25 toString 767
8-9-24 shutdownOutput 767
8-9-27 isBound 768
8-9-28 isClosed 768
8-9-29 isInputShutdown 768
8-9-30 isOutputShutdown 769
8-9-31 setSocketImplFactory 769
8-9-32程序范例 770
8-10 SocketImpl类 771
8-10-1 SocketImpl 771
8-10-2 create 771
8-10-3 connect 772
8-10-4 bind 773
8-10-5 listen 773
8-10-6 accept 774
8-10-7 getInputStream 774
8-10-8 getOutputStream 774
8-10-11 shutdownInput 775
8-10-10 close 775
8-10-12 shutdownOutput 775
8-10-9 available 775
8-10-14 getPort 776
8-10-15 getLocalPort 776
8-10-13 getInetAddress 776
8-10-16 toString 777
8-11 URL类 777
8-11-1 URL 778
8-11-2 set 779
8-11-3 getQuery 780
8-11-4 getPath 780
8-11-7 getPort 781
8-11-6 getAuthority 781
8-11-8 getDefaultPort 781
8-11-5 getUserInfo 781
8-11-11 getFile 782
8-11-10 getHost 782
8-11-12 getRef 782
8-11-9 getProtocol 782
8-11-14 hashCode 783
8-11-15 sameFile 783
8-11-13 equals 783
8-11-16 toString 784
8-11-17 toExternalForm 784
8-11-19 openStream 785
8-11-20 getContent 785
8-11-18 openConnection 785
8-11-21 setURLStreamHandlerFactory 786
8-11-22程序范例 787
8-12 URLConnection类 788
8-12-1 URLConnection 788
8-12-4 getContentLength 789
8-12-3 getURL 789
8-12-5 getContentType 789
8-12-2 connect 789
8-12-7 getExpiration 790
8-12-8 getDate 790
8-12-6 getContentEncoding 790
8-12-10 getHeaderField 791
8-12-11 getHeaderFieldInt 791
8-12-9 getLastModified 791
8-12-13 getHeaderFieldKey 792
8-12-14 getHeaderField 792
8-12-12 getHeaderFieldDate 792
8-12-15 getContent 793
8-12-17 getOutputStream 794
8-12-18 toString 794
8-12-16 getInputStream 794
8-12-20 getDoInput 795
8-12-21 setDoOutput 795
8-12-19 setDoInput 795
8-12-23 setAllowUserInteraction 796
8-12-24 getAllowUserInteraction 796
8-12-22 getDoOutput 796
8-12-26 getDefaultAllowUserInteraction 797
8-12-27 setUseCaches 797
8-12-25 setDefaultAllowUserInteraction 797
8-12-29 setIfModifiedSince 798
8-12-30 getIfModifiedSince 798
8-12-28 getUseCaches 798
8-12-32 setDefaultUseCaches 799
8-12-33 setRequestProperty 799
8-12-31 getDefaultUseCaches 799
8-12-35 setDefaultRequestProperty 800
8-12-36 getDefaultRequestProperty 800
8-12-34 getRequestProperty 800
8-12-37 setContentHandlerFactory 801
8-12-38程序范例 801
8-13 URLEncoder类 802
8-13-1 encode 803
8-13-2程序范例 803
- 《元曲鉴赏辞典》傅德岷,余曲主编 2017
- 《科技语篇翻译教程》雷晓峰,李静主编 2020
- 《细菌真菌药敏试验标准查询手册》胡付品吴文娟郭燕 2019
- 《上海市订购外国和港台科技期刊联合目录 1983 上》上海科学技术情报研究所 1983
- 《唐宋八大家鉴赏辞典》刘洪仁,刘细涓编著 2018
- 《生物科技、医学与法律》齐延平,安·玛丽·杜盖著 2018
- 《科技新闻英语 英汉互译精选》郑佩芸主编;吴越,郭亮,毛隽副主编 2019
- 《科技法教程》李功国著 1993
- 《密码学辞典》朱甫臣编 2020
- 《国内外中医药科技进展 1989》国家中医药管理局科学技术司,上海市医学科学技术情报研究所主编 1989
- 《市政工程基础》杨岚编著 2009
- 《家畜百宝 猪、牛、羊、鸡的综合利用》山西省商业厅组织技术处编著 1959
- 《《道德经》200句》崇贤书院编著 2018
- 《高级英语阅读与听说教程》刘秀梅编著 2019
- 《计算机网络与通信基础》谢雨飞,田启川编著 2019
- 《看图自学吉他弹唱教程》陈飞编著 2019
- 《法语词汇认知联想记忆法》刘莲编著 2020
- 《HTML5从入门到精通 第3版》(中国)明日科技 2019
- 《培智学校义务教育实验教科书教师教学用书 生活适应 二年级 上》人民教育出版社,课程教材研究所,特殊教育课程教材研究中心编著 2019
- 《国家社科基金项目申报规范 技巧与案例 第3版 2020》文传浩,夏宇编著 2019
- 《中国当代乡土小说文库 本乡本土》(中国)刘玉堂 2019
- 《异质性条件下技术创新最优市场结构研究 以中国高技术产业为例》千慧雄 2019
- 《中国铁路人 第三届现实主义网络文学征文大赛一等奖》恒传录著 2019
- 《莼江曲谱 2 中国昆曲博物馆藏稀见昆剧手抄曲谱汇编之一》郭腊梅主编;孙伊婷副主编;孙文明,孙伊婷编委;中国昆曲博物馆编 2018
- 《中国制造业绿色供应链发展研究报告》中国电子信息产业发展研究院 2019
- 《中国陈设艺术史》赵囡囡著 2019
- 《指向核心素养 北京十一学校名师教学设计 英语 七年级 上 配人教版》周志英总主编 2019
- 《《走近科学》精选丛书 中国UFO悬案调查》郭之文 2019
- 《清至民国中国西北戏剧经典唱段汇辑 第8卷》孔令纪 2018
- 《北京生态环境保护》《北京环境保护丛书》编委会编著 2018