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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 361 - (show annotations)
Fri Sep 29 15:26:03 2006 UTC (14 years, 10 months ago) by gregoa
File MIME type: text/html
File size: 13198 byte(s)
[svn-inject] Installing original source of libjgoodies-looks-java
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.5.0_07) on Mon Jun 26 21:26:07 CEST 2006 -->
6 <TITLE>
7 RenderingUtils (JGoodies Looks 2.0 API)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="com.jgoodies.looks.common.RenderingUtils 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="RenderingUtils (JGoodies Looks 2.0 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/RenderingUtils.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/MinimumSizedIcon.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/RenderingUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
59 &nbsp;<A HREF="RenderingUtils.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;FIELD&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 RenderingUtils</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 "><B>com.jgoodies.looks.common.RenderingUtils</B>
94 </PRE>
95 <HR>
96 <DL>
97 <DT><PRE>public final class <B>RenderingUtils</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
98 </PRE>
99
100 <P>
101 Provides convenience behavior used by the JGoodies Looks.<p>
102
103 <strong>Note:</strong> This class is not part of the public Looks API.
104 It should be treated as library internal and should not be used by
105 API users. It may be removed or changed with the Looks version
106 without further notice.
107 <P>
108
109 <P>
110 <DL>
111 <DT><B>Since:</B></DT>
112 <DD>2.0</DD>
113 <DT><B>Version:</B></DT>
114 <DD>$Revision: 1.6 $</DD>
115 <DT><B>Author:</B></DT>
116 <DD>Karsten Lentzsch, Andrej Golovnin</DD>
117 </DL>
118 <HR>
119
120 <P>
121
122 <!-- ========== METHOD SUMMARY =========== -->
123
124 <A NAME="method_summary"><!-- --></A>
125 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
127 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
128 <B>Method Summary</B></FONT></TH>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE>static&nbsp;void</CODE></FONT></TD>
133 <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/RenderingUtils.html#drawStringUnderlineCharAt(javax.swing.JComponent, java.awt.Graphics, java.lang.String, int, int, int)">drawStringUnderlineCharAt</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;c,
134 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g,
135 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;text,
136 int&nbsp;underlinedIndex,
137 int&nbsp;x,
138 int&nbsp;y)</CODE>
139
140 <BR>
141 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Draws the string at the specified location underlining the specified
142 character.</TD>
143 </TR>
144 </TABLE>
145 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
146 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
148 <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>
149 </TR>
150 <TR BGCOLOR="white" CLASS="TableRowColor">
151 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#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#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>
152 </TR>
153 </TABLE>
154 &nbsp;
155 <P>
156
157 <!-- ============ METHOD DETAIL ========== -->
158
159 <A NAME="method_detail"><!-- --></A>
160 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
163 <B>Method Detail</B></FONT></TH>
164 </TR>
165 </TABLE>
166
167 <A NAME="drawStringUnderlineCharAt(javax.swing.JComponent, java.awt.Graphics, java.lang.String, int, int, int)"><!-- --></A><H3>
168 drawStringUnderlineCharAt</H3>
169 <PRE>
170 public static void <B>drawStringUnderlineCharAt</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;c,
171 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html" title="class or interface in java.awt">Graphics</A>&nbsp;g,
172 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;text,
173 int&nbsp;underlinedIndex,
174 int&nbsp;x,
175 int&nbsp;y)</PRE>
176 <DL>
177 <DD>Draws the string at the specified location underlining the specified
178 character.
179 <P>
180 <DD><DL>
181 <DT><B>Parameters:</B><DD><CODE>c</CODE> - JComponent that will display the string, may be null<DD><CODE>g</CODE> - Graphics to draw the text to<DD><CODE>text</CODE> - String to display<DD><CODE>underlinedIndex</CODE> - Index of a character in the string to underline<DD><CODE>x</CODE> - X coordinate to draw the text at<DD><CODE>y</CODE> - Y coordinate to draw the text at</DL>
182 </DD>
183 </DL>
184 <!-- ========= END OF CLASS DATA ========= -->
185 <HR>
186
187
188 <!-- ======= START OF BOTTOM NAVBAR ====== -->
189 <A NAME="navbar_bottom"><!-- --></A>
190 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
191 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
192 <TR>
193 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
194 <A NAME="navbar_bottom_firstrow"><!-- --></A>
195 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
196 <TR ALIGN="center" VALIGN="top">
197 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
198 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
199 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
200 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RenderingUtils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
202 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
203 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
204 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
205 </TR>
206 </TABLE>
207 </TD>
208 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
209 </EM>
210 </TD>
211 </TR>
212
213 <TR>
214 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
215 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/MinimumSizedIcon.html" title="class in com.jgoodies.looks.common"><B>PREV CLASS</B></A>&nbsp;
216 &nbsp;<A HREF="../../../../com/jgoodies/looks/common/ShadowPopup.html" title="class in com.jgoodies.looks.common"><B>NEXT CLASS</B></A></FONT></TD>
217 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
218 <A HREF="../../../../index.html?com/jgoodies/looks/common/RenderingUtils.html" target="_top"><B>FRAMES</B></A> &nbsp;
219 &nbsp;<A HREF="RenderingUtils.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
220 &nbsp;<SCRIPT type="text/javascript">
221 <!--
222 if(window==top) {
223 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
224 }
225 //-->
226 </SCRIPT>
227 <NOSCRIPT>
228 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
229 </NOSCRIPT>
230
231
232 </FONT></TD>
233 </TR>
234 <TR>
235 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
236 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
237 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
238 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
239 </TR>
240 </TABLE>
241 <A NAME="skip-navbar_bottom"></A>
242 <!-- ======== END OF BOTTOM NAVBAR ======= -->
243
244 <HR>
245 Copyright &#169; 2001-2006 JGoodies Karsten Lentzsch. All Rights Reserved.
246 </BODY>
247 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26