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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 725 - (hide annotations)
Sat May 12 23:43:37 2007 UTC (14 years, 2 months ago) by gregoa
File MIME type: text/html
File size: 24178 byte(s)
[svn-upgrade] Integrating new upstream version, libjgoodies-looks-java (2.1.4)
1 gregoa 470 <!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 gregoa 725 <!-- Generated by javadoc (build 1.6.0_01) on Tue Apr 17 15:08:38 CEST 2007 -->
6 gregoa 470 <TITLE>
7     RGBGrayFilter (JGoodies Looks 2.1 API)
8     </TITLE>
9    
10 gregoa 725 <META NAME="date" CONTENT="2007-04-17">
11 gregoa 470
12     <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13    
14     <SCRIPT type="text/javascript">
15     function windowTitle()
16     {
17 gregoa 725 if (location.href.indexOf('is-external=true') == -1) {
18     parent.document.title="RGBGrayFilter (JGoodies Looks 2.1 API)";
19     }
20 gregoa 470 }
21     </SCRIPT>
22     <NOSCRIPT>
23     </NOSCRIPT>
24    
25     </HEAD>
26    
27     <BODY BGCOLOR="white" onload="windowTitle();">
28 gregoa 725 <HR>
29 gregoa 470
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/RGBGrayFilter.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/RenderingUtils.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
59     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.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/RGBGrayFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
62     &nbsp;<A HREF="RGBGrayFilter.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;<A HREF="#fields_inherited_from_class_java.awt.image.RGBImageFilter">FIELD</A>&nbsp;|&nbsp;CONSTR&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;CONSTR&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 RGBGrayFilter</H2>
94     <PRE>
95 gregoa 725 <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/java/awt/image/ImageFilter.html?is-external=true" title="class or interface in java.awt.image">java.awt.image.ImageFilter</A>
97     <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">java.awt.image.RGBImageFilter</A>
98 gregoa 470 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.looks.common.RGBGrayFilter</B>
99     </PRE>
100     <DL>
101 gregoa 725 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true" title="class or interface in java.awt.image">ImageConsumer</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD>
102 gregoa 470 </DL>
103     <HR>
104     <DL>
105 gregoa 725 <DT><PRE>public final class <B>RGBGrayFilter</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></DL>
106 gregoa 470 </PRE>
107    
108     <P>
109     An image filter that turns an icon into a grayscale icon. Used by
110     the JGoodies Windows and Plastic L&amp;Fs to create a disabled icon.<p>
111    
112     The high-resolution gray filter can be disabled globally using
113     <A HREF="../../../../com/jgoodies/looks/Options.html#setHiResGrayFilterEnabled(boolean)"><CODE>Options.setHiResGrayFilterEnabled(boolean)</CODE></A>; it is enabled by default.
114     The global setting can be overridden per component by setting
115     the client property key <A HREF="../../../../com/jgoodies/looks/Options.html#HI_RES_DISABLED_ICON_CLIENT_KEY"><CODE>Options.HI_RES_DISABLED_ICON_CLIENT_KEY</CODE></A>
116     to <code>Boolean.FALSE</code>.
117     <P>
118    
119     <P>
120     <DL>
121     <DT><B>Version:</B></DT>
122 gregoa 556 <DD>$Revision: 1.5 $</DD>
123 gregoa 470 <DT><B>Author:</B></DT>
124     <DD>Sun, Andrej Golovnin</DD>
125     </DL>
126     <HR>
127    
128     <P>
129     <!-- =========== FIELD SUMMARY =========== -->
130    
131     <A NAME="field_summary"><!-- --></A>
132     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134     <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135     <B>Field Summary</B></FONT></TH>
136     </TR>
137     </TABLE>
138     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.RGBImageFilter"><!-- --></A>
139     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
140     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
141 gregoa 725 <TH ALIGN="left"><B>Fields inherited from class java.awt.image.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></B></TH>
142 gregoa 470 </TR>
143     <TR BGCOLOR="white" CLASS="TableRowColor">
144 gregoa 725 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#canFilterIndexColorModel" title="class or interface in java.awt.image">canFilterIndexColorModel</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#newmodel" title="class or interface in java.awt.image">newmodel</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#origmodel" title="class or interface in java.awt.image">origmodel</A></CODE></TD>
145 gregoa 470 </TR>
146     </TABLE>
147     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A>
148     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
150 gregoa 725 <TH ALIGN="left"><B>Fields inherited from class java.awt.image.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true" title="class or interface in java.awt.image">ImageFilter</A></B></TH>
151 gregoa 470 </TR>
152     <TR BGCOLOR="white" CLASS="TableRowColor">
153 gregoa 725 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#consumer" title="class or interface in java.awt.image">consumer</A></CODE></TD>
154 gregoa 470 </TR>
155     </TABLE>
156     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageConsumer"><!-- --></A>
157     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
159 gregoa 725 <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true" title="class or interface in java.awt.image">ImageConsumer</A></B></TH>
160 gregoa 470 </TR>
161     <TR BGCOLOR="white" CLASS="TableRowColor">
162 gregoa 725 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#COMPLETESCANLINES" title="class or interface in java.awt.image">COMPLETESCANLINES</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#IMAGEABORTED" title="class or interface in java.awt.image">IMAGEABORTED</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#IMAGEERROR" title="class or interface in java.awt.image">IMAGEERROR</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#RANDOMPIXELORDER" title="class or interface in java.awt.image">RANDOMPIXELORDER</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#SINGLEFRAME" title="class or interface in java.awt.image">SINGLEFRAME</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#SINGLEFRAMEDONE" title="class or interface in java.awt.image">SINGLEFRAMEDONE</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#SINGLEPASS" title="class or interface in java.awt.image">SINGLEPASS</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#STATICIMAGEDONE" title="class or interface in java.awt.image">STATICIMAGEDONE</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html?is-external=true#TOPDOWNLEFTRIGHT" title="class or interface in java.awt.image">TOPDOWNLEFTRIGHT</A></CODE></TD>
163 gregoa 470 </TR>
164     </TABLE>
165     &nbsp;
166     <!-- ========== METHOD SUMMARY =========== -->
167    
168     <A NAME="method_summary"><!-- --></A>
169     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171     <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172     <B>Method Summary</B></FONT></TH>
173     </TR>
174     <TR BGCOLOR="white" CLASS="TableRowColor">
175     <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176     <CODE>&nbsp;int</CODE></FONT></TD>
177     <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html#filterRGB(int, int, int)">filterRGB</A></B>(int&nbsp;x,
178     int&nbsp;y,
179     int&nbsp;rgb)</CODE>
180    
181     <BR>
182     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a single input pixel in the default RGB ColorModel to a single
183     gray pixel.</TD>
184     </TR>
185     <TR BGCOLOR="white" CLASS="TableRowColor">
186     <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 gregoa 725 <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A></CODE></FONT></TD>
188     <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html#getDisabledIcon(javax.swing.JComponent, javax.swing.Icon)">getDisabledIcon</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing">JComponent</A>&nbsp;component,
189     <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A>&nbsp;icon)</CODE>
190 gregoa 470
191     <BR>
192     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an icon with a disabled appearance.</TD>
193     </TR>
194     </TABLE>
195     &nbsp;<A NAME="methods_inherited_from_class_java.awt.image.RGBImageFilter"><!-- --></A>
196     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
198 gregoa 725 <TH ALIGN="left"><B>Methods inherited from class java.awt.image.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></B></TH>
199 gregoa 470 </TR>
200     <TR BGCOLOR="white" CLASS="TableRowColor">
201 gregoa 725 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#filterIndexColorModel(java.awt.image.IndexColorModel)" title="class or interface in java.awt.image">filterIndexColorModel</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#filterRGBPixels(int, int, int, int, int[], int, int)" title="class or interface in java.awt.image">filterRGBPixels</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#setColorModel(java.awt.image.ColorModel)" title="class or interface in java.awt.image">setColorModel</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#setPixels(int, int, int, int, java.awt.image.ColorModel, byte[], int, int)" title="class or interface in java.awt.image">setPixels</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#setPixels(int, int, int, int, java.awt.image.ColorModel, int[], int, int)" title="class or interface in java.awt.image">setPixels</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#substituteColorModel(java.awt.image.ColorModel, java.awt.image.ColorModel)" title="class or interface in java.awt.image">substituteColorModel</A></CODE></TD>
202 gregoa 470 </TR>
203     </TABLE>
204     &nbsp;<A NAME="methods_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A>
205     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
207 gregoa 725 <TH ALIGN="left"><B>Methods inherited from class java.awt.image.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true" title="class or interface in java.awt.image">ImageFilter</A></B></TH>
208 gregoa 470 </TR>
209     <TR BGCOLOR="white" CLASS="TableRowColor">
210 gregoa 725 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#clone()" title="class or interface in java.awt.image">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#getFilterInstance(java.awt.image.ImageConsumer)" title="class or interface in java.awt.image">getFilterInstance</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#imageComplete(int)" title="class or interface in java.awt.image">imageComplete</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#resendTopDownLeftRight(java.awt.image.ImageProducer)" title="class or interface in java.awt.image">resendTopDownLeftRight</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#setDimensions(int, int)" title="class or interface in java.awt.image">setDimensions</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#setHints(int)" title="class or interface in java.awt.image">setHints</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html?is-external=true#setProperties(java.util.Hashtable)" title="class or interface in java.awt.image">setProperties</A></CODE></TD>
211 gregoa 470 </TR>
212     </TABLE>
213     &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
214     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
215     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
216 gregoa 725 <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>
217 gregoa 470 </TR>
218     <TR BGCOLOR="white" CLASS="TableRowColor">
219 gregoa 725 <TD><CODE><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>
220 gregoa 470 </TR>
221     </TABLE>
222     &nbsp;
223     <P>
224    
225     <!-- ============ METHOD DETAIL ========== -->
226    
227     <A NAME="method_detail"><!-- --></A>
228     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
229     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
230     <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
231     <B>Method Detail</B></FONT></TH>
232     </TR>
233     </TABLE>
234    
235     <A NAME="getDisabledIcon(javax.swing.JComponent, javax.swing.Icon)"><!-- --></A><H3>
236     getDisabledIcon</H3>
237     <PRE>
238 gregoa 725 public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A> <B>getDisabledIcon</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing">JComponent</A>&nbsp;component,
239     <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A>&nbsp;icon)</PRE>
240 gregoa 470 <DL>
241     <DD>Returns an icon with a disabled appearance. This method is used
242     to generate a disabled icon when one has not been specified.
243     <P>
244     <DD><DL>
245     <DT><B>Parameters:</B><DD><CODE>component</CODE> - the component that will display the icon, may be null.<DD><CODE>icon</CODE> - the icon to generate disabled icon from.
246     <DT><B>Returns:</B><DD>disabled icon, or null if a suitable icon can not be generated.</DL>
247     </DD>
248     </DL>
249     <HR>
250    
251     <A NAME="filterRGB(int, int, int)"><!-- --></A><H3>
252     filterRGB</H3>
253     <PRE>
254     public int <B>filterRGB</B>(int&nbsp;x,
255     int&nbsp;y,
256     int&nbsp;rgb)</PRE>
257     <DL>
258     <DD>Converts a single input pixel in the default RGB ColorModel to a single
259     gray pixel.
260     <P>
261     <DD><DL>
262 gregoa 725 <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#filterRGB(int, int, int)" title="class or interface in java.awt.image">filterRGB</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></CODE></DL>
263 gregoa 470 </DD>
264     <DD><DL>
265     <DT><B>Parameters:</B><DD><CODE>x</CODE> - the horizontal pixel coordinate<DD><CODE>y</CODE> - the vertical pixel coordinate<DD><CODE>rgb</CODE> - the integer pixel representation in the default RGB color model
266 gregoa 725 <DT><B>Returns:</B><DD>a gray pixel in the default RGB color model.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ColorModel.html?is-external=true#getRGBdefault()" title="class or interface in java.awt.image"><CODE>ColorModel.getRGBdefault()</CODE></A>,
267     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#filterRGBPixels(int, int, int, int, int[], int, int)" title="class or interface in java.awt.image"><CODE>RGBImageFilter.filterRGBPixels(int, int, int, int, int[], int, int)</CODE></A></DL>
268 gregoa 470 </DD>
269     </DL>
270     <!-- ========= END OF CLASS DATA ========= -->
271     <HR>
272    
273    
274     <!-- ======= START OF BOTTOM NAVBAR ====== -->
275     <A NAME="navbar_bottom"><!-- --></A>
276     <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
277     <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
278     <TR>
279     <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
280     <A NAME="navbar_bottom_firstrow"><!-- --></A>
281     <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
282     <TR ALIGN="center" VALIGN="top">
283     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
284     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
285     <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
286     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RGBGrayFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
287     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
288     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
289     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
290     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
291     </TR>
292     </TABLE>
293     </TD>
294     <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
295     </EM>
296     </TD>
297     </TR>
298    
299     <TR>
300     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
301     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/RenderingUtils.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
302     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
303     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
304     <A HREF="../../../../index.html?com/jgoodies/looks/common/RGBGrayFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
305     &nbsp;<A HREF="RGBGrayFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
306     &nbsp;<SCRIPT type="text/javascript">
307     <!--
308     if(window==top) {
309     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
310     }
311     //-->
312     </SCRIPT>
313     <NOSCRIPT>
314     <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
315     </NOSCRIPT>
316    
317    
318     </FONT></TD>
319     </TR>
320     <TR>
321     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
322     SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.awt.image.RGBImageFilter">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
323     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
324     DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
325     </TR>
326     </TABLE>
327     <A NAME="skip-navbar_bottom"></A>
328     <!-- ======== END OF BOTTOM NAVBAR ======= -->
329    
330     <HR>
331 gregoa 556 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
332 gregoa 470 </BODY>
333     </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26