/[debian]/libjgoodies-looks-java/branches/upstream/current/docs/api/com/jgoodies/looks/common/ShadowPopup.html
ViewVC logotype

Contents of /libjgoodies-looks-java/branches/upstream/current/docs/api/com/jgoodies/looks/common/ShadowPopup.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 725 - (show annotations)
Sat May 12 23:43:37 2007 UTC (14 years, 1 month ago) by gregoa
File MIME type: text/html
File size: 15346 byte(s)
[svn-upgrade] Integrating new upstream version, libjgoodies-looks-java (2.1.4)
1 <!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.6.0_01) on Tue Apr 17 15:08:38 CEST 2007 -->
6 <TITLE>
7 ShadowPopup (JGoodies Looks 2.1 API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2007-04-17">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="ShadowPopup (JGoodies Looks 2.1 API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ShadowPopup.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 </EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopupFactory.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../index.html?com/jgoodies/looks/common/ShadowPopup.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="ShadowPopup.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.jgoodies.looks.common</FONT>
92 <BR>
93 Class ShadowPopup</H2>
94 <PRE>
95 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Popup.html?is-external=true" title="class or interface in javax.swing">javax.swing.Popup</A>
97 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.looks.common.ShadowPopup</B>
98 </PRE>
99 <HR>
100 <DL>
101 <DT><PRE>public final class <B>ShadowPopup</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Popup.html?is-external=true" title="class or interface in javax.swing">Popup</A></DL>
102 </PRE>
103
104 <P>
105 Does all the magic for getting popups with drop shadows.
106 It adds the drop shadow border to the Popup,
107 in <code>#show</code> it snapshots the screen background as needed,
108 and in <code>#hide</code> it cleans up all changes made before.
109 <P>
110
111 <P>
112 <DL>
113 <DT><B>Version:</B></DT>
114 <DD>$Revision: 1.6 $</DD>
115 <DT><B>Author:</B></DT>
116 <DD>Andrej Golovnin</DD>
117 <DT><B>See Also:</B><DD><CODE>ShadowPopupBorder</CODE>,
118 <A HREF="../../../../com/jgoodies/looks/common/ShadowPopupFactory.html" title="class in com.jgoodies.looks.common"><CODE>ShadowPopupFactory</CODE></A></DL>
119 <HR>
120
121 <P>
122
123 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
124
125 <A NAME="constructor_summary"><!-- --></A>
126 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
128 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
129 <B>Constructor Summary</B></FONT></TH>
130 </TR>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html#ShadowPopup()">ShadowPopup</A></B>()</CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
136 </TR>
137 </TABLE>
138 &nbsp;
139 <!-- ========== METHOD SUMMARY =========== -->
140
141 <A NAME="method_summary"><!-- --></A>
142 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
145 <B>Method Summary</B></FONT></TH>
146 </TR>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE>static&nbsp;boolean</CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html#canSnapshot()">canSnapshot</A></B>()</CODE>
151
152 <BR>
153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
154 </TR>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <CODE>&nbsp;void</CODE></FONT></TD>
158 <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html#hide()">hide</A></B>()</CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hides and disposes of the <code>Popup</code>.</TD>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE>&nbsp;void</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html#show()">show</A></B>()</CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Makes the <code>Popup</code> visible.</TD>
170 </TR>
171 </TABLE>
172 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
173 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
174 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
175 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
176 </TR>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
179 </TR>
180 </TABLE>
181 &nbsp;
182 <P>
183
184 <!-- ========= CONSTRUCTOR DETAIL ======== -->
185
186 <A NAME="constructor_detail"><!-- --></A>
187 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
188 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
189 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
190 <B>Constructor Detail</B></FONT></TH>
191 </TR>
192 </TABLE>
193
194 <A NAME="ShadowPopup()"><!-- --></A><H3>
195 ShadowPopup</H3>
196 <PRE>
197 public <B>ShadowPopup</B>()</PRE>
198 <DL>
199 </DL>
200
201 <!-- ============ METHOD DETAIL ========== -->
202
203 <A NAME="method_detail"><!-- --></A>
204 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
206 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
207 <B>Method Detail</B></FONT></TH>
208 </TR>
209 </TABLE>
210
211 <A NAME="canSnapshot()"><!-- --></A><H3>
212 canSnapshot</H3>
213 <PRE>
214 public static boolean <B>canSnapshot</B>()</PRE>
215 <DL>
216 <DD><DL>
217 </DL>
218 </DD>
219 </DL>
220 <HR>
221
222 <A NAME="hide()"><!-- --></A><H3>
223 hide</H3>
224 <PRE>
225 public void <B>hide</B>()</PRE>
226 <DL>
227 <DD>Hides and disposes of the <code>Popup</code>. Once a <code>Popup</code>
228 has been disposed you should no longer invoke methods on it. A
229 <code>dispose</code>d <code>Popup</code> may be reclaimed and later used
230 based on the <code>PopupFactory</code>. As such, if you invoke methods
231 on a <code>disposed</code> <code>Popup</code>, indeterminate
232 behavior will result.<p>
233
234 In addition to the superclass behavior, we reset the stored
235 horizontal and vertical drop shadows - if any.
236 <P>
237 <DD><DL>
238 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Popup.html?is-external=true#hide()" title="class or interface in javax.swing">hide</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Popup.html?is-external=true" title="class or interface in javax.swing">Popup</A></CODE></DL>
239 </DD>
240 <DD><DL>
241 </DL>
242 </DD>
243 </DL>
244 <HR>
245
246 <A NAME="show()"><!-- --></A><H3>
247 show</H3>
248 <PRE>
249 public void <B>show</B>()</PRE>
250 <DL>
251 <DD>Makes the <code>Popup</code> visible. If the popup has a
252 heavy-weight container, we try to snapshot the background.
253 If the <code>Popup</code> is currently visible, it remains visible.
254 <P>
255 <DD><DL>
256 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Popup.html?is-external=true#show()" title="class or interface in javax.swing">show</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Popup.html?is-external=true" title="class or interface in javax.swing">Popup</A></CODE></DL>
257 </DD>
258 <DD><DL>
259 </DL>
260 </DD>
261 </DL>
262 <!-- ========= END OF CLASS DATA ========= -->
263 <HR>
264
265
266 <!-- ======= START OF BOTTOM NAVBAR ====== -->
267 <A NAME="navbar_bottom"><!-- --></A>
268 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
269 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
270 <TR>
271 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
272 <A NAME="navbar_bottom_firstrow"><!-- --></A>
273 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
274 <TR ALIGN="center" VALIGN="top">
275 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
276 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
277 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
278 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ShadowPopup.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
279 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
280 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
281 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
283 </TR>
284 </TABLE>
285 </TD>
286 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
287 </EM>
288 </TD>
289 </TR>
290
291 <TR>
292 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
293 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
294 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopupFactory.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
295 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
296 <A HREF="../../../../index.html?com/jgoodies/looks/common/ShadowPopup.html" target="_top"><B>FRAMES</B></A> &nbsp;
297 &nbsp;<A HREF="ShadowPopup.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
298 &nbsp;<SCRIPT type="text/javascript">
299 <!--
300 if(window==top) {
301 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
302 }
303 //-->
304 </SCRIPT>
305 <NOSCRIPT>
306 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
307 </NOSCRIPT>
308
309
310 </FONT></TD>
311 </TR>
312 <TR>
313 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
314 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
315 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
316 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
317 </TR>
318 </TABLE>
319 <A NAME="skip-navbar_bottom"></A>
320 <!-- ======== END OF BOTTOM NAVBAR ======= -->
321
322 <HR>
323 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
324 </BODY>
325 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26