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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 724 by gregoa, Mon Feb 26 21:01:45 2007 UTC revision 725 by gregoa, Sat May 12 23:43:37 2007 UTC
# Line 2  Line 2 
2  <!--NewPage-->  <!--NewPage-->
3  <HTML>  <HTML>
4  <HEAD>  <HEAD>
5  <!-- Generated by javadoc (build 1.5.0_11) on Wed Feb 21 17:54:56 CET 2007 -->  <!-- Generated by javadoc (build 1.6.0_01) on Tue Apr 17 15:08:38 CEST 2007 -->
6  <TITLE>  <TITLE>
7  MenuItemRenderer (JGoodies Looks 2.1 API)  MenuItemRenderer (JGoodies Looks 2.1 API)
8  </TITLE>  </TITLE>
9    
10  <META NAME="keywords" CONTENT="com.jgoodies.looks.common.MenuItemRenderer class">  <META NAME="date" CONTENT="2007-04-17">
11    
12  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13    
14  <SCRIPT type="text/javascript">  <SCRIPT type="text/javascript">
15  function windowTitle()  function windowTitle()
16  {  {
17      parent.document.title="MenuItemRenderer (JGoodies Looks 2.1 API)";      if (location.href.indexOf('is-external=true') == -1) {
18            parent.document.title="MenuItemRenderer (JGoodies Looks 2.1 API)";
19        }
20  }  }
21  </SCRIPT>  </SCRIPT>
22  <NOSCRIPT>  <NOSCRIPT>
# Line 23  function windowTitle() Line 25  function windowTitle()
25  </HEAD>  </HEAD>
26    
27  <BODY BGCOLOR="white" onload="windowTitle();">  <BODY BGCOLOR="white" onload="windowTitle();">
28    <HR>
29    
30    
31  <!-- ========= START OF TOP NAVBAR ======= -->  <!-- ========= START OF TOP NAVBAR ======= -->
# Line 89  com.jgoodies.looks.common</FONT> Line 92  com.jgoodies.looks.common</FONT>
92  <BR>  <BR>
93  Class MenuItemRenderer</H2>  Class MenuItemRenderer</H2>
94  <PRE>  <PRE>
95  <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>  <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 "><B>com.jgoodies.looks.common.MenuItemRenderer</B>    <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.jgoodies.looks.common.MenuItemRenderer</B>
97  </PRE>  </PRE>
98  <HR>  <HR>
99  <DL>  <DL>
100  <DT><PRE>public class <B>MenuItemRenderer</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>  <DT><PRE>public class <B>MenuItemRenderer</B><DT>extends <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></DL>
101  </PRE>  </PRE>
102    
103  <P>  <P>
# Line 121  Renders and lays out menu items. Line 124  Renders and lays out menu items.
124  </TR>  </TR>
125  <TR BGCOLOR="white" CLASS="TableRowColor">  <TR BGCOLOR="white" CLASS="TableRowColor">
126  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
127  <CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>  <CODE>protected static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
128  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#HTML_KEY">HTML_KEY</A></B></CODE>  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#HTML_KEY">HTML_KEY</A></B></CODE>
129    
130  <BR>  <BR>
# Line 138  Renders and lays out menu items. Line 141  Renders and lays out menu items.
141  <B>Constructor Summary</B></FONT></TH>  <B>Constructor Summary</B></FONT></TH>
142  </TR>  </TR>
143  <TR BGCOLOR="white" CLASS="TableRowColor">  <TR BGCOLOR="white" CLASS="TableRowColor">
144  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#MenuItemRenderer(javax.swing.JMenuItem, boolean, java.awt.Font, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)">MenuItemRenderer</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JMenuItem.html" title="class or interface in javax.swing">JMenuItem</A>&nbsp;menuItem,  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#MenuItemRenderer(javax.swing.JMenuItem, boolean, java.awt.Font, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)">MenuItemRenderer</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JMenuItem.html?is-external=true" title="class or interface in javax.swing">JMenuItem</A>&nbsp;menuItem,
145                   boolean&nbsp;iconBorderEnabled,                   boolean&nbsp;iconBorderEnabled,
146                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt">Font</A>&nbsp;acceleratorFont,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</A>&nbsp;acceleratorFont,
147                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;selectionForeground,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;selectionForeground,
148                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;disabledForeground,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;disabledForeground,
149                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;acceleratorForeground,                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;acceleratorForeground,
150                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;acceleratorSelectionForeground)</CODE>                   <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;acceleratorSelectionForeground)</CODE>
151    
152  <BR>  <BR>
153  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a MenuItemRenderer for the specified menu item and settings.</TD>  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a MenuItemRenderer for the specified menu item and settings.</TD>
# Line 169  Renders and lays out menu items. Line 172  Renders and lays out menu items.
172  </TR>  </TR>
173  <TR BGCOLOR="white" CLASS="TableRowColor">  <TR BGCOLOR="white" CLASS="TableRowColor">
174  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175  <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html" title="class or interface in java.awt">Dimension</A></CODE></FONT></TD>  <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A></CODE></FONT></TD>
176  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#getPreferredMenuItemSize(javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int)">getPreferredMenuItemSize</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,  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#getPreferredMenuItemSize(javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int)">getPreferredMenuItemSize</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;c,
177                           <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;checkIcon,                           <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;checkIcon,
178                           <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;arrowIcon,                           <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;arrowIcon,
179                           int&nbsp;defaultTextIconGap)</CODE>                           int&nbsp;defaultTextIconGap)</CODE>
180    
181  <BR>  <BR>
# Line 189  Renders and lays out menu items. Line 192  Renders and lays out menu items.
192  <TR BGCOLOR="white" CLASS="TableRowColor">  <TR BGCOLOR="white" CLASS="TableRowColor">
193  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194  <CODE>&nbsp;void</CODE></FONT></TD>  <CODE>&nbsp;void</CODE></FONT></TD>
195  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#paintMenuItem(java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int)">paintMenuItem</A></B>(<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,  <TD><CODE><B><A HREF="../../../../com/jgoodies/looks/common/MenuItemRenderer.html#paintMenuItem(java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int)">paintMenuItem</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g,
196                <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,                <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;c,
197                <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;checkIcon,                <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;checkIcon,
198                <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;arrowIcon,                <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;arrowIcon,
199                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;background,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;background,
200                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;foreground,                <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;foreground,
201                int&nbsp;defaultTextIconGap)</CODE>                int&nbsp;defaultTextIconGap)</CODE>
202    
203  <BR>  <BR>
# Line 204  Renders and lays out menu items. Line 207  Renders and lays out menu items.
207  &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>  &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
208  <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">  <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209  <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">  <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210  <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>  <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>
211  </TR>  </TR>
212  <TR BGCOLOR="white" CLASS="TableRowColor">  <TR BGCOLOR="white" CLASS="TableRowColor">
213  <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>  <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
214  </TR>  </TR>
215  </TABLE>  </TABLE>
216  &nbsp;  &nbsp;
# Line 226  Renders and lays out menu items. Line 229  Renders and lays out menu items.
229  <A NAME="HTML_KEY"><!-- --></A><H3>  <A NAME="HTML_KEY"><!-- --></A><H3>
230  HTML_KEY</H3>  HTML_KEY</H3>
231  <PRE>  <PRE>
232  protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>HTML_KEY</B></PRE>  protected static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>HTML_KEY</B></PRE>
233  <DL>  <DL>
234  <DL>  <DL>
235  <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.jgoodies.looks.common.MenuItemRenderer.HTML_KEY">Constant Field Values</A></DL>  <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.jgoodies.looks.common.MenuItemRenderer.HTML_KEY">Constant Field Values</A></DL>
# Line 245  protected static final <A HREF="http://j Line 248  protected static final <A HREF="http://j
248  <A NAME="MenuItemRenderer(javax.swing.JMenuItem, boolean, java.awt.Font, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)"><!-- --></A><H3>  <A NAME="MenuItemRenderer(javax.swing.JMenuItem, boolean, java.awt.Font, java.awt.Color, java.awt.Color, java.awt.Color, java.awt.Color)"><!-- --></A><H3>
249  MenuItemRenderer</H3>  MenuItemRenderer</H3>
250  <PRE>  <PRE>
251  public <B>MenuItemRenderer</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JMenuItem.html" title="class or interface in javax.swing">JMenuItem</A>&nbsp;menuItem,  public <B>MenuItemRenderer</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JMenuItem.html?is-external=true" title="class or interface in javax.swing">JMenuItem</A>&nbsp;menuItem,
252                          boolean&nbsp;iconBorderEnabled,                          boolean&nbsp;iconBorderEnabled,
253                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html" title="class or interface in java.awt">Font</A>&nbsp;acceleratorFont,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Font.html?is-external=true" title="class or interface in java.awt">Font</A>&nbsp;acceleratorFont,
254                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;selectionForeground,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;selectionForeground,
255                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;disabledForeground,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;disabledForeground,
256                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;acceleratorForeground,                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;acceleratorForeground,
257                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;acceleratorSelectionForeground)</PRE>                          <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;acceleratorSelectionForeground)</PRE>
258  <DL>  <DL>
259  <DD>Constructs a MenuItemRenderer for the specified menu item and settings.  <DD>Constructs a MenuItemRenderer for the specified menu item and settings.
260  <P>  <P>
# Line 270  public <B>MenuItemRenderer</B>(<A HREF=" Line 273  public <B>MenuItemRenderer</B>(<A HREF="
273  <A NAME="getPreferredMenuItemSize(javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int)"><!-- --></A><H3>  <A NAME="getPreferredMenuItemSize(javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, int)"><!-- --></A><H3>
274  getPreferredMenuItemSize</H3>  getPreferredMenuItemSize</H3>
275  <PRE>  <PRE>
276  public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html" title="class or interface in java.awt">Dimension</A> <B>getPreferredMenuItemSize</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,  public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A> <B>getPreferredMenuItemSize</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;c,
277                                            <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;checkIcon,                                            <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;checkIcon,
278                                            <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;arrowIcon,                                            <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;arrowIcon,
279                                            int&nbsp;defaultTextIconGap)</PRE>                                            int&nbsp;defaultTextIconGap)</PRE>
280  <DL>  <DL>
281  <DD><DL>  <DD><DL>
# Line 284  public <A HREF="http://java.sun.com/j2se Line 287  public <A HREF="http://java.sun.com/j2se
287  <A NAME="paintMenuItem(java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int)"><!-- --></A><H3>  <A NAME="paintMenuItem(java.awt.Graphics, javax.swing.JComponent, javax.swing.Icon, javax.swing.Icon, java.awt.Color, java.awt.Color, int)"><!-- --></A><H3>
288  paintMenuItem</H3>  paintMenuItem</H3>
289  <PRE>  <PRE>
290  public void <B>paintMenuItem</B>(<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,  public void <B>paintMenuItem</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Graphics.html?is-external=true" title="class or interface in java.awt">Graphics</A>&nbsp;g,
291                            <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,                            <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;c,
292                            <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;checkIcon,                            <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;checkIcon,
293                            <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;arrowIcon,                            <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;arrowIcon,
294                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;background,                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;background,
295                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>&nbsp;foreground,                            <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;foreground,
296                            int&nbsp;defaultTextIconGap)</PRE>                            int&nbsp;defaultTextIconGap)</PRE>
297  <DL>  <DL>
298  <DD><DL>  <DD><DL>

Legend:
Removed from v.724  
changed lines
  Added in v.725

  ViewVC Help
Powered by ViewVC 1.1.26