Window

From UG

(Difference between revisions)
Jump to: navigation, search
(Edit)
 
(6 intermediate revisions not shown)
Line 6: Line 6:
=== Error ===
=== Error ===
 +
 +
Typical Purpose: To tell the user that he can not proceed and must "go back and" fix the problem
{ Error: <Message> [OK]  }
{ Error: <Message> [OK]  }
-
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- [[TBD]]
+
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded // [[TBD]]
=== Warning ===
=== Warning ===
 +
 +
Typical Purpose: to warn user and give a choice to proceed or not
Also called Confirm Window
Also called Confirm Window
-
Type 1
+
==== Type 1 ====
{ Warning: <Message> [OK][Cancel]  }
{ Warning: <Message> [OK][Cancel]  }
Line 22: Line 26:
*Cancel - rollback
*Cancel - rollback
-
Type 2
+
Examples: [[TBD]]
 +
 
 +
==== Type 2 ====
Line 30: Line 36:
*N- rollback
*N- rollback
-
ZK type: Overlapped, Popup, Modal, Highlighted, Embedded <-- [[TBD]]
+
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:
see also:
Line 38: Line 65:
== 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:

http://docs.zkoss.org/wiki/Layout_and_Windows#Overlapped.2C_Popup.2C_Modal.2C_Highlighted_and_Embedded

[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

[edit] Figures

[edit] Fig 1

Personal tools