PageRenderTime 55ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
HTML | 856 lines | 766 code | 75 blank | 15 comment | 0 complexity | 51a2c396d0cae7d2bbd21ea98ef33e61 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:43 GMT-08:00 2008 -->
  6. <TITLE>
  7. AbstractOptionPane (jEdit API)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="org.gjt.sp.jedit.AbstractOptionPane 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/AbstractOptionPane.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/Abbrevs.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  42. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class 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/AbstractOptionPane.html" target="_top"><B>FRAMES</B></A> &nbsp;
  45. &nbsp;<A HREF="AbstractOptionPane.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;<A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&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;<A HREF="#constructor_detail">CONSTR</A>&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 AbstractOptionPane</H2>
  68. <PRE>
  69. java.lang.Object
  70. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
  71. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
  72. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
  73. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
  74. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.AbstractOptionPane</B>
  75. </PRE>
  76. <DL>
  77. <DT><B>All Implemented Interfaces:</B> <DD>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible, <A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit">OptionPane</A></DD>
  78. </DL>
  79. <DL>
  80. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/gjt/sp/jedit/options/AbbrevsOptionPane.html" title="class in org.gjt.sp.jedit.options">AbbrevsOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/gui/AbstractContextOptionPane.html" title="class in org.gjt.sp.jedit.gui">AbstractContextOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/AppearanceOptionPane.html" title="class in org.gjt.sp.jedit.options">AppearanceOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/BrowserColorsOptionPane.html" title="class in org.gjt.sp.jedit.options">BrowserColorsOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/BrowserOptionPane.html" title="class in org.gjt.sp.jedit.options">BrowserOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/BufferOptionPane.html" title="class in org.gjt.sp.jedit.options">BufferOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/DockingOptionPane.html" title="class in org.gjt.sp.jedit.options">DockingOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/EditingOptionPane.html" title="class in org.gjt.sp.jedit.options">EditingOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/EncodingsOptionPane.html" title="class in org.gjt.sp.jedit.options">EncodingsOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/FirewallOptionPane.html" title="class in org.gjt.sp.jedit.options">FirewallOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/GeneralOptionPane.html" title="class in org.gjt.sp.jedit.options">GeneralOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/GutterOptionPane.html" title="class in org.gjt.sp.jedit.options">GutterOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/MouseOptionPane.html" title="class in org.gjt.sp.jedit.options">MouseOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/PluginManagerOptionPane.html" title="class in org.gjt.sp.jedit.options">PluginManagerOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/PluginOptions.NoPluginsPane.html" title="class in org.gjt.sp.jedit.options">PluginOptions.NoPluginsPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/PrintOptionPane.html" title="class in org.gjt.sp.jedit.options">PrintOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/SaveBackupOptionPane.html" title="class in org.gjt.sp.jedit.options">SaveBackupOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/ShortcutsOptionPane.html" title="class in org.gjt.sp.jedit.options">ShortcutsOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/StatusBarOptionPane.html" title="class in org.gjt.sp.jedit.options">StatusBarOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/SyntaxHiliteOptionPane.html" title="class in org.gjt.sp.jedit.options">SyntaxHiliteOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/TextAreaOptionPane.html" title="class in org.gjt.sp.jedit.options">TextAreaOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/ToolBarOptionPane.html" title="class in org.gjt.sp.jedit.options">ToolBarOptionPane</A>, <A HREF="../../../../org/gjt/sp/jedit/options/ViewOptionPane.html" title="class in org.gjt.sp.jedit.options">ViewOptionPane</A></DD>
  81. </DL>
  82. <HR>
  83. <DL>
  84. <DT><PRE>public class <B>AbstractOptionPane</B><DT>extends javax.swing.JPanel<DT>implements <A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit">OptionPane</A></DL>
  85. </PRE>
  86. <P>
  87. The default implementation of the option pane interface.<p>
  88. See <A HREF="../../../../org/gjt/sp/jedit/EditPlugin.html" title="class in org.gjt.sp.jedit"><CODE>EditPlugin</CODE></A> for information on how jEdit obtains and constructs
  89. option pane instances.<p>
  90. Most option panes extend this implementation of <A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit"><CODE>OptionPane</CODE></A>, instead
  91. of implementing <A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit"><CODE>OptionPane</CODE></A> directly. This class provides a convenient
  92. default framework for laying out configuration options.<p>
  93. It is derived from Java's <code>JPanel</code> class and uses a
  94. <code>GridBagLayout</code> object for component management. Since
  95. <code>GridBagLayout</code> can be a bit cumbersome to use, this class
  96. contains shortcut methods to simplify layout:
  97. <ul>
  98. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component)"><CODE>addComponent(Component)</CODE></A></li>
  99. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.lang.String, java.awt.Component)"><CODE>addComponent(String,Component)</CODE></A></li>
  100. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.lang.String, java.awt.Component, int)"><CODE>addComponent(String,Component,int)</CODE></A></li>
  101. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component, java.awt.Component)"><CODE>addComponent(Component,Component)</CODE></A></li>
  102. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component, java.awt.Component, int)"><CODE>addComponent(Component,Component,int)</CODE></A></li>
  103. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator()"><CODE>addSeparator()</CODE></A></li>
  104. <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator(java.lang.String)"><CODE>addSeparator(String)</CODE></A></li>
  105. </ul>
  106. <P>
  107. <P>
  108. <DL>
  109. <DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.gjt.sp.jedit.AbstractOptionPane">Serialized Form</A></DL>
  110. <HR>
  111. <P>
  112. <!-- ======== NESTED CLASS SUMMARY ======== -->
  113. <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
  118. </TR>
  119. </TABLE>
  120. &nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JPanel"><!-- --></A>
  121. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  122. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  123. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JPanel</B></TH>
  124. </TR>
  125. <TR BGCOLOR="white" CLASS="TableRowColor">
  126. <TD><CODE>javax.swing.JPanel.AccessibleJPanel</CODE></TD>
  127. </TR>
  128. </TABLE>
  129. &nbsp;
  130. <A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
  131. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  132. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  133. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.JComponent</B></TH>
  134. </TR>
  135. <TR BGCOLOR="white" CLASS="TableRowColor">
  136. <TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
  137. </TR>
  138. </TABLE>
  139. &nbsp;
  140. <A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
  141. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  142. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  143. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
  144. </TR>
  145. <TR BGCOLOR="white" CLASS="TableRowColor">
  146. <TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
  147. </TR>
  148. </TABLE>
  149. &nbsp;
  150. <A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
  151. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  152. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  153. <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
  154. </TR>
  155. <TR BGCOLOR="white" CLASS="TableRowColor">
  156. <TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
  157. </TR>
  158. </TABLE>
  159. &nbsp;
  160. <!-- =========== FIELD SUMMARY =========== -->
  161. <A NAME="field_summary"><!-- --></A>
  162. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  163. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  164. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  165. <B>Field Summary</B></FONT></TH>
  166. </TR>
  167. <TR BGCOLOR="white" CLASS="TableRowColor">
  168. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  169. <CODE>protected &nbsp;java.awt.GridBagLayout</CODE></FONT></TD>
  170. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#gridBag">gridBag</A></B></CODE>
  171. <BR>
  172. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The layout manager.</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>protected &nbsp;boolean</CODE></FONT></TD>
  177. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#initialized">initialized</A></B></CODE>
  178. <BR>
  179. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Has the option pane been initialized?</TD>
  180. </TR>
  181. <TR BGCOLOR="white" CLASS="TableRowColor">
  182. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  183. <CODE>protected &nbsp;int</CODE></FONT></TD>
  184. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#y">y</A></B></CODE>
  185. <BR>
  186. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of components already added to the layout manager.</TD>
  187. </TR>
  188. </TABLE>
  189. &nbsp;<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
  190. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  191. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  192. <TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
  193. </TR>
  194. <TR BGCOLOR="white" CLASS="TableRowColor">
  195. <TD><CODE>accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
  196. </TR>
  197. </TABLE>
  198. &nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
  199. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  200. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  201. <TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
  202. </TR>
  203. <TR BGCOLOR="white" CLASS="TableRowColor">
  204. <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
  205. </TR>
  206. </TABLE>
  207. &nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
  208. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  209. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  210. <TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
  211. </TR>
  212. <TR BGCOLOR="white" CLASS="TableRowColor">
  213. <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
  214. </TR>
  215. </TABLE>
  216. &nbsp;
  217. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  218. <A NAME="constructor_summary"><!-- --></A>
  219. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  220. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  221. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  222. <B>Constructor Summary</B></FONT></TH>
  223. </TR>
  224. <TR BGCOLOR="white" CLASS="TableRowColor">
  225. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#AbstractOptionPane(java.lang.String)">AbstractOptionPane</A></B>(java.lang.String&nbsp;internalName)</CODE>
  226. <BR>
  227. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new option pane.</TD>
  228. </TR>
  229. </TABLE>
  230. &nbsp;
  231. <!-- ========== METHOD SUMMARY =========== -->
  232. <A NAME="method_summary"><!-- --></A>
  233. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  234. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  235. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  236. <B>Method Summary</B></FONT></TH>
  237. </TR>
  238. <TR BGCOLOR="white" CLASS="TableRowColor">
  239. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  240. <CODE>protected &nbsp;void</CODE></FONT></TD>
  241. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_init()">_init</A></B>()</CODE>
  242. <BR>
  243. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should create and arrange the components of the option pane
  244. and initialize the option data displayed to the user.</TD>
  245. </TR>
  246. <TR BGCOLOR="white" CLASS="TableRowColor">
  247. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  248. <CODE>protected &nbsp;void</CODE></FONT></TD>
  249. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_save()">_save</A></B>()</CODE>
  250. <BR>
  251. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when the options dialog's "ok" button is clicked.</TD>
  252. </TR>
  253. <TR BGCOLOR="white" CLASS="TableRowColor">
  254. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  255. <CODE>&nbsp;void</CODE></FONT></TD>
  256. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component)">addComponent</A></B>(java.awt.Component&nbsp;comp)</CODE>
  257. <BR>
  258. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a component to the option pane.</TD>
  259. </TR>
  260. <TR BGCOLOR="white" CLASS="TableRowColor">
  261. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  262. <CODE>&nbsp;void</CODE></FONT></TD>
  263. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component, java.awt.Component)">addComponent</A></B>(java.awt.Component&nbsp;comp1,
  264. java.awt.Component&nbsp;comp2)</CODE>
  265. <BR>
  266. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
  267. </TR>
  268. <TR BGCOLOR="white" CLASS="TableRowColor">
  269. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  270. <CODE>&nbsp;void</CODE></FONT></TD>
  271. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component, java.awt.Component, int)">addComponent</A></B>(java.awt.Component&nbsp;comp1,
  272. java.awt.Component&nbsp;comp2,
  273. int&nbsp;fill)</CODE>
  274. <BR>
  275. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
  276. </TR>
  277. <TR BGCOLOR="white" CLASS="TableRowColor">
  278. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  279. <CODE>&nbsp;void</CODE></FONT></TD>
  280. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component, int)">addComponent</A></B>(java.awt.Component&nbsp;comp,
  281. int&nbsp;fill)</CODE>
  282. <BR>
  283. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a component to the option pane.</TD>
  284. </TR>
  285. <TR BGCOLOR="white" CLASS="TableRowColor">
  286. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  287. <CODE>&nbsp;void</CODE></FONT></TD>
  288. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.lang.String, java.awt.Component)">addComponent</A></B>(java.lang.String&nbsp;label,
  289. java.awt.Component&nbsp;comp)</CODE>
  290. <BR>
  291. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
  292. </TR>
  293. <TR BGCOLOR="white" CLASS="TableRowColor">
  294. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  295. <CODE>&nbsp;void</CODE></FONT></TD>
  296. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.lang.String, java.awt.Component, int)">addComponent</A></B>(java.lang.String&nbsp;label,
  297. java.awt.Component&nbsp;comp,
  298. int&nbsp;fill)</CODE>
  299. <BR>
  300. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
  301. </TR>
  302. <TR BGCOLOR="white" CLASS="TableRowColor">
  303. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  304. <CODE>&nbsp;void</CODE></FONT></TD>
  305. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator()">addSeparator</A></B>()</CODE>
  306. <BR>
  307. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a separator component.</TD>
  308. </TR>
  309. <TR BGCOLOR="white" CLASS="TableRowColor">
  310. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  311. <CODE>&nbsp;void</CODE></FONT></TD>
  312. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator(java.lang.String)">addSeparator</A></B>(java.lang.String&nbsp;label)</CODE>
  313. <BR>
  314. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a separator component.</TD>
  315. </TR>
  316. <TR BGCOLOR="white" CLASS="TableRowColor">
  317. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  318. <CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
  319. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#getComponent()">getComponent</A></B>()</CODE>
  320. <BR>
  321. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the component that should be displayed for this option pane.</TD>
  322. </TR>
  323. <TR BGCOLOR="white" CLASS="TableRowColor">
  324. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  325. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  326. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#getName()">getName</A></B>()</CODE>
  327. <BR>
  328. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the internal name of this option pane.</TD>
  329. </TR>
  330. <TR BGCOLOR="white" CLASS="TableRowColor">
  331. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  332. <CODE>&nbsp;void</CODE></FONT></TD>
  333. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#init()">init</A></B>()</CODE>
  334. <BR>
  335. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do not override this method, override <A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_init()"><CODE>_init()</CODE></A> instead.</TD>
  336. </TR>
  337. <TR BGCOLOR="white" CLASS="TableRowColor">
  338. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  339. <CODE>&nbsp;javax.swing.JLabel</CODE></FONT></TD>
  340. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#newLabel(java.lang.String, java.awt.Component)">newLabel</A></B>(java.lang.String&nbsp;label,
  341. java.awt.Component&nbsp;comp)</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>&nbsp;void</CODE></FONT></TD>
  348. <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#save()">save</A></B>()</CODE>
  349. <BR>
  350. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do not override this method, override <A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_save()"><CODE>_save()</CODE></A> instead.</TD>
  351. </TR>
  352. </TABLE>
  353. &nbsp;<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
  354. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  355. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  356. <TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
  357. </TR>
  358. <TR BGCOLOR="white" CLASS="TableRowColor">
  359. <TD><CODE>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</CODE></TD>
  360. </TR>
  361. </TABLE>
  362. &nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
  363. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  364. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  365. <TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
  366. </TR>
  367. <TR BGCOLOR="white" CLASS="TableRowColor">
  368. <TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</CODE></TD>
  369. </TR>
  370. </TABLE>
  371. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
  372. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  373. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  374. <TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
  375. </TR>
  376. <TR BGCOLOR="white" CLASS="TableRowColor">
  377. <TD><CODE>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD>
  378. </TR>
  379. </TABLE>
  380. &nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
  381. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  382. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  383. <TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
  384. </TR>
  385. <TR BGCOLOR="white" CLASS="TableRowColor">
  386. <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD>
  387. </TR>
  388. </TABLE>
  389. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  390. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  391. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  392. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  393. </TR>
  394. <TR BGCOLOR="white" CLASS="TableRowColor">
  395. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
  396. </TR>
  397. </TABLE>
  398. &nbsp;
  399. <P>
  400. <!-- ============ FIELD DETAIL =========== -->
  401. <A NAME="field_detail"><!-- --></A>
  402. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  403. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  404. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  405. <B>Field Detail</B></FONT></TH>
  406. </TR>
  407. </TABLE>
  408. <A NAME="initialized"><!-- --></A><H3>
  409. initialized</H3>
  410. <PRE>
  411. protected boolean <B>initialized</B></PRE>
  412. <DL>
  413. <DD>Has the option pane been initialized?
  414. <P>
  415. <DL>
  416. </DL>
  417. </DL>
  418. <HR>
  419. <A NAME="gridBag"><!-- --></A><H3>
  420. gridBag</H3>
  421. <PRE>
  422. protected java.awt.GridBagLayout <B>gridBag</B></PRE>
  423. <DL>
  424. <DD>The layout manager.
  425. <P>
  426. <DL>
  427. </DL>
  428. </DL>
  429. <HR>
  430. <A NAME="y"><!-- --></A><H3>
  431. y</H3>
  432. <PRE>
  433. protected int <B>y</B></PRE>
  434. <DL>
  435. <DD>The number of components already added to the layout manager.
  436. <P>
  437. <DL>
  438. </DL>
  439. </DL>
  440. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  441. <A NAME="constructor_detail"><!-- --></A>
  442. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  443. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  444. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  445. <B>Constructor Detail</B></FONT></TH>
  446. </TR>
  447. </TABLE>
  448. <A NAME="AbstractOptionPane(java.lang.String)"><!-- --></A><H3>
  449. AbstractOptionPane</H3>
  450. <PRE>
  451. public <B>AbstractOptionPane</B>(java.lang.String&nbsp;internalName)</PRE>
  452. <DL>
  453. <DD>Creates a new option pane.
  454. <P>
  455. <DL>
  456. <DT><B>Parameters:</B><DD><CODE>internalName</CODE> - The internal name. The option pane's label is set to the
  457. value of the property named <code>options.<i>name</i>.label</code>.</DL>
  458. </DL>
  459. <!-- ============ METHOD DETAIL ========== -->
  460. <A NAME="method_detail"><!-- --></A>
  461. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  462. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  463. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  464. <B>Method Detail</B></FONT></TH>
  465. </TR>
  466. </TABLE>
  467. <A NAME="getName()"><!-- --></A><H3>
  468. getName</H3>
  469. <PRE>
  470. public java.lang.String <B>getName</B>()</PRE>
  471. <DL>
  472. <DD>Returns the internal name of this option pane. The option pane's label
  473. is set to the value of the property named
  474. <code>options.<i>name</i>.label</code>.
  475. <P>
  476. <DD><DL>
  477. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit">OptionPane</A></CODE><DT><B>Overrides:</B><DD><CODE>getName</CODE> in class <CODE>java.awt.Component</CODE></DL>
  478. </DD>
  479. <DD><DL>
  480. <DT><B>See Also:</B><DD><A HREF="../../../../org/gjt/sp/jedit/jEdit.html#getProperty(java.lang.String)"><CODE>jEdit.getProperty(String)</CODE></A></DL>
  481. </DD>
  482. </DL>
  483. <HR>
  484. <A NAME="getComponent()"><!-- --></A><H3>
  485. getComponent</H3>
  486. <PRE>
  487. public java.awt.Component <B>getComponent</B>()</PRE>
  488. <DL>
  489. <DD>Returns the component that should be displayed for this option pane.
  490. Because this class extends Component, it simply returns "this".
  491. <P>
  492. <DD><DL>
  493. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html#getComponent()">getComponent</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit">OptionPane</A></CODE></DL>
  494. </DD>
  495. <DD><DL>
  496. </DL>
  497. </DD>
  498. </DL>
  499. <HR>
  500. <A NAME="init()"><!-- --></A><H3>
  501. init</H3>
  502. <PRE>
  503. public void <B>init</B>()</PRE>
  504. <DL>
  505. <DD>Do not override this method, override <A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_init()"><CODE>_init()</CODE></A> instead.
  506. <P>
  507. <DD><DL>
  508. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html#init()">init</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit">OptionPane</A></CODE></DL>
  509. </DD>
  510. <DD><DL>
  511. </DL>
  512. </DD>
  513. </DL>
  514. <HR>
  515. <A NAME="save()"><!-- --></A><H3>
  516. save</H3>
  517. <PRE>
  518. public void <B>save</B>()</PRE>
  519. <DL>
  520. <DD>Do not override this method, override <A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_save()"><CODE>_save()</CODE></A> instead.
  521. <P>
  522. <DD><DL>
  523. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html#save()">save</A></CODE> in interface <CODE><A HREF="../../../../org/gjt/sp/jedit/OptionPane.html" title="interface in org.gjt.sp.jedit">OptionPane</A></CODE></DL>
  524. </DD>
  525. <DD><DL>
  526. </DL>
  527. </DD>
  528. </DL>
  529. <HR>
  530. <A NAME="newLabel(java.lang.String, java.awt.Component)"><!-- --></A><H3>
  531. newLabel</H3>
  532. <PRE>
  533. public javax.swing.JLabel <B>newLabel</B>(java.lang.String&nbsp;label,
  534. java.awt.Component&nbsp;comp)</PRE>
  535. <DL>
  536. <DD><DL>
  537. </DL>
  538. </DD>
  539. <DD><DL>
  540. <DT><B>Returns:</B><DD>a label which has the same tooltiptext as the Component
  541. that it is a label for. This is used to create labels from inside
  542. AbstractOptionPane.<DT><B>Since:</B></DT>
  543. <DD>jEdit 4.3pre4</DD>
  544. </DL>
  545. </DD>
  546. </DL>
  547. <HR>
  548. <A NAME="addComponent(java.lang.String, java.awt.Component)"><!-- --></A><H3>
  549. addComponent</H3>
  550. <PRE>
  551. public void <B>addComponent</B>(java.lang.String&nbsp;label,
  552. java.awt.Component&nbsp;comp)</PRE>
  553. <DL>
  554. <DD>Adds a labeled component to the option pane. Components are
  555. added in a vertical fashion, one per row. The label is
  556. displayed to the left of the component.
  557. <P>
  558. <DD><DL>
  559. </DL>
  560. </DD>
  561. <DD><DL>
  562. <DT><B>Parameters:</B><DD><CODE>label</CODE> - The label<DD><CODE>comp</CODE> - The component</DL>
  563. </DD>
  564. </DL>
  565. <HR>
  566. <A NAME="addComponent(java.lang.String, java.awt.Component, int)"><!-- --></A><H3>
  567. addComponent</H3>
  568. <PRE>
  569. public void <B>addComponent</B>(java.lang.String&nbsp;label,
  570. java.awt.Component&nbsp;comp,
  571. int&nbsp;fill)</PRE>
  572. <DL>
  573. <DD>Adds a labeled component to the option pane. Components are
  574. added in a vertical fashion, one per row. The label is
  575. displayed to the left of the component.
  576. <P>
  577. <DD><DL>
  578. </DL>
  579. </DD>
  580. <DD><DL>
  581. <DT><B>Parameters:</B><DD><CODE>label</CODE> - The label<DD><CODE>comp</CODE> - The component<DD><CODE>fill</CODE> - Fill parameter to GridBagConstraints for the right
  582. component</DL>
  583. </DD>
  584. </DL>
  585. <HR>
  586. <A NAME="addComponent(java.awt.Component, java.awt.Component)"><!-- --></A><H3>
  587. addComponent</H3>
  588. <PRE>
  589. public void <B>addComponent</B>(java.awt.Component&nbsp;comp1,
  590. java.awt.Component&nbsp;comp2)</PRE>
  591. <DL>
  592. <DD>Adds a labeled component to the option pane. Components are
  593. added in a vertical fashion, one per row. The label is
  594. displayed to the left of the component.
  595. <P>
  596. <DD><DL>
  597. </DL>
  598. </DD>
  599. <DD><DL>
  600. <DT><B>Parameters:</B><DD><CODE>comp1</CODE> - The label<DD><CODE>comp2</CODE> - The component<DT><B>Since:</B></DT>
  601. <DD>jEdit 4.1pre3</DD>
  602. </DL>
  603. </DD>
  604. </DL>
  605. <HR>
  606. <A NAME="addComponent(java.awt.Component, java.awt.Component, int)"><!-- --></A><H3>
  607. addComponent</H3>
  608. <PRE>
  609. public void <B>addComponent</B>(java.awt.Component&nbsp;comp1,
  610. java.awt.Component&nbsp;comp2,
  611. int&nbsp;fill)</PRE>
  612. <DL>
  613. <DD>Adds a labeled component to the option pane. Components are
  614. added in a vertical fashion, one per row. The label is
  615. displayed to the left of the component.
  616. <P>
  617. <DD><DL>
  618. </DL>
  619. </DD>
  620. <DD><DL>
  621. <DT><B>Parameters:</B><DD><CODE>comp1</CODE> - The label<DD><CODE>comp2</CODE> - The component<DD><CODE>fill</CODE> - Fill parameter to GridBagConstraints for the right
  622. component<DT><B>Since:</B></DT>
  623. <DD>jEdit 4.1pre3</DD>
  624. </DL>
  625. </DD>
  626. </DL>
  627. <HR>
  628. <A NAME="addComponent(java.awt.Component)"><!-- --></A><H3>
  629. addComponent</H3>
  630. <PRE>
  631. public void <B>addComponent</B>(java.awt.Component&nbsp;comp)</PRE>
  632. <DL>
  633. <DD>Adds a component to the option pane. Components are
  634. added in a vertical fashion, one per row.
  635. <P>
  636. <DD><DL>
  637. </DL>
  638. </DD>
  639. <DD><DL>
  640. <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component</DL>
  641. </DD>
  642. </DL>
  643. <HR>
  644. <A NAME="addComponent(java.awt.Component, int)"><!-- --></A><H3>
  645. addComponent</H3>
  646. <PRE>
  647. public void <B>addComponent</B>(java.awt.Component&nbsp;comp,
  648. int&nbsp;fill)</PRE>
  649. <DL>
  650. <DD>Adds a component to the option pane. Components are
  651. added in a vertical fashion, one per row.
  652. <P>
  653. <DD><DL>
  654. </DL>
  655. </DD>
  656. <DD><DL>
  657. <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component<DD><CODE>fill</CODE> - Fill parameter to GridBagConstraints<DT><B>Since:</B></DT>
  658. <DD>jEdit 4.2pre2</DD>
  659. </DL>
  660. </DD>
  661. </DL>
  662. <HR>
  663. <A NAME="addSeparator()"><!-- --></A><H3>
  664. addSeparator</H3>
  665. <PRE>
  666. public void <B>addSeparator</B>()</PRE>
  667. <DL>
  668. <DD>Adds a separator component.
  669. <P>
  670. <DD><DL>
  671. </DL>
  672. </DD>
  673. <DD><DL>
  674. <DT><B>Since:</B></DT>
  675. <DD>jEdit 4.1pre7</DD>
  676. </DL>
  677. </DD>
  678. </DL>
  679. <HR>
  680. <A NAME="addSeparator(java.lang.String)"><!-- --></A><H3>
  681. addSeparator</H3>
  682. <PRE>
  683. public void <B>addSeparator</B>(java.lang.String&nbsp;label)</PRE>
  684. <DL>
  685. <DD>Adds a separator component.
  686. <P>
  687. <DD><DL>
  688. </DL>
  689. </DD>
  690. <DD><DL>
  691. <DT><B>Parameters:</B><DD><CODE>label</CODE> - The separator label property<DT><B>Since:</B></DT>
  692. <DD>jEdit 2.6pre2</DD>
  693. </DL>
  694. </DD>
  695. </DL>
  696. <HR>
  697. <A NAME="_init()"><!-- --></A><H3>
  698. _init</H3>
  699. <PRE>
  700. protected void <B>_init</B>()</PRE>
  701. <DL>
  702. <DD>This method should create and arrange the components of the option pane
  703. and initialize the option data displayed to the user. This method
  704. is called when the option pane is first displayed, and is not
  705. called again for the lifetime of the object.
  706. <P>
  707. <DD><DL>
  708. </DL>
  709. </DD>
  710. <DD><DL>
  711. </DL>
  712. </DD>
  713. </DL>
  714. <HR>
  715. <A NAME="_save()"><!-- --></A><H3>
  716. _save</H3>
  717. <PRE>
  718. protected void <B>_save</B>()</PRE>
  719. <DL>
  720. <DD>Called when the options dialog's "ok" button is clicked.
  721. This should save any properties being edited in this option
  722. pane.
  723. <P>
  724. <DD><DL>
  725. </DL>
  726. </DD>
  727. <DD><DL>
  728. </DL>
  729. </DD>
  730. </DL>
  731. <!-- ========= END OF CLASS DATA ========= -->
  732. <HR>
  733. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  734. <A NAME="navbar_bottom"><!-- --></A>
  735. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  736. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  737. <TR>
  738. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  739. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  740. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  741. <TR ALIGN="center" VALIGN="top">
  742. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  743. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  744. <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  745. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractOptionPane.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  746. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  747. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  748. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  749. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  750. </TR>
  751. </TABLE>
  752. </TD>
  753. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  754. </EM>
  755. </TD>
  756. </TR>
  757. <TR>
  758. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  759. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/Abbrevs.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
  760. &nbsp;<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
  761. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  762. <A HREF="../../../../index.html?org/gjt/sp/jedit/AbstractOptionPane.html" target="_top"><B>FRAMES</B></A> &nbsp;
  763. &nbsp;<A HREF="AbstractOptionPane.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  764. &nbsp;
  765. <NOSCRIPT>
  766. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  767. </NOSCRIPT>
  768. </FONT></TD>
  769. </TR>
  770. <TR>
  771. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  772. SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  773. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  774. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  775. </TR>
  776. </TABLE>
  777. <A NAME="skip-navbar_bottom"></A>
  778. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  779. <HR>
  780. </BODY>
  781. </HTML>