PageRenderTime 165ms CodeModel.GetById 101ms app.highlight 50ms RepoModel.GetById 0ms app.codeStats 1ms

/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
  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>
  7AbstractOptionPane (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.AbstractOptionPane class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AbstractOptionPane.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../org/gjt/sp/jedit/Abbrevs.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../index.html?org/gjt/sp/jedit/AbstractOptionPane.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="AbstractOptionPane.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;<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>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&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>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.jedit</FONT>
 78<BR>
 79Class AbstractOptionPane</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.awt.Component
 83      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.awt.Container
 84          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">javax.swing.JComponent
 85              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">javax.swing.JPanel
 86                  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.AbstractOptionPane</B>
 87</PRE>
 88<DL>
 89<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>
 90</DL>
 91<DL>
 92<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>
 93</DL>
 94<HR>
 95<DL>
 96<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>
 97</PRE>
 98
 99<P>
100The default implementation of the option pane interface.<p>
101
102 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
103 option pane instances.<p>
104
105 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
106 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
107 default framework for laying out configuration options.<p>
108
109 It is derived from Java's <code>JPanel</code> class and uses a
110 <code>GridBagLayout</code> object for component management. Since
111 <code>GridBagLayout</code> can be a bit cumbersome to use, this class
112 contains shortcut methods to simplify layout:
113
114 <ul>
115 <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component)"><CODE>addComponent(Component)</CODE></A></li>
116 <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.lang.String, java.awt.Component)"><CODE>addComponent(String,Component)</CODE></A></li>
117 <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>
118 <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component, java.awt.Component)"><CODE>addComponent(Component,Component)</CODE></A></li>
119 <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>
120 <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator()"><CODE>addSeparator()</CODE></A></li>
121 <li><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator(java.lang.String)"><CODE>addSeparator(String)</CODE></A></li>
122 </ul>
123<P>
124
125<P>
126<DL>
127<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.gjt.sp.jedit.AbstractOptionPane">Serialized Form</A></DL>
128<HR>
129
130<P>
131<!-- ======== NESTED CLASS SUMMARY ======== -->
132
133<A NAME="nested_class_summary"><!-- --></A>
134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137<B>Nested Class Summary</B></FONT></TH>
138</TR>
139</TABLE>
140&nbsp;<A NAME="nested_classes_inherited_from_class_javax.swing.JPanel"><!-- --></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 javax.swing.JPanel</B></TH>
144</TR>
145<TR BGCOLOR="white" CLASS="TableRowColor">
146<TD><CODE>javax.swing.JPanel.AccessibleJPanel</CODE></TD>
147</TR>
148</TABLE>
149&nbsp;
150<A NAME="nested_classes_inherited_from_class_javax.swing.JComponent"><!-- --></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 javax.swing.JComponent</B></TH>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD><CODE>javax.swing.JComponent.AccessibleJComponent</CODE></TD>
157</TR>
158</TABLE>
159&nbsp;
160<A NAME="nested_classes_inherited_from_class_java.awt.Container"><!-- --></A>
161<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
162<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
163<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Container</B></TH>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD><CODE>java.awt.Container.AccessibleAWTContainer</CODE></TD>
167</TR>
168</TABLE>
169&nbsp;
170<A NAME="nested_classes_inherited_from_class_java.awt.Component"><!-- --></A>
171<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
172<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
173<TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.Component</B></TH>
174</TR>
175<TR BGCOLOR="white" CLASS="TableRowColor">
176<TD><CODE>java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy</CODE></TD>
177</TR>
178</TABLE>
179&nbsp;
180<!-- =========== FIELD SUMMARY =========== -->
181
182<A NAME="field_summary"><!-- --></A>
183<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
184<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
185<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
186<B>Field Summary</B></FONT></TH>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>protected &nbsp;java.awt.GridBagLayout</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#gridBag">gridBag</A></B></CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The layout manager.</TD>
195</TR>
196<TR BGCOLOR="white" CLASS="TableRowColor">
197<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
198<CODE>protected &nbsp;boolean</CODE></FONT></TD>
199<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#initialized">initialized</A></B></CODE>
200
201<BR>
202&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Has the option pane been initialized?</TD>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
206<CODE>protected &nbsp;int</CODE></FONT></TD>
207<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#y">y</A></B></CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of components already added to the layout manager.</TD>
211</TR>
212</TABLE>
213&nbsp;<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
214<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
215<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
216<TH ALIGN="left"><B>Fields inherited from class javax.swing.JComponent</B></TH>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD><CODE>accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</CODE></TD>
220</TR>
221</TABLE>
222&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
223<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
224<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
225<TH ALIGN="left"><B>Fields inherited from class java.awt.Component</B></TH>
226</TR>
227<TR BGCOLOR="white" CLASS="TableRowColor">
228<TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</CODE></TD>
229</TR>
230</TABLE>
231&nbsp;<A NAME="fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
232<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
233<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
234<TH ALIGN="left"><B>Fields inherited from interface java.awt.image.ImageObserver</B></TH>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></TD>
238</TR>
239</TABLE>
240&nbsp;
241<!-- ======== CONSTRUCTOR SUMMARY ======== -->
242
243<A NAME="constructor_summary"><!-- --></A>
244<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
245<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
246<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
247<B>Constructor Summary</B></FONT></TH>
248</TR>
249<TR BGCOLOR="white" CLASS="TableRowColor">
250<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#AbstractOptionPane(java.lang.String)">AbstractOptionPane</A></B>(java.lang.String&nbsp;internalName)</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new option pane.</TD>
254</TR>
255</TABLE>
256&nbsp;
257<!-- ========== METHOD SUMMARY =========== -->
258
259<A NAME="method_summary"><!-- --></A>
260<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
261<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
262<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
263<B>Method Summary</B></FONT></TH>
264</TR>
265<TR BGCOLOR="white" CLASS="TableRowColor">
266<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
267<CODE>protected &nbsp;void</CODE></FONT></TD>
268<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_init()">_init</A></B>()</CODE>
269
270<BR>
271&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method should create and arrange the components of the option pane
272 and initialize the option data displayed to the user.</TD>
273</TR>
274<TR BGCOLOR="white" CLASS="TableRowColor">
275<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276<CODE>protected &nbsp;void</CODE></FONT></TD>
277<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_save()">_save</A></B>()</CODE>
278
279<BR>
280&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called when the options dialog's "ok" button is clicked.</TD>
281</TR>
282<TR BGCOLOR="white" CLASS="TableRowColor">
283<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284<CODE>&nbsp;void</CODE></FONT></TD>
285<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addComponent(java.awt.Component)">addComponent</A></B>(java.awt.Component&nbsp;comp)</CODE>
286
287<BR>
288&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a component to the option pane.</TD>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>&nbsp;void</CODE></FONT></TD>
293<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,
294             java.awt.Component&nbsp;comp2)</CODE>
295
296<BR>
297&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
298</TR>
299<TR BGCOLOR="white" CLASS="TableRowColor">
300<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301<CODE>&nbsp;void</CODE></FONT></TD>
302<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,
303             java.awt.Component&nbsp;comp2,
304             int&nbsp;fill)</CODE>
305
306<BR>
307&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</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#addComponent(java.awt.Component, int)">addComponent</A></B>(java.awt.Component&nbsp;comp,
313             int&nbsp;fill)</CODE>
314
315<BR>
316&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a component to the option pane.</TD>
317</TR>
318<TR BGCOLOR="white" CLASS="TableRowColor">
319<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320<CODE>&nbsp;void</CODE></FONT></TD>
321<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,
322             java.awt.Component&nbsp;comp)</CODE>
323
324<BR>
325&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
326</TR>
327<TR BGCOLOR="white" CLASS="TableRowColor">
328<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
329<CODE>&nbsp;void</CODE></FONT></TD>
330<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,
331             java.awt.Component&nbsp;comp,
332             int&nbsp;fill)</CODE>
333
334<BR>
335&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a labeled component to the option pane.</TD>
336</TR>
337<TR BGCOLOR="white" CLASS="TableRowColor">
338<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339<CODE>&nbsp;void</CODE></FONT></TD>
340<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#addSeparator()">addSeparator</A></B>()</CODE>
341
342<BR>
343&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a separator component.</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#addSeparator(java.lang.String)">addSeparator</A></B>(java.lang.String&nbsp;label)</CODE>
349
350<BR>
351&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a separator component.</TD>
352</TR>
353<TR BGCOLOR="white" CLASS="TableRowColor">
354<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
355<CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
356<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#getComponent()">getComponent</A></B>()</CODE>
357
358<BR>
359&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the component that should be displayed for this option pane.</TD>
360</TR>
361<TR BGCOLOR="white" CLASS="TableRowColor">
362<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
363<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
364<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#getName()">getName</A></B>()</CODE>
365
366<BR>
367&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the internal name of this option pane.</TD>
368</TR>
369<TR BGCOLOR="white" CLASS="TableRowColor">
370<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
371<CODE>&nbsp;void</CODE></FONT></TD>
372<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#init()">init</A></B>()</CODE>
373
374<BR>
375&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>
376</TR>
377<TR BGCOLOR="white" CLASS="TableRowColor">
378<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
379<CODE>&nbsp;javax.swing.JLabel</CODE></FONT></TD>
380<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,
381         java.awt.Component&nbsp;comp)</CODE>
382
383<BR>
384&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
385</TR>
386<TR BGCOLOR="white" CLASS="TableRowColor">
387<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388<CODE>&nbsp;void</CODE></FONT></TD>
389<TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#save()">save</A></B>()</CODE>
390
391<BR>
392&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>
393</TR>
394</TABLE>
395&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JPanel"><!-- --></A>
396<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
397<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
398<TH ALIGN="left"><B>Methods inherited from class javax.swing.JPanel</B></TH>
399</TR>
400<TR BGCOLOR="white" CLASS="TableRowColor">
401<TD><CODE>getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI</CODE></TD>
402</TR>
403</TABLE>
404&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
405<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
406<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
407<TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH>
408</TR>
409<TR BGCOLOR="white" CLASS="TableRowColor">
410<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>
411</TR>
412</TABLE>
413&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
414<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
415<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
416<TH ALIGN="left"><B>Methods inherited from class java.awt.Container</B></TH>
417</TR>
418<TR BGCOLOR="white" CLASS="TableRowColor">
419<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>
420</TR>
421</TABLE>
422&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
423<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
424<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
425<TH ALIGN="left"><B>Methods inherited from class java.awt.Component</B></TH>
426</TR>
427<TR BGCOLOR="white" CLASS="TableRowColor">
428<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>
429</TR>
430</TABLE>
431&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
432<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
433<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
434<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
435</TR>
436<TR BGCOLOR="white" CLASS="TableRowColor">
437<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
438</TR>
439</TABLE>
440&nbsp;
441<P>
442
443<!-- ============ FIELD DETAIL =========== -->
444
445<A NAME="field_detail"><!-- --></A>
446<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
447<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
448<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
449<B>Field Detail</B></FONT></TH>
450</TR>
451</TABLE>
452
453<A NAME="initialized"><!-- --></A><H3>
454initialized</H3>
455<PRE>
456protected boolean <B>initialized</B></PRE>
457<DL>
458<DD>Has the option pane been initialized?
459<P>
460<DL>
461</DL>
462</DL>
463<HR>
464
465<A NAME="gridBag"><!-- --></A><H3>
466gridBag</H3>
467<PRE>
468protected java.awt.GridBagLayout <B>gridBag</B></PRE>
469<DL>
470<DD>The layout manager.
471<P>
472<DL>
473</DL>
474</DL>
475<HR>
476
477<A NAME="y"><!-- --></A><H3>
478y</H3>
479<PRE>
480protected int <B>y</B></PRE>
481<DL>
482<DD>The number of components already added to the layout manager.
483<P>
484<DL>
485</DL>
486</DL>
487
488<!-- ========= CONSTRUCTOR DETAIL ======== -->
489
490<A NAME="constructor_detail"><!-- --></A>
491<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
492<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
493<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
494<B>Constructor Detail</B></FONT></TH>
495</TR>
496</TABLE>
497
498<A NAME="AbstractOptionPane(java.lang.String)"><!-- --></A><H3>
499AbstractOptionPane</H3>
500<PRE>
501public <B>AbstractOptionPane</B>(java.lang.String&nbsp;internalName)</PRE>
502<DL>
503<DD>Creates a new option pane.
504<P>
505<DL>
506<DT><B>Parameters:</B><DD><CODE>internalName</CODE> - The internal name. The option pane's label is set to the
507 value of the property named <code>options.<i>name</i>.label</code>.</DL>
508</DL>
509
510<!-- ============ METHOD DETAIL ========== -->
511
512<A NAME="method_detail"><!-- --></A>
513<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
514<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
515<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
516<B>Method Detail</B></FONT></TH>
517</TR>
518</TABLE>
519
520<A NAME="getName()"><!-- --></A><H3>
521getName</H3>
522<PRE>
523public java.lang.String <B>getName</B>()</PRE>
524<DL>
525<DD>Returns the internal name of this option pane. The option pane's label
526 is set to the value of the property named
527 <code>options.<i>name</i>.label</code>.
528<P>
529<DD><DL>
530<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>
531</DD>
532<DD><DL>
533<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>
534</DD>
535</DL>
536<HR>
537
538<A NAME="getComponent()"><!-- --></A><H3>
539getComponent</H3>
540<PRE>
541public java.awt.Component <B>getComponent</B>()</PRE>
542<DL>
543<DD>Returns the component that should be displayed for this option pane.
544 Because this class extends Component, it simply returns "this".
545<P>
546<DD><DL>
547<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>
548</DD>
549<DD><DL>
550</DL>
551</DD>
552</DL>
553<HR>
554
555<A NAME="init()"><!-- --></A><H3>
556init</H3>
557<PRE>
558public void <B>init</B>()</PRE>
559<DL>
560<DD>Do not override this method, override <A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_init()"><CODE>_init()</CODE></A> instead.
561<P>
562<DD><DL>
563<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>
564</DD>
565<DD><DL>
566</DL>
567</DD>
568</DL>
569<HR>
570
571<A NAME="save()"><!-- --></A><H3>
572save</H3>
573<PRE>
574public void <B>save</B>()</PRE>
575<DL>
576<DD>Do not override this method, override <A HREF="../../../../org/gjt/sp/jedit/AbstractOptionPane.html#_save()"><CODE>_save()</CODE></A> instead.
577<P>
578<DD><DL>
579<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>
580</DD>
581<DD><DL>
582</DL>
583</DD>
584</DL>
585<HR>
586
587<A NAME="newLabel(java.lang.String, java.awt.Component)"><!-- --></A><H3>
588newLabel</H3>
589<PRE>
590public javax.swing.JLabel <B>newLabel</B>(java.lang.String&nbsp;label,
591                                   java.awt.Component&nbsp;comp)</PRE>
592<DL>
593<DD><DL>
594</DL>
595</DD>
596<DD><DL>
597
598<DT><B>Returns:</B><DD>a label which has the same tooltiptext as the Component
599    that it is a label for. This is used to create labels from inside
600    AbstractOptionPane.<DT><B>Since:</B></DT>
601  <DD>jEdit 4.3pre4</DD>
602</DL>
603</DD>
604</DL>
605<HR>
606
607<A NAME="addComponent(java.lang.String, java.awt.Component)"><!-- --></A><H3>
608addComponent</H3>
609<PRE>
610public void <B>addComponent</B>(java.lang.String&nbsp;label,
611                         java.awt.Component&nbsp;comp)</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>label</CODE> - The label<DD><CODE>comp</CODE> - The component</DL>
622</DD>
623</DL>
624<HR>
625
626<A NAME="addComponent(java.lang.String, java.awt.Component, int)"><!-- --></A><H3>
627addComponent</H3>
628<PRE>
629public void <B>addComponent</B>(java.lang.String&nbsp;label,
630                         java.awt.Component&nbsp;comp,
631                         int&nbsp;fill)</PRE>
632<DL>
633<DD>Adds a labeled component to the option pane. Components are
634 added in a vertical fashion, one per row. The label is
635 displayed to the left of the component.
636<P>
637<DD><DL>
638</DL>
639</DD>
640<DD><DL>
641<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
642 component</DL>
643</DD>
644</DL>
645<HR>
646
647<A NAME="addComponent(java.awt.Component, java.awt.Component)"><!-- --></A><H3>
648addComponent</H3>
649<PRE>
650public void <B>addComponent</B>(java.awt.Component&nbsp;comp1,
651                         java.awt.Component&nbsp;comp2)</PRE>
652<DL>
653<DD>Adds a labeled component to the option pane. Components are
654 added in a vertical fashion, one per row. The label is
655 displayed to the left of the component.
656<P>
657<DD><DL>
658</DL>
659</DD>
660<DD><DL>
661<DT><B>Parameters:</B><DD><CODE>comp1</CODE> - The label<DD><CODE>comp2</CODE> - The component<DT><B>Since:</B></DT>
662  <DD>jEdit 4.1pre3</DD>
663</DL>
664</DD>
665</DL>
666<HR>
667
668<A NAME="addComponent(java.awt.Component, java.awt.Component, int)"><!-- --></A><H3>
669addComponent</H3>
670<PRE>
671public void <B>addComponent</B>(java.awt.Component&nbsp;comp1,
672                         java.awt.Component&nbsp;comp2,
673                         int&nbsp;fill)</PRE>
674<DL>
675<DD>Adds a labeled component to the option pane. Components are
676 added in a vertical fashion, one per row. The label is
677 displayed to the left of the component.
678<P>
679<DD><DL>
680</DL>
681</DD>
682<DD><DL>
683<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
684 component<DT><B>Since:</B></DT>
685  <DD>jEdit 4.1pre3</DD>
686</DL>
687</DD>
688</DL>
689<HR>
690
691<A NAME="addComponent(java.awt.Component)"><!-- --></A><H3>
692addComponent</H3>
693<PRE>
694public void <B>addComponent</B>(java.awt.Component&nbsp;comp)</PRE>
695<DL>
696<DD>Adds a component to the option pane. Components are
697 added in a vertical fashion, one per row.
698<P>
699<DD><DL>
700</DL>
701</DD>
702<DD><DL>
703<DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component</DL>
704</DD>
705</DL>
706<HR>
707
708<A NAME="addComponent(java.awt.Component, int)"><!-- --></A><H3>
709addComponent</H3>
710<PRE>
711public void <B>addComponent</B>(java.awt.Component&nbsp;comp,
712                         int&nbsp;fill)</PRE>
713<DL>
714<DD>Adds a component to the option pane. Components are
715 added in a vertical fashion, one per row.
716<P>
717<DD><DL>
718</DL>
719</DD>
720<DD><DL>
721<DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component<DD><CODE>fill</CODE> - Fill parameter to GridBagConstraints<DT><B>Since:</B></DT>
722  <DD>jEdit 4.2pre2</DD>
723</DL>
724</DD>
725</DL>
726<HR>
727
728<A NAME="addSeparator()"><!-- --></A><H3>
729addSeparator</H3>
730<PRE>
731public void <B>addSeparator</B>()</PRE>
732<DL>
733<DD>Adds a separator component.
734<P>
735<DD><DL>
736</DL>
737</DD>
738<DD><DL>
739<DT><B>Since:</B></DT>
740  <DD>jEdit 4.1pre7</DD>
741</DL>
742</DD>
743</DL>
744<HR>
745
746<A NAME="addSeparator(java.lang.String)"><!-- --></A><H3>
747addSeparator</H3>
748<PRE>
749public void <B>addSeparator</B>(java.lang.String&nbsp;label)</PRE>
750<DL>
751<DD>Adds a separator component.
752<P>
753<DD><DL>
754</DL>
755</DD>
756<DD><DL>
757<DT><B>Parameters:</B><DD><CODE>label</CODE> - The separator label property<DT><B>Since:</B></DT>
758  <DD>jEdit 2.6pre2</DD>
759</DL>
760</DD>
761</DL>
762<HR>
763
764<A NAME="_init()"><!-- --></A><H3>
765_init</H3>
766<PRE>
767protected void <B>_init</B>()</PRE>
768<DL>
769<DD>This method should create and arrange the components of the option pane
770 and initialize the option data displayed to the user. This method
771 is called when the option pane is first displayed, and is not
772 called again for the lifetime of the object.
773<P>
774<DD><DL>
775</DL>
776</DD>
777<DD><DL>
778</DL>
779</DD>
780</DL>
781<HR>
782
783<A NAME="_save()"><!-- --></A><H3>
784_save</H3>
785<PRE>
786protected void <B>_save</B>()</PRE>
787<DL>
788<DD>Called when the options dialog's "ok" button is clicked.
789 This should save any properties being edited in this option
790 pane.
791<P>
792<DD><DL>
793</DL>
794</DD>
795<DD><DL>
796</DL>
797</DD>
798</DL>
799<!-- ========= END OF CLASS DATA ========= -->
800<HR>
801
802
803<!-- ======= START OF BOTTOM NAVBAR ====== -->
804<A NAME="navbar_bottom"><!-- --></A>
805<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
806<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
807<TR>
808<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
809<A NAME="navbar_bottom_firstrow"><!-- --></A>
810<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
811  <TR ALIGN="center" VALIGN="top">
812  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
813  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
814  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
815  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/AbstractOptionPane.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
816  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
817  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
818  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
819  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
820  </TR>
821</TABLE>
822</TD>
823<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
824</EM>
825</TD>
826</TR>
827
828<TR>
829<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
830&nbsp;<A HREF="../../../../org/gjt/sp/jedit/Abbrevs.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>&nbsp;
831&nbsp;<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
832<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
833  <A HREF="../../../../index.html?org/gjt/sp/jedit/AbstractOptionPane.html" target="_top"><B>FRAMES</B></A>  &nbsp;
834&nbsp;<A HREF="AbstractOptionPane.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
835&nbsp;
836<NOSCRIPT>
837  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
838</NOSCRIPT>
839
840
841</FONT></TD>
842</TR>
843<TR>
844<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
845  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>
846<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
847DETAIL:&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>
848</TR>
849</TABLE>
850<A NAME="skip-navbar_bottom"></A>
851<!-- ======== END OF BOTTOM NAVBAR ======= -->
852
853<HR>
854
855</BODY>
856</HTML>