1
- #LyX 2.2 created this file. For more info see http://www.lyx.org/
2
- \lyxformat 508
1
+ #LyX 2.3 created this file. For more info see http://www.lyx.org/
2
+ \lyxformat 544
3
3
\begin_document
4
4
\begin_header
5
5
\save_transient_properties true
@@ -36,6 +36,8 @@ PackageOptions url hyphens
36
36
\font_osf false
37
37
\font_sf_scale 100 100
38
38
\font_tt_scale 100 100
39
+ \use_microtype false
40
+ \use_dash_ligatures true
39
41
\graphics default
40
42
\default_output_format pdf4
41
43
\output_sync 0
@@ -75,6 +77,7 @@ PackageOptions url hyphens
75
77
\suppress_date false
76
78
\justification true
77
79
\use_refstyle 1
80
+ \use_minted 0
78
81
\boxbgcolor #dad3d7
79
82
\index Index
80
83
\shortcut idx
@@ -84,7 +87,10 @@ PackageOptions url hyphens
84
87
\tocdepth 2
85
88
\paragraph_separation indent
86
89
\paragraph_indentation default
87
- \quotes_language english
90
+ \is_math_indent 0
91
+ \math_numbering_side default
92
+ \quotes_style english
93
+ \dynamic_quotes 0
88
94
\papercolumns 1
89
95
\papersides 2
90
96
\paperpagestyle default
@@ -6258,6 +6264,97 @@ name "fig:BorderLayout示例运行结果"
6258
6264
这个示例很简单,我们只是修改了Panel的Layout Manager为BorderLayout,然后将5个按钮依次放到界面的合适位置即可。
6259
6265
\end_layout
6260
6266
6267
+ \begin_layout Exercise
6268
+ 尝试将
6269
+ \begin_inset ERT
6270
+ status open
6271
+
6272
+ \begin_layout Plain Layout
6273
+
6274
+
6275
+ \backslash
6276
+ figurename
6277
+ \end_layout
6278
+
6279
+ \end_inset
6280
+
6281
+
6282
+ \begin_inset CommandInset ref
6283
+ LatexCommand ref
6284
+ reference "fig:BorderLayout示例运行结果"
6285
+ plural "false"
6286
+ caps "false"
6287
+ noprefix "false"
6288
+
6289
+ \end_inset
6290
+
6291
+ 中“Center”按钮所在的位置替换为另外一个“麻将桌”,即如
6292
+ \begin_inset ERT
6293
+ status open
6294
+
6295
+ \begin_layout Plain Layout
6296
+
6297
+
6298
+ \backslash
6299
+ figurename
6300
+ \end_layout
6301
+
6302
+ \end_inset
6303
+
6304
+
6305
+ \begin_inset CommandInset ref
6306
+ LatexCommand ref
6307
+ reference "fig:BorderLayout练习1"
6308
+ plural "false"
6309
+ caps "false"
6310
+ noprefix "false"
6311
+
6312
+ \end_inset
6313
+
6314
+ 示的效果。
6315
+ \begin_inset Float figure
6316
+ wide false
6317
+ sideways false
6318
+ status open
6319
+
6320
+ \begin_layout Plain Layout
6321
+ \align center
6322
+ \begin_inset Graphics
6323
+ filename imgs/gui/BorderLayout-exe1.1.png
6324
+
6325
+ \end_inset
6326
+
6327
+
6328
+ \end_layout
6329
+
6330
+ \begin_layout Plain Layout
6331
+ \begin_inset Caption Standard
6332
+
6333
+ \begin_layout Plain Layout
6334
+ BorderLayout练习1
6335
+ \begin_inset CommandInset label
6336
+ LatexCommand label
6337
+ name "fig:BorderLayout练习1"
6338
+
6339
+ \end_inset
6340
+
6341
+
6342
+ \end_layout
6343
+
6344
+ \end_inset
6345
+
6346
+
6347
+ \end_layout
6348
+
6349
+ \begin_layout Plain Layout
6350
+
6351
+ \end_layout
6352
+
6353
+ \end_inset
6354
+
6355
+
6356
+ \end_layout
6357
+
6261
6358
\begin_layout Subsection
6262
6359
FlowLayout
6263
6360
\end_layout
@@ -6671,6 +6768,16 @@ name "fig:CardLayout示例运行结果"
6671
6768
6672
6769
\begin_layout Paragraph*
6673
6770
代码说明
6771
+ \begin_inset Note Note
6772
+ status open
6773
+
6774
+ \begin_layout Plain Layout
6775
+ 增加代码的分析,因为CardLayout的代码不是特别直观
6776
+ \end_layout
6777
+
6778
+ \end_inset
6779
+
6780
+
6674
6781
\end_layout
6675
6782
6676
6783
\begin_layout Standard
0 commit comments