|
|
请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
x
The Block Styler is an interactive tool for designing NX dialogs. Previous to9 }/ m0 u! n! }7 j A" U' W- t
the Block Styler, NX provided the User Interface Styler (UI Styler) for dialog3 B+ p2 j z1 X P* F
creation. The Block Styler enhances the capabilities of the UI Styler by using' Q% u% n. o8 X( Q( `
the same set of reusable blocks currently used by internal NX applications.7 r1 F5 o& ]3 P0 p2 [0 ]9 x: j$ V
Using Blocks as the basic dialog building units ensures that NX has2 L8 { b; W+ B5 H8 n2 U5 g ]6 M! g
consistent behavior across all applications. By using the Block Styler your
) h3 c1 P; z* f; Gcustom applications will share the same user interactions as used throUGhout
4 k& H. k ^; u; D- r8 nNX. Furthermore, the Block Styler provides platform independent dialogs.
, H& ~9 n& `; V" R$ y- G, J) i/ I4 {: xThe UI Styler is still provided to support legacy user interfaces.
0 m% [& C2 S, s- b( [: GHowever, it is recommended that the Block Styler should be used for all
" m+ H! V, @3 p: z" Onew user interfaces or major changes to existing dialogs.
' ~4 O. P! d+ a# Q, k, H, C& U y. I0 q) H: z/ x* h6 s3 l, d
The UI Styler defi nes dialogs composed of individual controls such as push3 |0 V! F& O% A6 r* l
buttons and input fi elds . The predefi ned behaviors of these controls are very- o" K$ h8 d- T5 K0 [' n
basic and can be used to implement any number of actions within NX. The; i0 y/ Y9 M- f% b% P1 C8 c+ {7 I
Block Styler defi nes dialogs composed of Blocks of controls. Although there is
+ C! u2 {* k) u5 ^8 a- q5 ga full set of basic blocks, there are also sets of blocks that provide standard9 w- R+ ~6 K. P6 \/ x8 \, m
NX behaviours for actions that are common in graphical CAD/CAM/CAE
9 o! c) X6 w3 x$ I7 _applications. For instance, there is a Specify Vector block that is composed of' f& }8 m+ P7 d8 s0 d
a label, a standard NX vector constructor button, a pull down list for standard
. Z* i" o/ J$ Y+ z) xinferred vector options and a reverse direction toggle. This block is used
, }& `4 ]+ b S3 k1 c$ t fthroughout NX to let the user select or interactively defi ne a vector. By using$ t2 Y3 D6 \, O, o$ R
this block within your dialogs you save time by not having to implement
! b" m9 x/ e' Z/ H8 vthe various options and you ensure that your application behaves as other
+ w. L o4 j* P( pNX applications.
- h# Z( o! b. W- Z c2 K$ r' K; N- |7 P0 K( |( z
|
|