|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
The Block Styler is an interactive tool for designing NX dialogs. Previous to# {6 Q; m& H0 M5 V" v4 P/ K0 u3 n* Y
the Block Styler, NX provided the User Interface Styler (UI Styler) for dialog
* g, M2 e( }, u% E" }* Ocreation. The Block Styler enhances the capabilities of the UI Styler by using
& `7 s) e) c/ B$ ~( athe same set of reusable blocks currently used by internal NX applications.
7 `6 t: N; j& l& e. I: iUsing Blocks as the basic dialog building units ensures that NX has* X( L( W, A7 r9 t- o
consistent behavior across all applications. By using the Block Styler your' }& ]0 j: W* J+ V0 _( d, A
custom applications will share the same user interactions as used throUGhout( T) q* |5 K5 K) S O# G* c
NX. Furthermore, the Block Styler provides platform independent dialogs.1 i+ C, }% T& H; t8 X3 e9 N
The UI Styler is still provided to support legacy user interfaces.
$ o: D& z9 j: p/ g) THowever, it is recommended that the Block Styler should be used for all* Y7 {2 t% ?* B/ ^7 ~9 I/ W o
new user interfaces or major changes to existing dialogs.& p0 c; T5 K6 a. f9 ^- D: Y6 |$ _
; U5 f$ }6 F8 B2 n' Q2 EThe UI Styler defi nes dialogs composed of individual controls such as push
$ i9 L1 R. M9 qbuttons and input fi elds . The predefi ned behaviors of these controls are very
7 S9 J7 x4 K4 i. ]basic and can be used to implement any number of actions within NX. The- Y r5 S8 O, i4 u' T/ b
Block Styler defi nes dialogs composed of Blocks of controls. Although there is' z* a2 Z. f n/ v4 F
a full set of basic blocks, there are also sets of blocks that provide standard
" p- r6 O# }8 FNX behaviours for actions that are common in graphical CAD/CAM/CAE
8 q1 W# O, h2 O4 a# {9 j4 a+ Vapplications. For instance, there is a Specify Vector block that is composed of
5 g3 w3 n- s# @5 Qa label, a standard NX vector constructor button, a pull down list for standard' M C, l* g+ J# s3 X4 E8 o: r# q
inferred vector options and a reverse direction toggle. This block is used& ]4 a% |6 Q. A/ b; K* Y) \+ j" f. R8 b
throughout NX to let the user select or interactively defi ne a vector. By using: v7 Q9 {/ _; u
this block within your dialogs you save time by not having to implement
" t) u0 Y! l+ l8 d2 n+ wthe various options and you ensure that your application behaves as other9 x6 Q6 O V4 G5 `$ {
NX applications.
' Y- z" |) ?% e: P g3 l' X
% v( [% E$ ^' B/ X |
|