/[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 2616 - (hide annotations)
Wed Aug 10 16:59:49 2011 UTC (9 years, 11 months ago) by gregoa
File MIME type: text/html
File size: 24885 byte(s)
[svn-upgrade] new version libjgoodies-looks-java (2.4.2)
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 2616 <!-- Generated by javadoc (build 1.6.0_26) on Thu Aug 04 16:07:55 CEST 2011 -->
6 gregoa 470 <TITLE>
7 gregoa 2300 RGBGrayFilter (JGoodies Looks 2.4 API)
8 gregoa 470 </TITLE>
9    
10 gregoa 2616 <META NAME="date" CONTENT="2011-08-04">
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 gregoa 2300 parent.document.title="RGBGrayFilter (JGoodies Looks 2.4 API)";
19 gregoa 725 }
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 gregoa 2300 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/PopupMenuLayout.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
59 gregoa 470 &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 2300 <A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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 2300 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true" title="class or interface in java.awt.image">ImageConsumer</A>, <A HREF="http://download.oracle.com/javase/1.5.0/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 2300 <DT><PRE>public final class <B>RGBGrayFilter</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/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 gregoa 1374 An image filter that turns an icon into a grayscale icon. Used by
110 gregoa 470 the JGoodies Windows and Plastic L&amp;Fs to create a disabled icon.<p>
111 gregoa 1374
112 gregoa 470 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 gregoa 1718 to <code>Boolean.FALSE</code>.<p>
117    
118     Thanks to Andrej Golovnin for suggesting a simpler filter formula.
119 gregoa 470 <P>
120    
121     <P>
122     <DL>
123     <DT><B>Version:</B></DT>
124 gregoa 2300 <DD>$Revision: 1.13 $</DD>
125 gregoa 470 <DT><B>Author:</B></DT>
126 gregoa 1718 <DD>Karsten Lentzsch</DD>
127 gregoa 470 </DL>
128     <HR>
129    
130     <P>
131     <!-- =========== FIELD SUMMARY =========== -->
132    
133     <A NAME="field_summary"><!-- --></A>
134     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136     <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137     <B>Field Summary</B></FONT></TH>
138     </TR>
139     </TABLE>
140     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.RGBImageFilter"><!-- --></A>
141     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
143 gregoa 2300 <TH ALIGN="left"><B>Fields inherited from class java.awt.image.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></B></TH>
144 gregoa 470 </TR>
145     <TR BGCOLOR="white" CLASS="TableRowColor">
146 gregoa 2300 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#canFilterIndexColorModel" title="class or interface in java.awt.image">canFilterIndexColorModel</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#newmodel" title="class or interface in java.awt.image">newmodel</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RGBImageFilter.html?is-external=true#origmodel" title="class or interface in java.awt.image">origmodel</A></CODE></TD>
147 gregoa 470 </TR>
148     </TABLE>
149     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A>
150     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
151     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
152 gregoa 2300 <TH ALIGN="left"><B>Fields inherited from class java.awt.image.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageFilter.html?is-external=true" title="class or interface in java.awt.image">ImageFilter</A></B></TH>
153 gregoa 470 </TR>
154     <TR BGCOLOR="white" CLASS="TableRowColor">
155 gregoa 2300 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageFilter.html?is-external=true#consumer" title="class or interface in java.awt.image">consumer</A></CODE></TD>
156 gregoa 470 </TR>
157     </TABLE>
158     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageConsumer"><!-- --></A>
159     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
160     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
161 gregoa 2300 <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true" title="class or interface in java.awt.image">ImageConsumer</A></B></TH>
162 gregoa 470 </TR>
163     <TR BGCOLOR="white" CLASS="TableRowColor">
164 gregoa 2300 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#COMPLETESCANLINES" title="class or interface in java.awt.image">COMPLETESCANLINES</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#IMAGEABORTED" title="class or interface in java.awt.image">IMAGEABORTED</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#IMAGEERROR" title="class or interface in java.awt.image">IMAGEERROR</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#RANDOMPIXELORDER" title="class or interface in java.awt.image">RANDOMPIXELORDER</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#SINGLEFRAME" title="class or interface in java.awt.image">SINGLEFRAME</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#SINGLEFRAMEDONE" title="class or interface in java.awt.image">SINGLEFRAMEDONE</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#SINGLEPASS" title="class or interface in java.awt.image">SINGLEPASS</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#STATICIMAGEDONE" title="class or interface in java.awt.image">STATICIMAGEDONE</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageConsumer.html?is-external=true#TOPDOWNLEFTRIGHT" title="class or interface in java.awt.image">TOPDOWNLEFTRIGHT</A></CODE></TD>
165 gregoa 470 </TR>
166     </TABLE>
167     &nbsp;
168     <!-- ========== METHOD SUMMARY =========== -->
169    
170     <A NAME="method_summary"><!-- --></A>
171     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
173     <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
174     <B>Method Summary</B></FONT></TH>
175     </TR>
176     <TR BGCOLOR="white" CLASS="TableRowColor">
177     <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178     <CODE>&nbsp;int</CODE></FONT></TD>
179     <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html#filterRGB(int, int, int)">filterRGB</A></B>(int&nbsp;x,
180     int&nbsp;y,
181     int&nbsp;rgb)</CODE>
182    
183     <BR>
184     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a single input pixel in the default RGB ColorModel to a single
185     gray pixel.</TD>
186     </TR>
187     <TR BGCOLOR="white" CLASS="TableRowColor">
188     <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189 gregoa 2300 <CODE>static&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A></CODE></FONT></TD>
190     <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html#getDisabledIcon(javax.swing.JComponent, javax.swing.Icon)">getDisabledIcon</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing">JComponent</A>&nbsp;component,
191     <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A>&nbsp;icon)</CODE>
192 gregoa 470
193     <BR>
194     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an icon with a disabled appearance.</TD>
195     </TR>
196     </TABLE>
197     &nbsp;<A NAME="methods_inherited_from_class_java.awt.image.RGBImageFilter"><!-- --></A>
198     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
199     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
200 gregoa 2300 <TH ALIGN="left"><B>Methods inherited from class java.awt.image.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></B></TH>
201 gregoa 470 </TR>
202     <TR BGCOLOR="white" CLASS="TableRowColor">
203 gregoa 2300 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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>
204 gregoa 470 </TR>
205     </TABLE>
206     &nbsp;<A NAME="methods_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A>
207     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
209 gregoa 2300 <TH ALIGN="left"><B>Methods inherited from class java.awt.image.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageFilter.html?is-external=true" title="class or interface in java.awt.image">ImageFilter</A></B></TH>
210 gregoa 470 </TR>
211     <TR BGCOLOR="white" CLASS="TableRowColor">
212 gregoa 2300 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageFilter.html?is-external=true#clone()" title="class or interface in java.awt.image">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/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>
213 gregoa 470 </TR>
214     </TABLE>
215     &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
216     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
217     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
218 gregoa 2300 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
219 gregoa 470 </TR>
220     <TR BGCOLOR="white" CLASS="TableRowColor">
221 gregoa 2300 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
222 gregoa 470 </TR>
223     </TABLE>
224     &nbsp;
225     <P>
226    
227     <!-- ============ METHOD DETAIL ========== -->
228    
229     <A NAME="method_detail"><!-- --></A>
230     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
231     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
232     <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
233     <B>Method Detail</B></FONT></TH>
234     </TR>
235     </TABLE>
236    
237     <A NAME="getDisabledIcon(javax.swing.JComponent, javax.swing.Icon)"><!-- --></A><H3>
238     getDisabledIcon</H3>
239     <PRE>
240 gregoa 2300 public static <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A> <B>getDisabledIcon</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true" title="class or interface in javax.swing">JComponent</A>&nbsp;component,
241     <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/Icon.html?is-external=true" title="class or interface in javax.swing">Icon</A>&nbsp;icon)</PRE>
242 gregoa 470 <DL>
243     <DD>Returns an icon with a disabled appearance. This method is used
244     to generate a disabled icon when one has not been specified.
245     <P>
246     <DD><DL>
247     <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.
248     <DT><B>Returns:</B><DD>disabled icon, or null if a suitable icon can not be generated.</DL>
249     </DD>
250     </DL>
251     <HR>
252    
253     <A NAME="filterRGB(int, int, int)"><!-- --></A><H3>
254     filterRGB</H3>
255     <PRE>
256     public int <B>filterRGB</B>(int&nbsp;x,
257     int&nbsp;y,
258     int&nbsp;rgb)</PRE>
259     <DL>
260     <DD>Converts a single input pixel in the default RGB ColorModel to a single
261     gray pixel.
262     <P>
263     <DD><DL>
264 gregoa 2300 <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/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://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RGBImageFilter.html?is-external=true" title="class or interface in java.awt.image">RGBImageFilter</A></CODE></DL>
265 gregoa 470 </DD>
266     <DD><DL>
267     <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
268 gregoa 2300 <DT><B>Returns:</B><DD>a gray pixel in the default RGB color model.<DT><B>See Also:</B><DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ColorModel.html?is-external=true#getRGBdefault()" title="class or interface in java.awt.image"><CODE>ColorModel.getRGBdefault()</CODE></A>,
269     <A HREF="http://download.oracle.com/javase/1.5.0/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>
270 gregoa 470 </DD>
271     </DL>
272     <!-- ========= END OF CLASS DATA ========= -->
273     <HR>
274    
275    
276     <!-- ======= START OF BOTTOM NAVBAR ====== -->
277     <A NAME="navbar_bottom"><!-- --></A>
278     <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
279     <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
280     <TR>
281     <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
282     <A NAME="navbar_bottom_firstrow"><!-- --></A>
283     <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
284     <TR ALIGN="center" VALIGN="top">
285     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
286     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
287     <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
288     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RGBGrayFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
289     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
290     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
291     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
292     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
293     </TR>
294     </TABLE>
295     </TD>
296     <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
297     </EM>
298     </TD>
299     </TR>
300    
301     <TR>
302     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
303 gregoa 2300 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/PopupMenuLayout.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
304 gregoa 470 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
305     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
306     <A HREF="../../../../index.html?com/jgoodies/looks/common/RGBGrayFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
307     &nbsp;<A HREF="RGBGrayFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
308     &nbsp;<SCRIPT type="text/javascript">
309     <!--
310     if(window==top) {
311     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
312     }
313     //-->
314     </SCRIPT>
315     <NOSCRIPT>
316     <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
317     </NOSCRIPT>
318    
319    
320     </FONT></TD>
321     </TR>
322     <TR>
323     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
324     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>
325     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
326     DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
327     </TR>
328     </TABLE>
329     <A NAME="skip-navbar_bottom"></A>
330     <!-- ======== END OF BOTTOM NAVBAR ======= -->
331    
332     <HR>
333 gregoa 2508 Copyright &#169; 2001-2011 JGoodies Karsten Lentzsch. All Rights Reserved.
334 gregoa 470 </BODY>
335     </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26