PageRenderTime 58ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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