Window
From UG
(Created page with 'Category:Widgets == Intro == == Major Functional Attributes == === Attr A === == Look and Feel attributes == == See also == http://en.wikipedia.org/wiki/Window_(computing) …') |
(→Edit) |
||
(7 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
== Intro == | == Intro == | ||
+ | |||
+ | == Types of CT2 windows == | ||
+ | |||
+ | === Error === | ||
+ | |||
+ | Typical Purpose: To tell the user that he can not proceed and must "go back and" fix the problem | ||
+ | |||
+ | { Error: <Message> [OK] } | ||
+ | |||
+ | ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // [[TBD]] | ||
+ | |||
+ | === Warning === | ||
+ | |||
+ | Typical Purpose: to warn user and give a choice to proceed or not | ||
+ | |||
+ | Also called Confirm Window | ||
+ | |||
+ | ==== Type 1 ==== | ||
+ | |||
+ | { Warning: <Message> [OK][Cancel] } | ||
+ | |||
+ | *OK - proceed | ||
+ | *Cancel - rollback | ||
+ | |||
+ | Examples: [[TBD]] | ||
+ | |||
+ | ==== Type 2 ==== | ||
+ | |||
+ | |||
+ | { <Are you sure .... ?> [Y][N] } | ||
+ | |||
+ | *Y- proceed | ||
+ | *N- rollback | ||
+ | |||
+ | ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // [[TBD]] | ||
+ | |||
+ | Examples: [[TBD]] | ||
+ | |||
+ | === Edit === | ||
+ | |||
+ | Also called Update Window | ||
+ | |||
+ | This is a "modal" window. | ||
+ | |||
+ | Typical Purpose: to update object's fields | ||
+ | |||
+ | Type 1 | ||
+ | |||
+ | { Number of Lables / Widgets [OK][Cancel] } | ||
+ | |||
+ | *OK - proceed | ||
+ | *Cancel - rollback | ||
+ | |||
+ | Examples: // [[TBD]] | ||
+ | |||
+ | ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // [[TBD]] | ||
+ | |||
+ | see also: | ||
+ | |||
+ | http://docs.zkoss.org/wiki/Layout_and_Windows#Overlapped.2C_Popup.2C_Modal.2C_Highlighted_and_Embedded | ||
+ | |||
== Major Functional Attributes == | == Major Functional Attributes == | ||
=== Attr A === | === Attr A === | ||
+ | |||
+ | == Template for spec == | ||
+ | |||
+ | {| {{table}} border="1" | ||
+ | | '''Attribute:''' || '''Value:''' | ||
+ | |- | ||
+ | | widget type: || [[Window#Edit]] | ||
+ | |- | ||
+ | | caption: || tbd | ||
+ | |- | ||
+ | | see Figure: || tbd | ||
+ | |- | ||
+ | |} | ||
+ | |||
== Look and Feel attributes == | == Look and Feel attributes == | ||
Current revision as of 23:20, 29 January 2010
Contents |
[edit] Intro
[edit] Types of CT2 windows
[edit] Error
Typical Purpose: To tell the user that he can not proceed and must "go back and" fix the problem
{ Error: <Message> [OK] }
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // TBD
[edit] Warning
Typical Purpose: to warn user and give a choice to proceed or not
Also called Confirm Window
[edit] Type 1
{ Warning: <Message> [OK][Cancel] }
- OK - proceed
- Cancel - rollback
Examples: TBD
[edit] Type 2
{ <Are you sure .... ?> [Y][N] }
- Y- proceed
- N- rollback
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // TBD
Examples: TBD
[edit] Edit
Also called Update Window
This is a "modal" window.
Typical Purpose: to update object's fields
Type 1
{ Number of Lables / Widgets [OK][Cancel] }
- OK - proceed
- Cancel - rollback
Examples: // TBD
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // TBD
see also:
[edit] Major Functional Attributes
[edit] Attr A
[edit] Template for spec
Attribute: | Value: |
widget type: | Window#Edit |
caption: | tbd |
see Figure: | tbd |
[edit] Look and Feel attributes
[edit] See also
http://en.wikipedia.org/wiki/Window_(computing)
http://docs.zkoss.org/wiki/Layout_and_Windows#Windows