PageRenderTime 138ms CodeModel.GetById 72ms app.highlight 51ms RepoModel.GetById 1ms app.codeStats 1ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/GUIUtilities.html

#
HTML | 1380 lines | 1243 code | 128 blank | 9 comment | 0 complexity | 2992e4263529016276b5b44c625bf219 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

  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_14) on Tue Jul 22 07:13:45 GMT-08:00 2008 -->
  6<TITLE>
  7GUIUtilities (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.GUIUtilities class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/GUIUtilities.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../org/gjt/sp/jedit/EditServer.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../org/gjt/sp/jedit/IPropertyManager.html" title="interface in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../index.html?org/gjt/sp/jedit/GUIUtilities.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="GUIUtilities.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit</FONT>
 78<BR>
 79Class GUIUtilities</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.GUIUtilities</B>
 83</PRE>
 84<HR>
 85<DL>
 86<DT><PRE>public class <B>GUIUtilities</B><DT>extends java.lang.Object</DL>
 87</PRE>
 88
 89<P>
 90Various GUI functions.<p>
 91
 92 The most frequently used members of this class are:
 93
 94 <ul>
 95 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadIcon(java.lang.String)"><CODE>loadIcon(String)</CODE></A></li>
 96 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#confirm(java.awt.Component, java.lang.String, java.lang.Object[], int, int)"><CODE>confirm(Component,String,Object[],int,int)</CODE></A></li>
 97 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#error(java.awt.Component, java.lang.String, java.lang.Object[])"><CODE>error(Component,String,Object[])</CODE></A></li>
 98 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#message(java.awt.Component, java.lang.String, java.lang.Object[])"><CODE>message(Component,String,Object[])</CODE></A></li>
 99
100 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(org.gjt.sp.jedit.View, java.lang.String, int, boolean)"><CODE>showVFSFileDialog(View,String,int,boolean)</CODE></A></li>
101 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadGeometry(java.awt.Window, java.lang.String)"><CODE>loadGeometry(Window,String)</CODE></A></li>
102 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#saveGeometry(java.awt.Window, java.lang.String)"><CODE>saveGeometry(Window,String)</CODE></A></li>
103 <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showPopupMenu(javax.swing.JPopupMenu, java.awt.Component, int, int)"><CODE>showPopupMenu(JPopupMenu,Component,int,int)</CODE></A></li>
104 </ul>
105<P>
106
107<P>
108<HR>
109
110<P>
111<!-- =========== FIELD SUMMARY =========== -->
112
113<A NAME="field_summary"><!-- --></A>
114<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
115<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
116<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
117<B>Field Summary</B></FONT></TH>
118</TR>
119<TR BGCOLOR="white" CLASS="TableRowColor">
120<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
121<CODE>static&nbsp;javax.swing.Icon</CODE></FONT></TD>
122<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#DIRTY_BUFFER_ICON">DIRTY_BUFFER_ICON</A></B></CODE>
123
124<BR>
125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("dirty.gif");</code>
126 instead.</I></TD>
127</TR>
128<TR BGCOLOR="white" CLASS="TableRowColor">
129<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130<CODE>static&nbsp;javax.swing.Icon</CODE></FONT></TD>
131<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#NEW_BUFFER_ICON">NEW_BUFFER_ICON</A></B></CODE>
132
133<BR>
134&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("new.gif");</code>
135 instead.</I></TD>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139<CODE>static&nbsp;javax.swing.Icon</CODE></FONT></TD>
140<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#NORMAL_BUFFER_ICON">NORMAL_BUFFER_ICON</A></B></CODE>
141
142<BR>
143&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("normal.gif");</code>
144 instead.</I></TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148<CODE>static&nbsp;javax.swing.Icon</CODE></FONT></TD>
149<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#READ_ONLY_BUFFER_ICON">READ_ONLY_BUFFER_ICON</A></B></CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("readonly.gif");</code>
153 instead.</I></TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>static&nbsp;javax.swing.Icon</CODE></FONT></TD>
158<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#WINDOW_ICON">WINDOW_ICON</A></B></CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("jedit-icon.gif");</code>
162 instead.</I></TD>
163</TR>
164</TABLE>
165&nbsp;
166<!-- ========== METHOD SUMMARY =========== -->
167
168<A NAME="method_summary"><!-- --></A>
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
172<B>Method Summary</B></FONT></TH>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>static&nbsp;void</CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#addSizeSaver(java.awt.Frame, java.awt.Container, java.lang.String)">addSizeSaver</A></B>(java.awt.Frame&nbsp;frame,
178             java.awt.Container&nbsp;parent,
179             java.lang.String&nbsp;name)</CODE>
180
181<BR>
182&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a SizeSaver to the specified Frame.</TD>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186<CODE>static&nbsp;void</CODE></FONT></TD>
187<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#addSizeSaver(java.awt.Frame, java.lang.String)">addSizeSaver</A></B>(java.awt.Frame&nbsp;frame,
188             java.lang.String&nbsp;name)</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a SizeSaver to the specified Frame.</TD>
192</TR>
193<TR BGCOLOR="white" CLASS="TableRowColor">
194<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195<CODE>static&nbsp;void</CODE></FONT></TD>
196<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#adjustForScreenBounds(java.awt.Rectangle)">adjustForScreenBounds</A></B>(java.awt.Rectangle&nbsp;desired)</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gives a rectangle the specified bounds, ensuring it is within the
200 screen bounds.</TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>static&nbsp;void</CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#centerOnScreen(java.awt.Window)">centerOnScreen</A></B>(java.awt.Window&nbsp;win)</CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <CODE>Window.setLocationRelativeTo(java.awt.Component)</CODE></I></TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>static&nbsp;int</CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#confirm(java.awt.Component, java.lang.String, java.lang.Object[], int, int)">confirm</A></B>(java.awt.Component&nbsp;comp,
214        java.lang.String&nbsp;name,
215        java.lang.Object[]&nbsp;args,
216        int&nbsp;buttons,
217        int&nbsp;type)</CODE>
218
219<BR>
220&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a confirm dialog box and returns the button pushed by the
221 user.</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>static&nbsp;javax.swing.JComponent</CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#createMultilineLabel(java.lang.String)">createMultilineLabel</A></B>(java.lang.String&nbsp;str)</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a component that displays a multiple line message.</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>static&nbsp;void</CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#error(java.awt.Component, java.lang.String, java.lang.Object[])">error</A></B>(java.awt.Component&nbsp;comp,
235      java.lang.String&nbsp;name,
236      java.lang.Object[]&nbsp;args)</CODE>
237
238<BR>
239&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays an error dialog box.</TD>
240</TR>
241<TR BGCOLOR="white" CLASS="TableRowColor">
242<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
244<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getColorHexString(java.awt.Color)">getColorHexString</A></B>(java.awt.Color&nbsp;c)</CODE>
245
246<BR>
247&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#parseStyle(java.lang.String, java.lang.String, int, boolean)"><CODE>SyntaxUtilities.parseStyle(String,String,int,boolean)</CODE></A></I></TD>
248</TR>
249<TR BGCOLOR="white" CLASS="TableRowColor">
250<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251<CODE>static&nbsp;java.awt.Component</CODE></FONT></TD>
252<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getComponentParent(java.awt.Component, java.lang.Class)">getComponentParent</A></B>(java.awt.Component&nbsp;comp,
253                   java.lang.Class&nbsp;clazz)</CODE>
254
255<BR>
256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds a parent of the specified component.</TD>
257</TR>
258<TR BGCOLOR="white" CLASS="TableRowColor">
259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260<CODE>static&nbsp;java.awt.Image</CODE></FONT></TD>
261<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getEditorIcon()">getEditorIcon</A></B>()</CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default editor window image.</TD>
265</TR>
266<TR BGCOLOR="white" CLASS="TableRowColor">
267<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268<CODE>static&nbsp;javax.swing.JDialog</CODE></FONT></TD>
269<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getParentDialog(java.awt.Component)">getParentDialog</A></B>(java.awt.Component&nbsp;c)</CODE>
270
271<BR>
272&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Traverses the given component's parent tree looking for an
273 instance of JDialog, and return it.</TD>
274</TR>
275<TR BGCOLOR="white" CLASS="TableRowColor">
276<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
277<CODE>static&nbsp;java.awt.Image</CODE></FONT></TD>
278<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getPluginIcon()">getPluginIcon</A></B>()</CODE>
279
280<BR>
281&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default plugin window image.</TD>
282</TR>
283<TR BGCOLOR="white" CLASS="TableRowColor">
284<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
285<CODE>static&nbsp;java.util.List&lt;javax.swing.JMenuItem&gt;</CODE></FONT></TD>
286<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getServiceContextMenuItems(org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)">getServiceContextMenuItems</A></B>(<A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A>&nbsp;textArea,
287                           java.awt.event.MouseEvent&nbsp;evt)</CODE>
288
289<BR>
290&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
291</TR>
292<TR BGCOLOR="white" CLASS="TableRowColor">
293<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
295<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getShortcutLabel(java.lang.String)">getShortcutLabel</A></B>(java.lang.String&nbsp;action)</CODE>
296
297<BR>
298&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a label string to show users what shortcut are
299 assigned to the action.</TD>
300</TR>
301<TR BGCOLOR="white" CLASS="TableRowColor">
302<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
304<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getStyleString(org.gjt.sp.jedit.syntax.SyntaxStyle)">getStyleString</A></B>(<A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>&nbsp;style)</CODE>
305
306<BR>
307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a style into it's string representation.</TD>
308</TR>
309<TR BGCOLOR="white" CLASS="TableRowColor">
310<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
311<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A></CODE></FONT></TD>
312<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getView(java.awt.Component)">getView</A></B>(java.awt.Component&nbsp;comp)</CODE>
313
314<BR>
315&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds the view parent of the specified component.</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>static&nbsp;void</CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#hideSplashScreen()">hideSplashScreen</A></B>()</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ensures that the splash screen is not visible.</TD>
324</TR>
325<TR BGCOLOR="white" CLASS="TableRowColor">
326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
327<CODE>static&nbsp;void</CODE></FONT></TD>
328<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#initContinuousLayout(javax.swing.JSplitPane)">initContinuousLayout</A></B>(javax.swing.JSplitPane&nbsp;split)</CODE>
329
330<BR>
331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Init the continuous layout flag using the jEdit's property
332 appearance.continuousLayout</TD>
333</TR>
334<TR BGCOLOR="white" CLASS="TableRowColor">
335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
337<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#input(java.awt.Component, java.lang.String, java.lang.Object)">input</A></B>(java.awt.Component&nbsp;comp,
338      java.lang.String&nbsp;name,
339      java.lang.Object&nbsp;def)</CODE>
340
341<BR>
342&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays an input dialog box and returns any text the user entered.</TD>
343</TR>
344<TR BGCOLOR="white" CLASS="TableRowColor">
345<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
346<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
347<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#input(java.awt.Component, java.lang.String, java.lang.Object[], java.lang.Object)">input</A></B>(java.awt.Component&nbsp;comp,
348      java.lang.String&nbsp;name,
349      java.lang.Object[]&nbsp;args,
350      java.lang.Object&nbsp;def)</CODE>
351
352<BR>
353&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays an input dialog box and returns any text the user entered.</TD>
354</TR>
355<TR BGCOLOR="white" CLASS="TableRowColor">
356<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
357<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
358<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#inputProperty(java.awt.Component, java.lang.String, java.lang.Object[], java.lang.String)">inputProperty</A></B>(java.awt.Component&nbsp;comp,
359              java.lang.String&nbsp;name,
360              java.lang.Object[]&nbsp;args,
361              java.lang.String&nbsp;def)</CODE>
362
363<BR>
364&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays an input dialog box and returns any text the user entered.</TD>
365</TR>
366<TR BGCOLOR="white" CLASS="TableRowColor">
367<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
369<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#inputProperty(java.awt.Component, java.lang.String, java.lang.String)">inputProperty</A></B>(java.awt.Component&nbsp;comp,
370              java.lang.String&nbsp;name,
371              java.lang.String&nbsp;def)</CODE>
372
373<BR>
374&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays an input dialog box and returns any text the user entered.</TD>
375</TR>
376<TR BGCOLOR="white" CLASS="TableRowColor">
377<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378<CODE>static&nbsp;boolean</CODE></FONT></TD>
379<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isAncestorOf(java.awt.Component, java.awt.Component)">isAncestorOf</A></B>(java.awt.Component&nbsp;comp1,
380             java.awt.Component&nbsp;comp2)</CODE>
381
382<BR>
383&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the first component is an ancestor of the
384 second by traversing up the component hierarchy.</TD>
385</TR>
386<TR BGCOLOR="white" CLASS="TableRowColor">
387<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388<CODE>static&nbsp;boolean</CODE></FONT></TD>
389<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isMiddleButton(int)">isMiddleButton</A></B>(int&nbsp;modifiers)</CODE>
390
391<BR>
392&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
393</TR>
394<TR BGCOLOR="white" CLASS="TableRowColor">
395<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396<CODE>static&nbsp;boolean</CODE></FONT></TD>
397<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isPopupTrigger(java.awt.event.MouseEvent)">isPopupTrigger</A></B>(java.awt.event.MouseEvent&nbsp;evt)</CODE>
398
399<BR>
400&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns if the specified event is the popup trigger event.</TD>
401</TR>
402<TR BGCOLOR="white" CLASS="TableRowColor">
403<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404<CODE>static&nbsp;boolean</CODE></FONT></TD>
405<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isRightButton(int)">isRightButton</A></B>(int&nbsp;modifiers)</CODE>
406
407<BR>
408&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
409</TR>
410<TR BGCOLOR="white" CLASS="TableRowColor">
411<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412<CODE>static&nbsp;int</CODE></FONT></TD>
413<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#listConfirm(java.awt.Component, java.lang.String, java.lang.String[], java.lang.Object[])">listConfirm</A></B>(java.awt.Component&nbsp;comp,
414            java.lang.String&nbsp;name,
415            java.lang.String[]&nbsp;args,
416            java.lang.Object[]&nbsp;listModel)</CODE>
417
418<BR>
419&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a confirm dialog box and returns the button pushed by the
420 user.</TD>
421</TR>
422<TR BGCOLOR="white" CLASS="TableRowColor">
423<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
424<CODE>static&nbsp;int</CODE></FONT></TD>
425<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#listConfirm(java.awt.Component, java.lang.String, java.lang.String[], java.lang.Object[], java.util.List)">listConfirm</A></B>(java.awt.Component&nbsp;comp,
426            java.lang.String&nbsp;name,
427            java.lang.String[]&nbsp;args,
428            java.lang.Object[]&nbsp;listModel,
429            java.util.List&nbsp;selectedItems)</CODE>
430
431<BR>
432&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a confirm dialog box and returns the button pushed by the
433 user.</TD>
434</TR>
435<TR BGCOLOR="white" CLASS="TableRowColor">
436<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
437<CODE>static&nbsp;void</CODE></FONT></TD>
438<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadGeometry(java.awt.Window, java.awt.Container, java.lang.String)">loadGeometry</A></B>(java.awt.Window&nbsp;win,
439             java.awt.Container&nbsp;parent,
440             java.lang.String&nbsp;name)</CODE>
441
442<BR>
443&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a windows's geometry from the properties.</TD>
444</TR>
445<TR BGCOLOR="white" CLASS="TableRowColor">
446<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
447<CODE>static&nbsp;void</CODE></FONT></TD>
448<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadGeometry(java.awt.Window, java.lang.String)">loadGeometry</A></B>(java.awt.Window&nbsp;win,
449             java.lang.String&nbsp;name)</CODE>
450
451<BR>
452&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a windows's geometry from the properties.</TD>
453</TR>
454<TR BGCOLOR="white" CLASS="TableRowColor">
455<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
456<CODE>static&nbsp;javax.swing.Icon</CODE></FONT></TD>
457<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadIcon(java.lang.String)">loadIcon</A></B>(java.lang.String&nbsp;iconName)</CODE>
458
459<BR>
460&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads an icon.</TD>
461</TR>
462<TR BGCOLOR="white" CLASS="TableRowColor">
463<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
464<CODE>static&nbsp;javax.swing.JMenu</CODE></FONT></TD>
465<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadMenu</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
466         java.lang.String&nbsp;name)</CODE>
467
468<BR>
469&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menu.</TD>
470</TR>
471<TR BGCOLOR="white" CLASS="TableRowColor">
472<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
473<CODE>static&nbsp;javax.swing.JMenu</CODE></FONT></TD>
474<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenu(java.lang.String)">loadMenu</A></B>(java.lang.String&nbsp;name)</CODE>
475
476<BR>
477&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menu.</TD>
478</TR>
479<TR BGCOLOR="white" CLASS="TableRowColor">
480<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
481<CODE>static&nbsp;javax.swing.JMenuBar</CODE></FONT></TD>
482<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuBar(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadMenuBar</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
483            java.lang.String&nbsp;name)</CODE>
484
485<BR>
486&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menubar.</TD>
487</TR>
488<TR BGCOLOR="white" CLASS="TableRowColor">
489<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
490<CODE>static&nbsp;javax.swing.JMenuBar</CODE></FONT></TD>
491<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuBar(java.lang.String)">loadMenuBar</A></B>(java.lang.String&nbsp;name)</CODE>
492
493<BR>
494&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menubar.</TD>
495</TR>
496<TR BGCOLOR="white" CLASS="TableRowColor">
497<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
498<CODE>static&nbsp;javax.swing.JMenuItem</CODE></FONT></TD>
499<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(org.gjt.sp.jedit.ActionContext, java.lang.String, boolean)">loadMenuItem</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
500             java.lang.String&nbsp;name,
501             boolean&nbsp;setMnemonic)</CODE>
502
503<BR>
504&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menu item.</TD>
505</TR>
506<TR BGCOLOR="white" CLASS="TableRowColor">
507<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
508<CODE>static&nbsp;javax.swing.JMenuItem</CODE></FONT></TD>
509<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(org.gjt.sp.jedit.EditAction, boolean)">loadMenuItem</A></B>(<A HREF="../../../../org/gjt/sp/jedit/EditAction.html" title="class in org.gjt.sp.jedit">EditAction</A>&nbsp;editAction,
510             boolean&nbsp;setMnemonic)</CODE>
511
512<BR>
513&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
514</TR>
515<TR BGCOLOR="white" CLASS="TableRowColor">
516<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
517<CODE>static&nbsp;javax.swing.JMenuItem</CODE></FONT></TD>
518<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String)">loadMenuItem</A></B>(java.lang.String&nbsp;name)</CODE>
519
520<BR>
521&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menu item.</TD>
522</TR>
523<TR BGCOLOR="white" CLASS="TableRowColor">
524<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
525<CODE>static&nbsp;javax.swing.JMenuItem</CODE></FONT></TD>
526<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String, boolean)">loadMenuItem</A></B>(java.lang.String&nbsp;name,
527             boolean&nbsp;setMnemonic)</CODE>
528
529<BR>
530&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a menu item.</TD>
531</TR>
532<TR BGCOLOR="white" CLASS="TableRowColor">
533<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
534<CODE>static&nbsp;javax.swing.JPopupMenu</CODE></FONT></TD>
535<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadPopupMenu</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
536              java.lang.String&nbsp;name)</CODE>
537
538<BR>
539&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a popup menu.</TD>
540</TR>
541<TR BGCOLOR="white" CLASS="TableRowColor">
542<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
543<CODE>static&nbsp;javax.swing.JPopupMenu</CODE></FONT></TD>
544<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(org.gjt.sp.jedit.ActionContext, java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)">loadPopupMenu</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
545              java.lang.String&nbsp;name,
546              <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A>&nbsp;textArea,
547              java.awt.event.MouseEvent&nbsp;evt)</CODE>
548
549<BR>
550&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a popup menu.</TD>
551</TR>
552<TR BGCOLOR="white" CLASS="TableRowColor">
553<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
554<CODE>static&nbsp;javax.swing.JPopupMenu</CODE></FONT></TD>
555<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(java.lang.String)">loadPopupMenu</A></B>(java.lang.String&nbsp;name)</CODE>
556
557<BR>
558&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a popup menu.</TD>
559</TR>
560<TR BGCOLOR="white" CLASS="TableRowColor">
561<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
562<CODE>static&nbsp;javax.swing.JPopupMenu</CODE></FONT></TD>
563<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)">loadPopupMenu</A></B>(java.lang.String&nbsp;name,
564              <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A>&nbsp;textArea,
565              java.awt.event.MouseEvent&nbsp;evt)</CODE>
566
567<BR>
568&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a popup menu.</TD>
569</TR>
570<TR BGCOLOR="white" CLASS="TableRowColor">
571<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
572<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>[]</CODE></FONT></TD>
573<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadStyles(java.lang.String, int)">loadStyles</A></B>(java.lang.String&nbsp;family,
574           int&nbsp;size)</CODE>
575
576<BR>
577&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#loadStyles(java.lang.String, int)"><CODE>SyntaxUtilities.loadStyles(String,int)</CODE></A></I></TD>
578</TR>
579<TR BGCOLOR="white" CLASS="TableRowColor">
580<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
581<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>[]</CODE></FONT></TD>
582<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadStyles(java.lang.String, int, boolean)">loadStyles</A></B>(java.lang.String&nbsp;family,
583           int&nbsp;size,
584           boolean&nbsp;color)</CODE>
585
586<BR>
587&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#loadStyles(java.lang.String, int, boolean)"><CODE>SyntaxUtilities.loadStyles(String,int,boolean)</CODE></A></I></TD>
588</TR>
589<TR BGCOLOR="white" CLASS="TableRowColor">
590<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
591<CODE>static&nbsp;java.awt.Container</CODE></FONT></TD>
592<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolBar(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadToolBar</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
593            java.lang.String&nbsp;name)</CODE>
594
595<BR>
596&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a toolbar.</TD>
597</TR>
598<TR BGCOLOR="white" CLASS="TableRowColor">
599<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
600<CODE>static&nbsp;java.awt.Container</CODE></FONT></TD>
601<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolBar(java.lang.String)">loadToolBar</A></B>(java.lang.String&nbsp;name)</CODE>
602
603<BR>
604&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a toolbar.</TD>
605</TR>
606<TR BGCOLOR="white" CLASS="TableRowColor">
607<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
608<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/gui/EnhancedButton.html" title="class in org.gjt.sp.jedit.gui">EnhancedButton</A></CODE></FONT></TD>
609<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolButton(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadToolButton</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
610               java.lang.String&nbsp;name)</CODE>
611
612<BR>
613&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a tool bar button.</TD>
614</TR>
615<TR BGCOLOR="white" CLASS="TableRowColor">
616<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
617<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/gui/EnhancedButton.html" title="class in org.gjt.sp.jedit.gui">EnhancedButton</A></CODE></FONT></TD>
618<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolButton(java.lang.String)">loadToolButton</A></B>(java.lang.String&nbsp;name)</CODE>
619
620<BR>
621&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loads a tool bar button.</TD>
622</TR>
623<TR BGCOLOR="white" CLASS="TableRowColor">
624<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
625<CODE>static&nbsp;void</CODE></FONT></TD>
626<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#message(java.awt.Component, java.lang.String, java.lang.Object[])">message</A></B>(java.awt.Component&nbsp;comp,
627        java.lang.String&nbsp;name,
628        java.lang.Object[]&nbsp;args)</CODE>
629
630<BR>
631&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a dialog box.</TD>
632</TR>
633<TR BGCOLOR="white" CLASS="TableRowColor">
634<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
635<CODE>static&nbsp;java.awt.Color</CODE></FONT></TD>
636<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseColor(java.lang.String)">parseColor</A></B>(java.lang.String&nbsp;name)</CODE>
637
638<BR>
639&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a color name to a color object.</TD>
640</TR>
641<TR BGCOLOR="white" CLASS="TableRowColor">
642<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
643<CODE>static&nbsp;java.awt.Color</CODE></FONT></TD>
644<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseColor(java.lang.String, java.awt.Color)">parseColor</A></B>(java.lang.String&nbsp;name,
645           java.awt.Color&nbsp;defaultColor)</CODE>
646
647<BR>
648&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#parseColor(java.lang.String, java.awt.Color)"><CODE>SyntaxUtilities.parseColor(String,Color)</CODE></A></I></TD>
649</TR>
650<TR BGCOLOR="white" CLASS="TableRowColor">
651<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
652<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A></CODE></FONT></TD>
653<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseStyle(java.lang.String, java.lang.String, int)">parseStyle</A></B>(java.lang.String&nbsp;str,
654           java.lang.String&nbsp;family,
655           int&nbsp;size)</CODE>
656
657<BR>
658&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a style string to a style object.</TD>
659</TR>
660<TR BGCOLOR="white" CLASS="TableRowColor">
661<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
662<CODE>static&nbsp;<A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A></CODE></FONT></TD>
663<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseStyle(java.lang.String, java.lang.String, int, boolean)">parseStyle</A></B>(java.lang.String&nbsp;str,
664           java.lang.String&nbsp;family,
665           int&nbsp;size,
666           boolean&nbsp;color)</CODE>
667
668<BR>
669&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#parseStyle(java.lang.String, java.lang.String, int, boolean)"><CODE>SyntaxUtilities.parseStyle(String,String,int,boolean)</CODE></A></I></TD>
670</TR>
671<TR BGCOLOR="white" CLASS="TableRowColor">
672<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
673<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
674<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#prettifyMenuLabel(java.lang.String)">prettifyMenuLabel</A></B>(java.lang.String&nbsp;label)</CODE>
675
676<BR>
677&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`Prettifies' a menu item label by removing the `$' sign.</TD>
678</TR>
679<TR BGCOLOR="white" CLASS="TableRowColor">
680<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
681<CODE>static&nbsp;void</CODE></FONT></TD>
682<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#requestFocus(java.awt.Window, java.awt.Component)">requestFocus</A></B>(java.awt.Window&nbsp;win,
683             java.awt.Component&nbsp;comp)</CODE>
684
685<BR>
686&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Focuses on the specified component as soon as the window becomes
687 active.</TD>
688</TR>
689<TR BGCOLOR="white" CLASS="TableRowColor">
690<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
691<CODE>static&nbsp;void</CODE></FONT></TD>
692<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#saveGeometry(java.awt.Window, java.awt.Container, java.lang.String)">saveGeometry</A></B>(java.awt.Window&nbsp;win,
693             java.awt.Container&nbsp;parent,
694             java.lang.String&nbsp;name)</CODE>
695
696<BR>
697&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves a window's geometry to the properties.</TD>
698</TR>
699<TR BGCOLOR="white" CLASS="TableRowColor">
700<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
701<CODE>static&nbsp;void</CODE></FONT></TD>
702<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#saveGeometry(java.awt.Window, java.lang.String)">saveGeometry</A></B>(java.awt.Window&nbsp;win,
703             java.lang.String&nbsp;name)</CODE>
704
705<BR>
706&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves a window's geometry to the properties.</TD>
707</TR>
708<TR BGCOLOR="white" CLASS="TableRowColor">
709<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
710<CODE>static&nbsp;void</CODE></FONT></TD>
711<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#setIconPath(java.lang.String)">setIconPath</A></B>(java.lang.String&nbsp;iconPath)</CODE>
712
713<BR>
714&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the path where jEdit looks for icons.</TD>
715</TR>
716<TR BGCOLOR="white" CLASS="TableRowColor">
717<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
718<CODE>static&nbsp;void</CODE></FONT></TD>
719<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showPopupMenu(javax.swing.JPopupMenu, java.awt.Component, int, int)">showPopupMenu</A></B>(javax.swing.JPopupMenu&nbsp;popup,
720              java.awt.Component&nbsp;comp,
721              int&nbsp;x,
722              int&nbsp;y)</CODE>
723
724<BR>
725&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the specified popup menu, ensuring it is displayed within
726 the bounds of the screen.</TD>
727</TR>
728<TR BGCOLOR="white" CLASS="TableRowColor">
729<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
730<CODE>static&nbsp;void</CODE></FONT></TD>
731<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showPopupMenu(javax.swing.JPopupMenu, java.awt.Component, int, int, boolean)">showPopupMenu</A></B>(javax.swing.JPopupMenu&nbsp;popup,
732              java.awt.Component&nbsp;comp,
733              int&nbsp;x,
734              int&nbsp;y,
735              boolean&nbsp;point)</CODE>
736
737<BR>
738&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows the specified popup menu, ensuring it is displayed within
739 the bounds of the screen.</TD>
740</TR>
741<TR BGCOLOR="white" CLASS="TableRowColor">
742<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
743<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
744<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(java.awt.Dialog, org.gjt.sp.jedit.View, java.lang.String, int, boolean)">showVFSFileDialog</A></B>(java.awt.Dialog&nbsp;parent,
745                  <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
746                  java.lang.String&nbsp;path,
747                  int&nbsp;type,
748                  boolean&nbsp;multipleSelection)</CODE>
749
750<BR>
751&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a VFS file selection dialog box.</TD>
752</TR>
753<TR BGCOLOR="white" CLASS="TableRowColor">
754<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
755<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
756<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(java.awt.Frame, org.gjt.sp.jedit.View, java.lang.String, int, boolean)">showVFSFileDialog</A></B>(java.awt.Frame&nbsp;parent,
757                  <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
758                  java.lang.String&nbsp;path,
759                  int&nbsp;type,
760                  boolean&nbsp;multipleSelection)</CODE>
761
762<BR>
763&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a VFS file selection dialog box.</TD>
764</TR>
765<TR BGCOLOR="white" CLASS="TableRowColor">
766<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
767<CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
768<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(org.gjt.sp.jedit.View, java.lang.String, int, boolean)">showVFSFileDialog</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A>&nbsp;view,
769                  java.lang.String&nbsp;path,
770                  int&nbsp;type,
771                  boolean&nbsp;multipleSelection)</CODE>
772
773<BR>
774&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Displays a VFS file selection dialog box.</TD>
775</TR>
776</TABLE>
777&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
778<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
779<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
780<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
781</TR>
782<TR BGCOLOR="white" CLASS="TableRowColor">
783<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
784</TR>
785</TABLE>
786&nbsp;
787<P>
788
789<!-- ============ FIELD DETAIL =========== -->
790
791<A NAME="field_detail"><!-- --></A>
792<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
793<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
794<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
795<B>Field Detail</B></FONT></TH>
796</TR>
797</TABLE>
798
799<A NAME="NEW_BUFFER_ICON"><!-- --></A><H3>
800NEW_BUFFER_ICON</H3>
801<PRE>
802public static javax.swing.Icon <B>NEW_BUFFER_ICON</B></PRE>
803<DL>
804<DD><B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("new.gif");</code>
805 instead.</I><DL>
806</DL>
807</DL>
808<HR>
809
810<A NAME="DIRTY_BUFFER_ICON"><!-- --></A><H3>
811DIRTY_BUFFER_ICON</H3>
812<PRE>
813public static javax.swing.Icon <B>DIRTY_BUFFER_ICON</B></PRE>
814<DL>
815<DD><B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("dirty.gif");</code>
816 instead.</I><DL>
817</DL>
818</DL>
819<HR>
820
821<A NAME="READ_ONLY_BUFFER_ICON"><!-- --></A><H3>
822READ_ONLY_BUFFER_ICON</H3>
823<PRE>
824public static javax.swing.Icon <B>READ_ONLY_BUFFER_ICON</B></PRE>
825<DL>
826<DD><B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("readonly.gif");</code>
827 instead.</I><DL>
828</DL>
829</DL>
830<HR>
831
832<A NAME="NORMAL_BUFFER_ICON"><!-- --></A><H3>
833NORMAL_BUFFER_ICON</H3>
834<PRE>
835public static javax.swing.Icon <B>NORMAL_BUFFER_ICON</B></PRE>
836<DL>
837<DD><B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("normal.gif");</code>
838 instead.</I><DL>
839</DL>
840</DL>
841<HR>
842
843<A NAME="WINDOW_ICON"><!-- --></A><H3>
844WINDOW_ICON</H3>
845<PRE>
846public static javax.swing.Icon <B>WINDOW_ICON</B></PRE>
847<DL>
848<DD><B>Deprecated.</B>&nbsp;<I>Use <code>GUIUtilities.loadIcon("jedit-icon.gif");</code>
849 instead.</I><DL>
850</DL>
851</DL>
852
853<!-- ============ METHOD DETAIL ========== -->
854
855<A NAME="method_detail"><!-- --></A>
856<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
857<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
858<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
859<B>Method Detail</B></FONT></TH>
860</TR>
861</TABLE>
862
863<A NAME="setIconPath(java.lang.String)"><!-- --></A><H3>
864setIconPath</H3>
865<PRE>
866public static void <B>setIconPath</B>(java.lang.String&nbsp;iconPath)</PRE>
867<DL>
868<DD>Sets the path where jEdit looks for icons.
869<P>
870<DD><DL>
871<DT><B>Since:</B></DT>
872  <DD>jEdit 4.2pre5</DD>
873</DL>
874</DD>
875</DL>
876<HR>
877
878<A NAME="loadIcon(java.lang.String)"><!-- --></A><H3>
879loadIcon</H3>
880<PRE>
881public static javax.swing.Icon <B>loadIcon</B>(java.lang.String&nbsp;iconName)</PRE>
882<DL>
883<DD>Loads an icon.
884<P>
885<DD><DL>
886<DT><B>Parameters:</B><DD><CODE>iconName</CODE> - The icon name<DT><B>Since:</B></DT>
887  <DD>jEdit 2.6pre7</DD>
888</DL>
889</DD>
890</DL>
891<HR>
892
893<A NAME="getEditorIcon()"><!-- --></A><H3>
894getEditorIcon</H3>
895<PRE>
896public static java.awt.Image <B>getEditorIcon</B>()</PRE>
897<DL>
898<DD>Returns the default editor window image.
899<P>
900<DD><DL>
901</DL>
902</DD>
903</DL>
904<HR>
905
906<A NAME="getPluginIcon()"><!-- --></A><H3>
907getPluginIcon</H3>
908<PRE>
909public static java.awt.Image <B>getPluginIcon</B>()</PRE>
910<DL>
911<DD>Returns the default plugin window image.
912<P>
913<DD><DL>
914</DL>
915</DD>
916</DL>
917<HR>
918
919<A NAME="loadMenuBar(java.lang.String)"><!-- --></A><H3>
920loadMenuBar</H3>
921<PRE>
922public static javax.swing.JMenuBar <B>loadMenuBar</B>(java.lang.String&nbsp;name)</PRE>
923<DL>
924<DD>Creates a menubar. Plugins should not need to call this method.
925<P>
926<DD><DL>
927<DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu bar name<DT><B>Since:</B></DT>
928  <DD>jEdit 3.2pre5</DD>
929</DL>
930</DD>
931</DL>
932<HR>
933
934<A NAME="loadMenuBar(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
935loadMenuBar</H3>
936<PRE>
937public static javax.swing.JMenuBar <B>loadMenuBar</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
938                                               java.lang.String&nbsp;name)</PRE>
939<DL>
940<DD>Creates a menubar. Plugins should not need to call this method.
941<P>
942<DD><DL>
943<DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context<DD><CODE>name</CODE> - The menu bar name<DT><B>Since:</B></DT>
944  <DD>jEdit 4.2pre1</DD>
945</DL>
946</DD>
947</DL>
948<HR>
949
950<A NAME="loadMenu(java.lang.String)"><!-- --></A><H3>
951loadMenu</H3>
952<PRE>
953public static javax.swing.JMenu <B>loadMenu</B>(java.lang.String&nbsp;name)</PRE>
954<DL>
955<DD>Creates a menu. The menu label is set from the
956 <code><i>name</i>.label</code> property. The menu contents is taken
957 from the <code><i>name</i></code> property, which is a whitespace
958 separated list of action names. An action name of <code>-</code>
959 inserts a separator in the menu.
960<P>
961<DD><DL>
962<DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
963  <DD>jEdit 2.6pre2</DD>
964<DT><B>See Also:</B><DD><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String)"><CODE>loadMenuItem(String)</CODE></A></DL>
965</DD>
966</DL>
967<HR>
968
969<A NAME="loadMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
970loadMenu</H3>
971<PRE>
972public static javax.swing.JMenu <B>loadMenu</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A>&nbsp;context,
973                                         java.lang.String&nbsp;name)</PRE>
974<DL>
975<DD>Creates a menu. The menu label is set from the
976 <code><i>name</i>.label</code> property. The menu contents is taken
977 from the <code><i>name</i></code> property, which is a whitespace
978 separated list of action names. An action name of <code>-</code>
979 inserts a separator in the menu.
980<P>
981<DD><DL>
982<DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
983 <code>jEdit.getActionContext()</code> or
984 <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
985  <DD>jEdit 4.2pre1</DD>
986<DT><B>See Also:</B><DD><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String)"><CODE>loadMenuItem(String)</CODE></A></DL>
987</DD>
988</DL>
989<HR>
990
991<A NAME="loadPopupMenu(java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)"><!-- --></A><H3>
992loadPopupMenu</H3>
993<PRE>
994public static javax.swing.JPopupMenu <B>loadPopupMenu</B>(java.lang.String&nbsp;name,
995                                                   <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A>&nbsp;textArea,
996                                                   java.awt.event.MouseEvent&nbsp;

Large files files are truncated, but you can click here to view the full file