|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
The Block Styler is an interactive tool for designing NX dialogs. Previous to% q$ z8 _5 c6 m2 |, l {4 U- N
the Block Styler, NX provided the User Interface Styler (UI Styler) for dialog# ^2 I0 t7 r2 k+ N* H- @+ H
creation. The Block Styler enhances the capabilities of the UI Styler by using# h' j# U* b& A: q3 U, g5 A9 l1 Y
the same set of reusable blocks currently used by internal NX applications.# W. z0 S1 _* m' f7 A( s: D) b7 K
Using Blocks as the basic dialog building units ensures that NX has
3 C( Z" q9 }" u7 C& Q, ]% z2 C+ Vconsistent behavior across all applications. By using the Block Styler your
1 x, X( ~7 M9 l2 v; X* E2 _1 x/ |custom applications will share the same user interactions as used throUGhout
' b& W; K. Q9 |) h- DNX. Furthermore, the Block Styler provides platform independent dialogs.# {. N: w+ ^9 E9 h& z' W6 i; p
The UI Styler is still provided to support legacy user interfaces.; }* x: R5 N6 m; d( S8 J4 ?
However, it is recommended that the Block Styler should be used for all
8 E! B! [$ U. Y. y% Fnew user interfaces or major changes to existing dialogs.
0 H3 |, O& y6 l# _: v# _+ ~
% X$ X3 e8 s" EThe UI Styler defi nes dialogs composed of individual controls such as push$ F' n. w p, g0 r! f
buttons and input fi elds . The predefi ned behaviors of these controls are very- Y0 [% H! c' y
basic and can be used to implement any number of actions within NX. The
7 _. A# e" B" X8 R( l1 pBlock Styler defi nes dialogs composed of Blocks of controls. Although there is8 _0 w* t# i. H2 _+ A' u
a full set of basic blocks, there are also sets of blocks that provide standard( l8 v% o* f: ]
NX behaviours for actions that are common in graphical CAD/CAM/CAE3 d# U! @/ c, ^" V
applications. For instance, there is a Specify Vector block that is composed of+ I- T1 ^0 q2 W! ~; p+ q
a label, a standard NX vector constructor button, a pull down list for standard
/ X* ?$ P6 q: X0 b$ X* Finferred vector options and a reverse direction toggle. This block is used; V7 Q8 c1 d* v6 \5 }* Q
throughout NX to let the user select or interactively defi ne a vector. By using
# e4 k; d0 y! f9 h3 ~5 ~this block within your dialogs you save time by not having to implement
* G2 k/ M- n" u! Jthe various options and you ensure that your application behaves as other( Z6 v1 @1 K- [" d( S
NX applications.
6 A. k% p5 I! u0 Z! E( ~
) |* A) a4 ]9 k; n. i# m. n |
|