svn-gvsig-desktop / tags / v1_9_Build_1245 / docs / Andami / andami-api / com / iver / andami / ui / mdiManager / SingletonView.html @ 40287
History | View | Annotate | Download (9.95 KB)
1 | 1935 | vcaballero | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|---|---|
2 | <!--NewPage-->
|
||
3 | <HTML>
|
||
4 | <HEAD>
|
||
5 | <!-- Generated by javadoc (build 1.4.2_04) on Fri May 13 11:46:18 CEST 2005 -->
|
||
6 | <TITLE>
|
||
7 | SingletonView |
||
8 | </TITLE>
|
||
9 | |||
10 | <META NAME="keywords" CONTENT="com.iver.andami.ui.mdiManager.SingletonView interface"> |
||
11 | |||
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
||
13 | |||
14 | <SCRIPT type="text/javascript"> |
||
15 | function windowTitle() |
||
16 | { |
||
17 | parent.document.title="SingletonView"; |
||
18 | } |
||
19 | </SCRIPT>
|
||
20 | |||
21 | </HEAD>
|
||
22 | |||
23 | <BODY BGCOLOR="white" onload="windowTitle();"> |
||
24 | |||
25 | |||
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
||
27 | <A NAME="navbar_top"><!-- --></A> |
||
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
||
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
30 | <TR>
|
||
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
32 | <A NAME="navbar_top_firstrow"><!-- --></A> |
||
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
34 | <TR ALIGN="center" VALIGN="top"> |
||
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SingletonView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
43 | </TR>
|
||
44 | </TABLE>
|
||
45 | </TD>
|
||
46 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
47 | </EM>
|
||
48 | </TD>
|
||
49 | </TR>
|
||
50 | |||
51 | <TR>
|
||
52 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
53 | <A HREF="../../../../../com/iver/andami/ui/mdiManager/MDIManager.html" title="interface in com.iver.andami.ui.mdiManager"><B>PREV CLASS</B></A> |
||
54 | <A HREF="../../../../../com/iver/andami/ui/mdiManager/View.html" title="interface in com.iver.andami.ui.mdiManager"><B>NEXT CLASS</B></A></FONT></TD> |
||
55 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
56 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
||
57 | <A HREF="SingletonView.html" target="_top"><B>NO FRAMES</B></A> |
||
58 | <SCRIPT type="text/javascript"> |
||
59 | <!--
|
||
60 | if(window==top) {
|
||
61 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
62 | }
|
||
63 | //-->
|
||
64 | </SCRIPT>
|
||
65 | <NOSCRIPT>
|
||
66 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
67 | </NOSCRIPT>
|
||
68 | |||
69 | </FONT></TD> |
||
70 | </TR>
|
||
71 | <TR>
|
||
72 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
73 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
74 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
75 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
76 | </TR>
|
||
77 | </TABLE>
|
||
78 | <A NAME="skip-navbar_top"></A> |
||
79 | <!-- ========= END OF TOP NAVBAR ========= -->
|
||
80 | |||
81 | <HR>
|
||
82 | <!-- ======== START OF CLASS DATA ======== -->
|
||
83 | <H2>
|
||
84 | <FONT SIZE="-1"> |
||
85 | com.iver.andami.ui.mdiManager</FONT>
|
||
86 | <BR>
|
||
87 | Interface SingletonView</H2>
|
||
88 | <DL>
|
||
89 | <DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../com/iver/andami/ui/mdiManager/View.html" title="interface in com.iver.andami.ui.mdiManager">View</A></DD> |
||
90 | </DL>
|
||
91 | <HR>
|
||
92 | <DL>
|
||
93 | <DT>public interface <B>SingletonView</B><DT>extends <A HREF="../../../../../com/iver/andami/ui/mdiManager/View.html" title="interface in com.iver.andami.ui.mdiManager">View</A></DL> |
||
94 | |||
95 | <P>
|
||
96 | Interfaz a implementar por aquellas ventanas que tengan |
||
97 | una identidad en la aplicaci?n. Por ejemplo en un |
||
98 | editor de textos mdi, habr? ventanas cuyo contenido |
||
99 | es un fichero y que no se desean abrir varias ventanas |
||
100 | con el mismo fichero. Para ello habr? que definir dicha |
||
101 | ventana como singleton y devolver en getViewModel la |
||
102 | identidad de dicha ventana. En el caso de ejemplo |
||
103 | podr?a valernos una cadena con la ruta del fichero. |
||
104 | |||
105 | El framework act?a de la siguiente manera: Cuando se |
||
106 | a?ade una vista singleton, primero se busca en las que |
||
107 | hay a?adidas una cuyo getViewModel sea igual a la que |
||
108 | se quiere a?adir. En caso de que se encuentre se |
||
109 | traer? al frente dicha ventana. si no se encuentra s |
||
110 | muestra la vista a?adida |
||
111 | <P>
|
||
112 | |||
113 | <P>
|
||
114 | <DL>
|
||
115 | <DT><B>Author:</B></DT> |
||
116 | <DD>Fernando Gonz?lez Cort?s</DD> |
||
117 | </DL>
|
||
118 | <HR>
|
||
119 | |||
120 | <P>
|
||
121 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
122 | |||
123 | |||
124 | <!-- =========== FIELD SUMMARY =========== -->
|
||
125 | |||
126 | |||
127 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
128 | |||
129 | |||
130 | <!-- ========== METHOD SUMMARY =========== -->
|
||
131 | |||
132 | <A NAME="method_summary"><!-- --></A> |
||
133 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
134 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
135 | <TD COLSPAN=2><FONT SIZE="+2"> |
||
136 | <B>Method Summary</B></FONT></TD> |
||
137 | </TR>
|
||
138 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
139 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
||
140 | <CODE> java.lang.Object</CODE></FONT></TD> |
||
141 | <TD><CODE><B><A HREF="../../../../../com/iver/andami/ui/mdiManager/SingletonView.html#getViewModel()">getViewModel</A></B>()</CODE> |
||
142 | |||
143 | <BR>
|
||
144 | Obtiene el modelo de la vista, la identidad, el |
||
145 | objeto que se usar? para identificar la vista</TD>
|
||
146 | </TR>
|
||
147 | </TABLE>
|
||
148 | <A NAME="methods_inherited_from_class_com.iver.andami.ui.mdiManager.View"><!-- --></A> |
||
149 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
150 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
||
151 | <TD><B>Methods inherited from interface com.iver.andami.ui.mdiManager.<A HREF="../../../../../com/iver/andami/ui/mdiManager/View.html" title="interface in com.iver.andami.ui.mdiManager">View</A></B></TD> |
||
152 | </TR>
|
||
153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
||
154 | <TD><CODE><A HREF="../../../../../com/iver/andami/ui/mdiManager/View.html#getViewInfo()">getViewInfo</A></CODE></TD> |
||
155 | </TR>
|
||
156 | </TABLE>
|
||
157 |
|
||
158 | <P>
|
||
159 | |||
160 | <!-- ============ FIELD DETAIL =========== -->
|
||
161 | |||
162 | |||
163 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
164 | |||
165 | |||
166 | <!-- ============ METHOD DETAIL ========== -->
|
||
167 | |||
168 | <A NAME="method_detail"><!-- --></A> |
||
169 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
||
170 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
||
171 | <TD COLSPAN=1><FONT SIZE="+2"> |
||
172 | <B>Method Detail</B></FONT></TD> |
||
173 | </TR>
|
||
174 | </TABLE>
|
||
175 | |||
176 | <A NAME="getViewModel()"><!-- --></A><H3> |
||
177 | getViewModel</H3>
|
||
178 | <PRE>
|
||
179 | public java.lang.Object <B>getViewModel</B>()</PRE> |
||
180 | <DL>
|
||
181 | <DD>Obtiene el modelo de la vista, la identidad, el
|
||
182 | objeto que se usar? para identificar la vista |
||
183 | <P>
|
||
184 | <DD><DL> |
||
185 | </DL>
|
||
186 | </DD>
|
||
187 | <DD><DL> |
||
188 | |||
189 | <DT><B>Returns:</B><DD>Object</DL> |
||
190 | </DD>
|
||
191 | </DL>
|
||
192 | <!-- ========= END OF CLASS DATA ========= -->
|
||
193 | <HR>
|
||
194 | |||
195 | |||
196 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
197 | <A NAME="navbar_bottom"><!-- --></A> |
||
198 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
||
199 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
||
200 | <TR>
|
||
201 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
||
202 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
||
203 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
||
204 | <TR ALIGN="center" VALIGN="top"> |
||
205 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
||
206 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
||
207 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
||
208 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SingletonView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
||
209 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
||
210 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
||
211 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
||
212 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
||
213 | </TR>
|
||
214 | </TABLE>
|
||
215 | </TD>
|
||
216 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
||
217 | </EM>
|
||
218 | </TD>
|
||
219 | </TR>
|
||
220 | |||
221 | <TR>
|
||
222 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
223 | <A HREF="../../../../../com/iver/andami/ui/mdiManager/MDIManager.html" title="interface in com.iver.andami.ui.mdiManager"><B>PREV CLASS</B></A> |
||
224 | <A HREF="../../../../../com/iver/andami/ui/mdiManager/View.html" title="interface in com.iver.andami.ui.mdiManager"><B>NEXT CLASS</B></A></FONT></TD> |
||
225 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
||
226 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A> |
||
227 | <A HREF="SingletonView.html" target="_top"><B>NO FRAMES</B></A> |
||
228 | <SCRIPT type="text/javascript"> |
||
229 | <!--
|
||
230 | if(window==top) {
|
||
231 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
||
232 | }
|
||
233 | //-->
|
||
234 | </SCRIPT>
|
||
235 | <NOSCRIPT>
|
||
236 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
||
237 | </NOSCRIPT>
|
||
238 | |||
239 | </FONT></TD> |
||
240 | </TR>
|
||
241 | <TR>
|
||
242 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
243 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
||
244 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
||
245 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
||
246 | </TR>
|
||
247 | </TABLE>
|
||
248 | <A NAME="skip-navbar_bottom"></A> |
||
249 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
250 | |||
251 | <HR>
|
||
252 | |||
253 | </BODY>
|
||
254 | </HTML> |