|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
The Block Styler is an interactive tool for designing NX dialogs. Previous to/ x: J5 U& p' F' I9 ^$ d
the Block Styler, NX provided the User Interface Styler (UI Styler) for dialog
" L3 A7 }* z+ A% e& w7 ycreation. The Block Styler enhances the capabilities of the UI Styler by using
) `8 ~" G9 ?7 nthe same set of reusable blocks currently used by internal NX applications.8 u# g% m( v4 y; ?, I" Q1 g& M
Using Blocks as the basic dialog building units ensures that NX has
3 Z' R9 S G. i1 N8 Q v% F$ Aconsistent behavior across all applications. By using the Block Styler your* P/ y8 K8 Y7 P. e- w2 |: N
custom applications will share the same user interactions as used throUGhout
; O- c7 y) ]0 ~9 m# SNX. Furthermore, the Block Styler provides platform independent dialogs.5 z$ F3 }3 q7 t9 J& j
The UI Styler is still provided to support legacy user interfaces.. \4 x- ^; S- K9 l9 v: T, k
However, it is recommended that the Block Styler should be used for all. F5 g% e4 t3 `
new user interfaces or major changes to existing dialogs.- j' K* m: R; X
1 F1 |" {8 U3 O0 n# F; KThe UI Styler defi nes dialogs composed of individual controls such as push
- d& Z) g/ X O% P, Cbuttons and input fi elds . The predefi ned behaviors of these controls are very Z8 U$ v+ a2 A* p2 r4 k
basic and can be used to implement any number of actions within NX. The
1 m' [; t6 {8 n3 HBlock Styler defi nes dialogs composed of Blocks of controls. Although there is
* ~2 n8 O. C4 L3 P9 ` {8 R# Ba full set of basic blocks, there are also sets of blocks that provide standard
3 n1 C$ Q( V) B* R% ANX behaviours for actions that are common in graphical CAD/CAM/CAE
2 }! u$ h7 `# capplications. For instance, there is a Specify Vector block that is composed of
* q6 U9 e: Q$ @; d/ I3 o% c6 Ra label, a standard NX vector constructor button, a pull down list for standard: K2 g1 C* @- e4 }
inferred vector options and a reverse direction toggle. This block is used# K2 y) V+ k: O, `' Y+ J
throughout NX to let the user select or interactively defi ne a vector. By using4 s5 Q% o; E6 R6 O- g% H# W. ]
this block within your dialogs you save time by not having to implement
1 _7 Q* d# l# e1 r% l' sthe various options and you ensure that your application behaves as other
+ t! O* @4 P) H' e J2 q& QNX applications.
6 `" f" b, l' W8 I, h
' ?1 W6 a% f* L2 r& } |
|