/[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 556 - (hide annotations)
Mon Feb 26 21:01:45 2007 UTC (14 years, 5 months ago) by gregoa
File MIME type: text/html
File size: 23153 byte(s)
[svn-upgrade] Integrating new upstream version, libjgoodies-looks-java (2.1.3)
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 556 <!-- Generated by javadoc (build 1.5.0_11) on Wed Feb 21 17:54:57 CET 2007 -->
6 gregoa 470 <TITLE>
7     RGBGrayFilter (JGoodies Looks 2.1 API)
8     </TITLE>
9    
10     <META NAME="keywords" CONTENT="com.jgoodies.looks.common.RGBGrayFilter class">
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="RGBGrayFilter (JGoodies Looks 2.1 API)";
18     }
19     </SCRIPT>
20     <NOSCRIPT>
21     </NOSCRIPT>
22    
23     </HEAD>
24    
25     <BODY BGCOLOR="white" onload="windowTitle();">
26    
27    
28     <!-- ========= START OF TOP NAVBAR ======= -->
29     <A NAME="navbar_top"><!-- --></A>
30     <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31     <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32     <TR>
33     <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34     <A NAME="navbar_top_firstrow"><!-- --></A>
35     <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36     <TR ALIGN="center" VALIGN="top">
37     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39     <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RGBGrayFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
41     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
42     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
43     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
44     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
45     </TR>
46     </TABLE>
47     </TD>
48     <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
49     </EM>
50     </TD>
51     </TR>
52    
53     <TR>
54     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/RenderingUtils.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
56     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
57     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58     <A HREF="../../../../index.html?com/jgoodies/looks/common/RGBGrayFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
59     &nbsp;<A HREF="RGBGrayFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
60     &nbsp;<SCRIPT type="text/javascript">
61     <!--
62     if(window==top) {
63     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
64     }
65     //-->
66     </SCRIPT>
67     <NOSCRIPT>
68     <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
69     </NOSCRIPT>
70    
71    
72     </FONT></TD>
73     </TR>
74     <TR>
75     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
76     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>
77     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78     DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
79     </TR>
80     </TABLE>
81     <A NAME="skip-navbar_top"></A>
82     <!-- ========= END OF TOP NAVBAR ========= -->
83    
84     <HR>
85     <!-- ======== START OF CLASS DATA ======== -->
86     <H2>
87     <FONT SIZE="-1">
88     com.jgoodies.looks.common</FONT>
89     <BR>
90     Class RGBGrayFilter</H2>
91     <PRE>
92     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
93     <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html" title="class or interface in java.awt.image">java.awt.image.ImageFilter</A>
94     <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html" title="class or interface in java.awt.image">java.awt.image.RGBImageFilter</A>
95     <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.looks.common.RGBGrayFilter</B>
96     </PRE>
97     <DL>
98     <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html" 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" title="class or interface in java.lang">Cloneable</A></DD>
99     </DL>
100     <HR>
101     <DL>
102     <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" title="class or interface in java.awt.image">RGBImageFilter</A></DL>
103     </PRE>
104    
105     <P>
106     An image filter that turns an icon into a grayscale icon. Used by
107     the JGoodies Windows and Plastic L&amp;Fs to create a disabled icon.<p>
108    
109     The high-resolution gray filter can be disabled globally using
110     <A HREF="../../../../com/jgoodies/looks/Options.html#setHiResGrayFilterEnabled(boolean)"><CODE>Options.setHiResGrayFilterEnabled(boolean)</CODE></A>; it is enabled by default.
111     The global setting can be overridden per component by setting
112     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>
113     to <code>Boolean.FALSE</code>.
114     <P>
115    
116     <P>
117     <DL>
118     <DT><B>Version:</B></DT>
119 gregoa 556 <DD>$Revision: 1.5 $</DD>
120 gregoa 470 <DT><B>Author:</B></DT>
121     <DD>Sun, Andrej Golovnin</DD>
122     </DL>
123     <HR>
124    
125     <P>
126     <!-- =========== FIELD SUMMARY =========== -->
127    
128     <A NAME="field_summary"><!-- --></A>
129     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
131     <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
132     <B>Field Summary</B></FONT></TH>
133     </TR>
134     </TABLE>
135     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.RGBImageFilter"><!-- --></A>
136     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
137     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
138     <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" title="class or interface in java.awt.image">RGBImageFilter</A></B></TH>
139     </TR>
140     <TR BGCOLOR="white" CLASS="TableRowColor">
141     <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html#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#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#origmodel" title="class or interface in java.awt.image">origmodel</A></CODE></TD>
142     </TR>
143     </TABLE>
144     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A>
145     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
147     <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" title="class or interface in java.awt.image">ImageFilter</A></B></TH>
148     </TR>
149     <TR BGCOLOR="white" CLASS="TableRowColor">
150     <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html#consumer" title="class or interface in java.awt.image">consumer</A></CODE></TD>
151     </TR>
152     </TABLE>
153     &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageConsumer"><!-- --></A>
154     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
155     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
156     <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" title="class or interface in java.awt.image">ImageConsumer</A></B></TH>
157     </TR>
158     <TR BGCOLOR="white" CLASS="TableRowColor">
159     <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageConsumer.html#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#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#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#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#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#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#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#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#TOPDOWNLEFTRIGHT" title="class or interface in java.awt.image">TOPDOWNLEFTRIGHT</A></CODE></TD>
160     </TR>
161     </TABLE>
162     &nbsp;
163     <!-- ========== METHOD SUMMARY =========== -->
164    
165     <A NAME="method_summary"><!-- --></A>
166     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
167     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
168     <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
169     <B>Method Summary</B></FONT></TH>
170     </TR>
171     <TR BGCOLOR="white" CLASS="TableRowColor">
172     <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173     <CODE>&nbsp;int</CODE></FONT></TD>
174     <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/RGBGrayFilter.html#filterRGB(int, int, int)">filterRGB</A></B>(int&nbsp;x,
175     int&nbsp;y,
176     int&nbsp;rgb)</CODE>
177    
178     <BR>
179     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a single input pixel in the default RGB ColorModel to a single
180     gray pixel.</TD>
181     </TR>
182     <TR BGCOLOR="white" CLASS="TableRowColor">
183     <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184     <CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html" title="class or interface in javax.swing">Icon</A></CODE></FONT></TD>
185     <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" title="class or interface in javax.swing">JComponent</A>&nbsp;component,
186     <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html" title="class or interface in javax.swing">Icon</A>&nbsp;icon)</CODE>
187    
188     <BR>
189     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an icon with a disabled appearance.</TD>
190     </TR>
191     </TABLE>
192     &nbsp;<A NAME="methods_inherited_from_class_java.awt.image.RGBImageFilter"><!-- --></A>
193     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
195     <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" title="class or interface in java.awt.image">RGBImageFilter</A></B></TH>
196     </TR>
197     <TR BGCOLOR="white" CLASS="TableRowColor">
198     <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html#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#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#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#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#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#substituteColorModel(java.awt.image.ColorModel, java.awt.image.ColorModel)" title="class or interface in java.awt.image">substituteColorModel</A></CODE></TD>
199     </TR>
200     </TABLE>
201     &nbsp;<A NAME="methods_inherited_from_class_java.awt.image.ImageFilter"><!-- --></A>
202     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
204     <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" title="class or interface in java.awt.image">ImageFilter</A></B></TH>
205     </TR>
206     <TR BGCOLOR="white" CLASS="TableRowColor">
207     <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageFilter.html#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#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#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#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#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#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#setProperties(java.util.Hashtable)" title="class or interface in java.awt.image">setProperties</A></CODE></TD>
208     </TR>
209     </TABLE>
210     &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
211     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
212     <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
213     <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" title="class or interface in java.lang">Object</A></B></TH>
214     </TR>
215     <TR BGCOLOR="white" CLASS="TableRowColor">
216     <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#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#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#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#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#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#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#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#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#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#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
217     </TR>
218     </TABLE>
219     &nbsp;
220     <P>
221    
222     <!-- ============ METHOD DETAIL ========== -->
223    
224     <A NAME="method_detail"><!-- --></A>
225     <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
226     <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
227     <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
228     <B>Method Detail</B></FONT></TH>
229     </TR>
230     </TABLE>
231    
232     <A NAME="getDisabledIcon(javax.swing.JComponent, javax.swing.Icon)"><!-- --></A><H3>
233     getDisabledIcon</H3>
234     <PRE>
235     public static <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html" 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" title="class or interface in javax.swing">JComponent</A>&nbsp;component,
236     <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/Icon.html" title="class or interface in javax.swing">Icon</A>&nbsp;icon)</PRE>
237     <DL>
238     <DD>Returns an icon with a disabled appearance. This method is used
239     to generate a disabled icon when one has not been specified.
240     <P>
241     <DD><DL>
242     <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.
243     <DT><B>Returns:</B><DD>disabled icon, or null if a suitable icon can not be generated.</DL>
244     </DD>
245     </DL>
246     <HR>
247    
248     <A NAME="filterRGB(int, int, int)"><!-- --></A><H3>
249     filterRGB</H3>
250     <PRE>
251     public int <B>filterRGB</B>(int&nbsp;x,
252     int&nbsp;y,
253     int&nbsp;rgb)</PRE>
254     <DL>
255     <DD>Converts a single input pixel in the default RGB ColorModel to a single
256     gray pixel.
257     <P>
258     <DD><DL>
259     <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html#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" title="class or interface in java.awt.image">RGBImageFilter</A></CODE></DL>
260     </DD>
261     <DD><DL>
262     <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
263     <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#getRGBdefault()" title="class or interface in java.awt.image"><CODE>ColorModel.getRGBdefault()</CODE></A>,
264     <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RGBImageFilter.html#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>
265     </DD>
266     </DL>
267     <!-- ========= END OF CLASS DATA ========= -->
268     <HR>
269    
270    
271     <!-- ======= START OF BOTTOM NAVBAR ====== -->
272     <A NAME="navbar_bottom"><!-- --></A>
273     <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
274     <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
275     <TR>
276     <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
277     <A NAME="navbar_bottom_firstrow"><!-- --></A>
278     <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
279     <TR ALIGN="center" VALIGN="top">
280     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
281     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
282     <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
283     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RGBGrayFilter.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
284     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
285     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
286     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
287     <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
288     </TR>
289     </TABLE>
290     </TD>
291     <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
292     </EM>
293     </TD>
294     </TR>
295    
296     <TR>
297     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
298     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/RenderingUtils.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
299     &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
300     <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
301     <A HREF="../../../../index.html?com/jgoodies/looks/common/RGBGrayFilter.html" target="_top"><B>FRAMES</B></A> &nbsp;
302     &nbsp;<A HREF="RGBGrayFilter.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
303     &nbsp;<SCRIPT type="text/javascript">
304     <!--
305     if(window==top) {
306     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
307     }
308     //-->
309     </SCRIPT>
310     <NOSCRIPT>
311     <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
312     </NOSCRIPT>
313    
314    
315     </FONT></TD>
316     </TR>
317     <TR>
318     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
319     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>
320     <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
321     DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
322     </TR>
323     </TABLE>
324     <A NAME="skip-navbar_bottom"></A>
325     <!-- ======== END OF BOTTOM NAVBAR ======= -->
326    
327     <HR>
328 gregoa 556 Copyright &#169; 2001-2007 JGoodies Karsten Lentzsch. All Rights Reserved.
329 gregoa 470 </BODY>
330     </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26