/[suikacvs]/messaging/manakai/lib/Message/DOM/DOMViews.dis
Suika

Contents of /messaging/manakai/lib/Message/DOM/DOMViews.dis

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 17 04:46:43 2004 UTC (20 years, 1 month ago) by wakaba
Branch: MAIN
CVS Tags: before-dis2-200411
New modules

1 Namespace:
2 @lang:
3 http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#
4 @license:
5 http://suika.fam.cx/~wakaba/archive/2004/8/18/license#
6 @ManakaiDOMCore:
7 http://suika.fam.cx/~wakaba/archive/2004/mdom-core#
8 @TreeCore:\
9 Module:
10 @Name: DOMViews
11 @Namespace:
12 http://suika.fam.cx/~wakaba/archive/2004/dom/views#
13 @BindingName:
14 @@@: views
15 @@Type:
16 lang:IDL-DOM
17 @@prefix: dom.w3c.org
18 @Description:
19 @@lang:en
20 @@@:
21 A document may have one or more <DFN:view>s associated
22 with it. That is, a view is a presentation of a source document.
23 \
24 A view may be static or dynamic, or may has other characteristics.
25 All such views are derived from the <IF:AbstractView>
26 interface defined in this module.
27
28 @Author:
29 @@FullName: Wakaba
30 @@Mail: w@suika.fam.cx
31 @License:
32 license:Perl+MPL
33 @Date.RCS:
34 $Date: 2004/10/10 00:01:08 $
35
36 @ConditionDef:
37 @@Name:DOM2
38 @NormalCondition:DOM2
39
40 @Feature:
41 @@Name:Views
42 @@Version:2.0
43 @@FullName:
44 @@@lang:en
45 @@@@: DOM Level 2 Views
46 @@ImplNote:
47 @@@lang:en
48 @@@@:
49 The support for the <Feature:Core>/<FeatureVer:2.0>
50 feature is required.
51
52 @Require:
53 @@Module:
54 @@@Name: DOMCore
55 @@@FileName:
56 @@@@@: dom.idl
57 @@@@For:
58 lang:IDL-DOM
59 @@@Namespace:
60 http://suika.fam.cx/~wakaba/archive/2004/8/18/dom-core#
61
62 IF:
63 @Name: AbstractView
64 @Description:
65 @@lang:en
66 @@@:
67 A base interface from which all views shall derived.
68
69 @Level[list]: 2
70 @SpecLevel[list]: 2
71 @Attr:
72 @@Name: document
73 @@Description:
74 @@@lang:en
75 @@@@:
76 The source <IF:DocumentView> of which this is an
77 <IF:AbstractView>.
78 @@Get:
79 @@@Type: DocumentView
80 @@@Def:
81 @@@@Type:
82 lang:dis
83 @@@@GetPropNode:
84 DOMViews:document
85
86 @IntMethod:
87 @@Name: newObject
88 @@Description:
89 @@@lang:en
90 @@@@:
91 Construct an object for a new instance of the <IF:AbstractView>.
92 @@Return:
93 @@@Type:
94 ManakaiDOM:ManakaiDOMNodeObject
95 @@@Description:
96 @@@@lang:en
97 @@@@@:
98 The object for the <IF:AbstractView> to be created.
99 @@@Def:
100 @@@@Type:
101 lang:Perl
102 @@@@@:
103 my $node = $r = __CLASS{ManakaiDOMNodeObject::}__->__INT{new}__;
104 push @{$node->{<Q:TreeCore:origin>}}, <Q:DOMViews:document>;
105 @@@ImplNote:
106 @@@@lang:en
107 @@@@@:
108 Properties required to be a legal <IF:AbstractView> object:
109 <Q:DOMViews:document>.
110 \
111 Optional properties: none.
112 ##IF:AbstractView
113
114 IF:
115 @Name: DocumentView
116 @Description:
117 @@lang:en
118 @@@:
119 The interface implemented by <IF:Document> object in
120 DOM Views implementation.
121
122 @Level[list]: 2
123 @SpecLevel[list]: 2
124
125 @Role:
126 @@@:
127 DOMCore:Document
128 @@compat:
129 ManakaiDOMCore:Document
130
131 @Attr:
132 @@Name: defaultView
133 @@Description:
134 @@@lang:en
135 @@@@:
136 The default <IF:AbstractView> for this document.
137 @@Get:
138 @@@Type: AbstractView
139 @@@InCase:
140 @@@@Value:
141 @@@@@is-null:1
142 @@@@Description:
143 @@@@@lang:en
144 @@@@@@:
145 No <IF:AbstractView> available.
146 @@@Def:
147 @@@@Type:
148 lang:Perl
149 @@@@@:
150 $r = $self->{<Q:TreeCore:node>}->{<Q:DOMViews:view>}->[0];
151 ##IF:DocumentView
152
153 ## DOMViews.dis ends here
154
155
156
157

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24