/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/GUIUtilities.html
HTML | 1380 lines | 1243 code | 128 blank | 9 comment | 0 complexity | 2992e4263529016276b5b44c625bf219 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:13:45 GMT-08:00 2008 -->
- <TITLE>
- GUIUtilities (jEdit API)
- </TITLE>
- <META NAME="keywords" CONTENT="org.gjt.sp.jedit.GUIUtilities class">
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
- <NOSCRIPT>
- </NOSCRIPT>
- </HEAD>
- <BODY BGCOLOR="white" >
- <!-- ========= START OF TOP NAVBAR ======= -->
- <A NAME="navbar_top"><!-- --></A>
- <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GUIUtilities.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../org/gjt/sp/jedit/EditServer.html" title="class in org.gjt.sp.jedit"><B>PREV CLASS</B></A>
- <A HREF="../../../../org/gjt/sp/jedit/IPropertyManager.html" title="interface in org.gjt.sp.jedit"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../../../../index.html?org/gjt/sp/jedit/GUIUtilities.html" target="_top"><B>FRAMES</B></A>
- <A HREF="GUIUtilities.html" target="_top"><B>NO FRAMES</B></A>
-
- <NOSCRIPT>
- <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- org.gjt.sp.jedit</FONT>
- <BR>
- Class GUIUtilities</H2>
- <PRE>
- java.lang.Object
- <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.GUIUtilities</B>
- </PRE>
- <HR>
- <DL>
- <DT><PRE>public class <B>GUIUtilities</B><DT>extends java.lang.Object</DL>
- </PRE>
- <P>
- Various GUI functions.<p>
- The most frequently used members of this class are:
- <ul>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadIcon(java.lang.String)"><CODE>loadIcon(String)</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#confirm(java.awt.Component, java.lang.String, java.lang.Object[], int, int)"><CODE>confirm(Component,String,Object[],int,int)</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#error(java.awt.Component, java.lang.String, java.lang.Object[])"><CODE>error(Component,String,Object[])</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#message(java.awt.Component, java.lang.String, java.lang.Object[])"><CODE>message(Component,String,Object[])</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(org.gjt.sp.jedit.View, java.lang.String, int, boolean)"><CODE>showVFSFileDialog(View,String,int,boolean)</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadGeometry(java.awt.Window, java.lang.String)"><CODE>loadGeometry(Window,String)</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#saveGeometry(java.awt.Window, java.lang.String)"><CODE>saveGeometry(Window,String)</CODE></A></li>
- <li><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showPopupMenu(javax.swing.JPopupMenu, java.awt.Component, int, int)"><CODE>showPopupMenu(JPopupMenu,Component,int,int)</CODE></A></li>
- </ul>
- <P>
- <P>
- <HR>
- <P>
- <!-- =========== FIELD SUMMARY =========== -->
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.Icon</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#DIRTY_BUFFER_ICON">DIRTY_BUFFER_ICON</A></B></CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("dirty.gif");</code>
- instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.Icon</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#NEW_BUFFER_ICON">NEW_BUFFER_ICON</A></B></CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("new.gif");</code>
- instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.Icon</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#NORMAL_BUFFER_ICON">NORMAL_BUFFER_ICON</A></B></CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("normal.gif");</code>
- instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.Icon</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#READ_ONLY_BUFFER_ICON">READ_ONLY_BUFFER_ICON</A></B></CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("readonly.gif");</code>
- instead.</I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.Icon</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#WINDOW_ICON">WINDOW_ICON</A></B></CODE>
- <BR>
- <B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("jedit-icon.gif");</code>
- instead.</I></TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#addSizeSaver(java.awt.Frame, java.awt.Container, java.lang.String)">addSizeSaver</A></B>(java.awt.Frame frame,
- java.awt.Container parent,
- java.lang.String name)</CODE>
- <BR>
- Adds a SizeSaver to the specified Frame.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#addSizeSaver(java.awt.Frame, java.lang.String)">addSizeSaver</A></B>(java.awt.Frame frame,
- java.lang.String name)</CODE>
- <BR>
- Adds a SizeSaver to the specified Frame.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#adjustForScreenBounds(java.awt.Rectangle)">adjustForScreenBounds</A></B>(java.awt.Rectangle desired)</CODE>
- <BR>
- Gives a rectangle the specified bounds, ensuring it is within the
- screen bounds.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#centerOnScreen(java.awt.Window)">centerOnScreen</A></B>(java.awt.Window win)</CODE>
- <BR>
- <B>Deprecated.</B> <I>use <CODE>Window.setLocationRelativeTo(java.awt.Component)</CODE></I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#confirm(java.awt.Component, java.lang.String, java.lang.Object[], int, int)">confirm</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args,
- int buttons,
- int type)</CODE>
- <BR>
- Displays a confirm dialog box and returns the button pushed by the
- user.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JComponent</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#createMultilineLabel(java.lang.String)">createMultilineLabel</A></B>(java.lang.String str)</CODE>
- <BR>
- Creates a component that displays a multiple line message.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#error(java.awt.Component, java.lang.String, java.lang.Object[])">error</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args)</CODE>
- <BR>
- Displays an error dialog box.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getColorHexString(java.awt.Color)">getColorHexString</A></B>(java.awt.Color c)</CODE>
- <BR>
- <B>Deprecated.</B> <I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#parseStyle(java.lang.String, java.lang.String, int, boolean)"><CODE>SyntaxUtilities.parseStyle(String,String,int,boolean)</CODE></A></I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Component</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getComponentParent(java.awt.Component, java.lang.Class)">getComponentParent</A></B>(java.awt.Component comp,
- java.lang.Class clazz)</CODE>
- <BR>
- Finds a parent of the specified component.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Image</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getEditorIcon()">getEditorIcon</A></B>()</CODE>
- <BR>
- Returns the default editor window image.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JDialog</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getParentDialog(java.awt.Component)">getParentDialog</A></B>(java.awt.Component c)</CODE>
- <BR>
- Traverses the given component's parent tree looking for an
- instance of JDialog, and return it.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Image</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getPluginIcon()">getPluginIcon</A></B>()</CODE>
- <BR>
- Returns the default plugin window image.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.util.List<javax.swing.JMenuItem></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getServiceContextMenuItems(org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)">getServiceContextMenuItems</A></B>(<A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A> textArea,
- java.awt.event.MouseEvent evt)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getShortcutLabel(java.lang.String)">getShortcutLabel</A></B>(java.lang.String action)</CODE>
- <BR>
- Returns a label string to show users what shortcut are
- assigned to the action.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getStyleString(org.gjt.sp.jedit.syntax.SyntaxStyle)">getStyleString</A></B>(<A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A> style)</CODE>
- <BR>
- Converts a style into it's string representation.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#getView(java.awt.Component)">getView</A></B>(java.awt.Component comp)</CODE>
- <BR>
- Finds the view parent of the specified component.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#hideSplashScreen()">hideSplashScreen</A></B>()</CODE>
- <BR>
- Ensures that the splash screen is not visible.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#initContinuousLayout(javax.swing.JSplitPane)">initContinuousLayout</A></B>(javax.swing.JSplitPane split)</CODE>
- <BR>
- Init the continuous layout flag using the jEdit's property
- appearance.continuousLayout</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#input(java.awt.Component, java.lang.String, java.lang.Object)">input</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object def)</CODE>
- <BR>
- Displays an input dialog box and returns any text the user entered.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#input(java.awt.Component, java.lang.String, java.lang.Object[], java.lang.Object)">input</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args,
- java.lang.Object def)</CODE>
- <BR>
- Displays an input dialog box and returns any text the user entered.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#inputProperty(java.awt.Component, java.lang.String, java.lang.Object[], java.lang.String)">inputProperty</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args,
- java.lang.String def)</CODE>
- <BR>
- Displays an input dialog box and returns any text the user entered.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#inputProperty(java.awt.Component, java.lang.String, java.lang.String)">inputProperty</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.String def)</CODE>
- <BR>
- Displays an input dialog box and returns any text the user entered.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isAncestorOf(java.awt.Component, java.awt.Component)">isAncestorOf</A></B>(java.awt.Component comp1,
- java.awt.Component comp2)</CODE>
- <BR>
- Returns if the first component is an ancestor of the
- second by traversing up the component hierarchy.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isMiddleButton(int)">isMiddleButton</A></B>(int modifiers)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isPopupTrigger(java.awt.event.MouseEvent)">isPopupTrigger</A></B>(java.awt.event.MouseEvent evt)</CODE>
- <BR>
- Returns if the specified event is the popup trigger event.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#isRightButton(int)">isRightButton</A></B>(int modifiers)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#listConfirm(java.awt.Component, java.lang.String, java.lang.String[], java.lang.Object[])">listConfirm</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.String[] args,
- java.lang.Object[] listModel)</CODE>
- <BR>
- Displays a confirm dialog box and returns the button pushed by the
- user.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#listConfirm(java.awt.Component, java.lang.String, java.lang.String[], java.lang.Object[], java.util.List)">listConfirm</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.String[] args,
- java.lang.Object[] listModel,
- java.util.List selectedItems)</CODE>
- <BR>
- Displays a confirm dialog box and returns the button pushed by the
- user.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadGeometry(java.awt.Window, java.awt.Container, java.lang.String)">loadGeometry</A></B>(java.awt.Window win,
- java.awt.Container parent,
- java.lang.String name)</CODE>
- <BR>
- Loads a windows's geometry from the properties.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadGeometry(java.awt.Window, java.lang.String)">loadGeometry</A></B>(java.awt.Window win,
- java.lang.String name)</CODE>
- <BR>
- Loads a windows's geometry from the properties.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.Icon</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadIcon(java.lang.String)">loadIcon</A></B>(java.lang.String iconName)</CODE>
- <BR>
- Loads an icon.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadMenu</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</CODE>
- <BR>
- Creates a menu.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenu(java.lang.String)">loadMenu</A></B>(java.lang.String name)</CODE>
- <BR>
- Creates a menu.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenuBar</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuBar(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadMenuBar</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</CODE>
- <BR>
- Creates a menubar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenuBar</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuBar(java.lang.String)">loadMenuBar</A></B>(java.lang.String name)</CODE>
- <BR>
- Creates a menubar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenuItem</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(org.gjt.sp.jedit.ActionContext, java.lang.String, boolean)">loadMenuItem</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name,
- boolean setMnemonic)</CODE>
- <BR>
- Creates a menu item.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenuItem</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(org.gjt.sp.jedit.EditAction, boolean)">loadMenuItem</A></B>(<A HREF="../../../../org/gjt/sp/jedit/EditAction.html" title="class in org.gjt.sp.jedit">EditAction</A> editAction,
- boolean setMnemonic)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenuItem</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String)">loadMenuItem</A></B>(java.lang.String name)</CODE>
- <BR>
- Creates a menu item.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JMenuItem</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String, boolean)">loadMenuItem</A></B>(java.lang.String name,
- boolean setMnemonic)</CODE>
- <BR>
- Creates a menu item.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JPopupMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadPopupMenu</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</CODE>
- <BR>
- Creates a popup menu.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JPopupMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(org.gjt.sp.jedit.ActionContext, java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)">loadPopupMenu</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name,
- <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A> textArea,
- java.awt.event.MouseEvent evt)</CODE>
- <BR>
- Creates a popup menu.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JPopupMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(java.lang.String)">loadPopupMenu</A></B>(java.lang.String name)</CODE>
- <BR>
- Creates a popup menu.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static javax.swing.JPopupMenu</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadPopupMenu(java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)">loadPopupMenu</A></B>(java.lang.String name,
- <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A> textArea,
- java.awt.event.MouseEvent evt)</CODE>
- <BR>
- Creates a popup menu.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadStyles(java.lang.String, int)">loadStyles</A></B>(java.lang.String family,
- int size)</CODE>
- <BR>
- <B>Deprecated.</B> <I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#loadStyles(java.lang.String, int)"><CODE>SyntaxUtilities.loadStyles(String,int)</CODE></A></I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadStyles(java.lang.String, int, boolean)">loadStyles</A></B>(java.lang.String family,
- int size,
- boolean color)</CODE>
- <BR>
- <B>Deprecated.</B> <I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#loadStyles(java.lang.String, int, boolean)"><CODE>SyntaxUtilities.loadStyles(String,int,boolean)</CODE></A></I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Container</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolBar(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadToolBar</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</CODE>
- <BR>
- Creates a toolbar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Container</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolBar(java.lang.String)">loadToolBar</A></B>(java.lang.String name)</CODE>
- <BR>
- Creates a toolbar.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/gui/EnhancedButton.html" title="class in org.gjt.sp.jedit.gui">EnhancedButton</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolButton(org.gjt.sp.jedit.ActionContext, java.lang.String)">loadToolButton</A></B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</CODE>
- <BR>
- Loads a tool bar button.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/gui/EnhancedButton.html" title="class in org.gjt.sp.jedit.gui">EnhancedButton</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadToolButton(java.lang.String)">loadToolButton</A></B>(java.lang.String name)</CODE>
- <BR>
- Loads a tool bar button.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#message(java.awt.Component, java.lang.String, java.lang.Object[])">message</A></B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args)</CODE>
- <BR>
- Displays a dialog box.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Color</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseColor(java.lang.String)">parseColor</A></B>(java.lang.String name)</CODE>
- <BR>
- Converts a color name to a color object.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.awt.Color</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseColor(java.lang.String, java.awt.Color)">parseColor</A></B>(java.lang.String name,
- java.awt.Color defaultColor)</CODE>
- <BR>
- <B>Deprecated.</B> <I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#parseColor(java.lang.String, java.awt.Color)"><CODE>SyntaxUtilities.parseColor(String,Color)</CODE></A></I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseStyle(java.lang.String, java.lang.String, int)">parseStyle</A></B>(java.lang.String str,
- java.lang.String family,
- int size)</CODE>
- <BR>
- Converts a style string to a style object.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static <A HREF="../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#parseStyle(java.lang.String, java.lang.String, int, boolean)">parseStyle</A></B>(java.lang.String str,
- java.lang.String family,
- int size,
- boolean color)</CODE>
- <BR>
- <B>Deprecated.</B> <I>use <A HREF="../../../../org/gjt/sp/util/SyntaxUtilities.html#parseStyle(java.lang.String, java.lang.String, int, boolean)"><CODE>SyntaxUtilities.parseStyle(String,String,int,boolean)</CODE></A></I></TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#prettifyMenuLabel(java.lang.String)">prettifyMenuLabel</A></B>(java.lang.String label)</CODE>
- <BR>
- `Prettifies' a menu item label by removing the `$' sign.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#requestFocus(java.awt.Window, java.awt.Component)">requestFocus</A></B>(java.awt.Window win,
- java.awt.Component comp)</CODE>
- <BR>
- Focuses on the specified component as soon as the window becomes
- active.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#saveGeometry(java.awt.Window, java.awt.Container, java.lang.String)">saveGeometry</A></B>(java.awt.Window win,
- java.awt.Container parent,
- java.lang.String name)</CODE>
- <BR>
- Saves a window's geometry to the properties.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#saveGeometry(java.awt.Window, java.lang.String)">saveGeometry</A></B>(java.awt.Window win,
- java.lang.String name)</CODE>
- <BR>
- Saves a window's geometry to the properties.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#setIconPath(java.lang.String)">setIconPath</A></B>(java.lang.String iconPath)</CODE>
- <BR>
- Sets the path where jEdit looks for icons.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showPopupMenu(javax.swing.JPopupMenu, java.awt.Component, int, int)">showPopupMenu</A></B>(javax.swing.JPopupMenu popup,
- java.awt.Component comp,
- int x,
- int y)</CODE>
- <BR>
- Shows the specified popup menu, ensuring it is displayed within
- the bounds of the screen.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showPopupMenu(javax.swing.JPopupMenu, java.awt.Component, int, int, boolean)">showPopupMenu</A></B>(javax.swing.JPopupMenu popup,
- java.awt.Component comp,
- int x,
- int y,
- boolean point)</CODE>
- <BR>
- Shows the specified popup menu, ensuring it is displayed within
- the bounds of the screen.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(java.awt.Dialog, org.gjt.sp.jedit.View, java.lang.String, int, boolean)">showVFSFileDialog</A></B>(java.awt.Dialog parent,
- <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A> view,
- java.lang.String path,
- int type,
- boolean multipleSelection)</CODE>
- <BR>
- Displays a VFS file selection dialog box.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(java.awt.Frame, org.gjt.sp.jedit.View, java.lang.String, int, boolean)">showVFSFileDialog</A></B>(java.awt.Frame parent,
- <A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A> view,
- java.lang.String path,
- int type,
- boolean multipleSelection)</CODE>
- <BR>
- Displays a VFS file selection dialog box.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static java.lang.String[]</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#showVFSFileDialog(org.gjt.sp.jedit.View, java.lang.String, int, boolean)">showVFSFileDialog</A></B>(<A HREF="../../../../org/gjt/sp/jedit/View.html" title="class in org.gjt.sp.jedit">View</A> view,
- java.lang.String path,
- int type,
- boolean multipleSelection)</CODE>
- <BR>
- Displays a VFS file selection dialog box.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
- </TR>
- </TABLE>
-
- <P>
- <!-- ============ FIELD DETAIL =========== -->
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="NEW_BUFFER_ICON"><!-- --></A><H3>
- NEW_BUFFER_ICON</H3>
- <PRE>
- public static javax.swing.Icon <B>NEW_BUFFER_ICON</B></PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("new.gif");</code>
- instead.</I><DL>
- </DL>
- </DL>
- <HR>
- <A NAME="DIRTY_BUFFER_ICON"><!-- --></A><H3>
- DIRTY_BUFFER_ICON</H3>
- <PRE>
- public static javax.swing.Icon <B>DIRTY_BUFFER_ICON</B></PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("dirty.gif");</code>
- instead.</I><DL>
- </DL>
- </DL>
- <HR>
- <A NAME="READ_ONLY_BUFFER_ICON"><!-- --></A><H3>
- READ_ONLY_BUFFER_ICON</H3>
- <PRE>
- public static javax.swing.Icon <B>READ_ONLY_BUFFER_ICON</B></PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("readonly.gif");</code>
- instead.</I><DL>
- </DL>
- </DL>
- <HR>
- <A NAME="NORMAL_BUFFER_ICON"><!-- --></A><H3>
- NORMAL_BUFFER_ICON</H3>
- <PRE>
- public static javax.swing.Icon <B>NORMAL_BUFFER_ICON</B></PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("normal.gif");</code>
- instead.</I><DL>
- </DL>
- </DL>
- <HR>
- <A NAME="WINDOW_ICON"><!-- --></A><H3>
- WINDOW_ICON</H3>
- <PRE>
- public static javax.swing.Icon <B>WINDOW_ICON</B></PRE>
- <DL>
- <DD><B>Deprecated.</B> <I>Use <code>GUIUtilities.loadIcon("jedit-icon.gif");</code>
- instead.</I><DL>
- </DL>
- </DL>
- <!-- ============ METHOD DETAIL ========== -->
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="setIconPath(java.lang.String)"><!-- --></A><H3>
- setIconPath</H3>
- <PRE>
- public static void <B>setIconPath</B>(java.lang.String iconPath)</PRE>
- <DL>
- <DD>Sets the path where jEdit looks for icons.
- <P>
- <DD><DL>
- <DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre5</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadIcon(java.lang.String)"><!-- --></A><H3>
- loadIcon</H3>
- <PRE>
- public static javax.swing.Icon <B>loadIcon</B>(java.lang.String iconName)</PRE>
- <DL>
- <DD>Loads an icon.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>iconName</CODE> - The icon name<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre7</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getEditorIcon()"><!-- --></A><H3>
- getEditorIcon</H3>
- <PRE>
- public static java.awt.Image <B>getEditorIcon</B>()</PRE>
- <DL>
- <DD>Returns the default editor window image.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getPluginIcon()"><!-- --></A><H3>
- getPluginIcon</H3>
- <PRE>
- public static java.awt.Image <B>getPluginIcon</B>()</PRE>
- <DL>
- <DD>Returns the default plugin window image.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenuBar(java.lang.String)"><!-- --></A><H3>
- loadMenuBar</H3>
- <PRE>
- public static javax.swing.JMenuBar <B>loadMenuBar</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Creates a menubar. Plugins should not need to call this method.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu bar name<DT><B>Since:</B></DT>
- <DD>jEdit 3.2pre5</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenuBar(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
- loadMenuBar</H3>
- <PRE>
- public static javax.swing.JMenuBar <B>loadMenuBar</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</PRE>
- <DL>
- <DD>Creates a menubar. Plugins should not need to call this method.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context<DD><CODE>name</CODE> - The menu bar name<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenu(java.lang.String)"><!-- --></A><H3>
- loadMenu</H3>
- <PRE>
- public static javax.swing.JMenu <B>loadMenu</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Creates a menu. The menu label is set from the
- <code><i>name</i>.label</code> property. The menu contents is taken
- from the <code><i>name</i></code> property, which is a whitespace
- separated list of action names. An action name of <code>-</code>
- inserts a separator in the menu.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre2</DD>
- <DT><B>See Also:</B><DD><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String)"><CODE>loadMenuItem(String)</CODE></A></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
- loadMenu</H3>
- <PRE>
- public static javax.swing.JMenu <B>loadMenu</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</PRE>
- <DL>
- <DD>Creates a menu. The menu label is set from the
- <code><i>name</i>.label</code> property. The menu contents is taken
- from the <code><i>name</i></code> property, which is a whitespace
- separated list of action names. An action name of <code>-</code>
- inserts a separator in the menu.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
- <code>jEdit.getActionContext()</code> or
- <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- <DT><B>See Also:</B><DD><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenuItem(java.lang.String)"><CODE>loadMenuItem(String)</CODE></A></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadPopupMenu(java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)"><!-- --></A><H3>
- loadPopupMenu</H3>
- <PRE>
- public static javax.swing.JPopupMenu <B>loadPopupMenu</B>(java.lang.String name,
- <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A> textArea,
- java.awt.event.MouseEvent evt)</PRE>
- <DL>
- <DD>Creates a popup menu.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre2</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadPopupMenu(java.lang.String)"><!-- --></A><H3>
- loadPopupMenu</H3>
- <PRE>
- public static javax.swing.JPopupMenu <B>loadPopupMenu</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Creates a popup menu.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre2</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadPopupMenu(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
- loadPopupMenu</H3>
- <PRE>
- public static javax.swing.JPopupMenu <B>loadPopupMenu</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</PRE>
- <DL>
- <DD>Creates a popup menu.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
- <code>jEdit.getActionContext()</code> or
- <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The menu name<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadPopupMenu(org.gjt.sp.jedit.ActionContext, java.lang.String, org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)"><!-- --></A><H3>
- loadPopupMenu</H3>
- <PRE>
- public static javax.swing.JPopupMenu <B>loadPopupMenu</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name,
- <A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A> textArea,
- java.awt.event.MouseEvent evt)</PRE>
- <DL>
- <DD>Creates a popup menu.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
- <code>jEdit.getActionContext()</code> or
- <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The menu name<DD><CODE>editPane</CODE> - the EditPane holding the TextArea wanting to show the
- popup. If not null, include context menu items defined by services.<DD><CODE>evt</CODE> - additional context info about where the mouse was when menu was requested<DT><B>Since:</B></DT>
- <DD>jEdit 4.3pre15</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getServiceContextMenuItems(org.gjt.sp.jedit.textarea.JEditTextArea, java.awt.event.MouseEvent)"><!-- --></A><H3>
- getServiceContextMenuItems</H3>
- <PRE>
- public static java.util.List<javax.swing.JMenuItem> <B>getServiceContextMenuItems</B>(<A HREF="../../../../org/gjt/sp/jedit/textarea/JEditTextArea.html" title="class in org.gjt.sp.jedit.textarea">JEditTextArea</A> textArea,
- java.awt.event.MouseEvent evt)</PRE>
- <DL>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>editPane</CODE> - the EditPane desiring to display these menu items
- <DT><B>Returns:</B><DD>a list of menu items defined by services.<DT><B>Since:</B></DT>
- <DD>jEdit 4.3pre15</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenuItem(java.lang.String)"><!-- --></A><H3>
- loadMenuItem</H3>
- <PRE>
- public static javax.swing.JMenuItem <B>loadMenuItem</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Creates a menu item. The menu item is bound to the action named by
- <code>name</code> with label taken from the return value of the
- <A HREF="../../../../org/gjt/sp/jedit/EditAction.html#getLabel()"><CODE>EditAction.getLabel()</CODE></A> method.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu item name<DT><B>Since:</B></DT>
- <DD>jEdit 2.6pre1</DD>
- <DT><B>See Also:</B><DD><A HREF="../../../../org/gjt/sp/jedit/GUIUtilities.html#loadMenu(java.lang.String)"><CODE>loadMenu(String)</CODE></A></DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenuItem(java.lang.String, boolean)"><!-- --></A><H3>
- loadMenuItem</H3>
- <PRE>
- public static javax.swing.JMenuItem <B>loadMenuItem</B>(java.lang.String name,
- boolean setMnemonic)</PRE>
- <DL>
- <DD>Creates a menu item.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The menu item name<DD><CODE>setMnemonic</CODE> - True if the menu item should have a mnemonic<DT><B>Since:</B></DT>
- <DD>jEdit 3.1pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenuItem(org.gjt.sp.jedit.ActionContext, java.lang.String, boolean)"><!-- --></A><H3>
- loadMenuItem</H3>
- <PRE>
- public static javax.swing.JMenuItem <B>loadMenuItem</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name,
- boolean setMnemonic)</PRE>
- <DL>
- <DD>Creates a menu item.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
- <code>jEdit.getActionContext()</code> or
- <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The menu item name<DD><CODE>setMnemonic</CODE> - True if the menu item should have a mnemonic<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadMenuItem(org.gjt.sp.jedit.EditAction, boolean)"><!-- --></A><H3>
- loadMenuItem</H3>
- <PRE>
- public static javax.swing.JMenuItem <B>loadMenuItem</B>(<A HREF="../../../../org/gjt/sp/jedit/EditAction.html" title="class in org.gjt.sp.jedit">EditAction</A> editAction,
- boolean setMnemonic)</PRE>
- <DL>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadToolBar(java.lang.String)"><!-- --></A><H3>
- loadToolBar</H3>
- <PRE>
- public static java.awt.Container <B>loadToolBar</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Creates a toolbar.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The toolbar name<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre2</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadToolBar(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
- loadToolBar</H3>
- <PRE>
- public static java.awt.Container <B>loadToolBar</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</PRE>
- <DL>
- <DD>Creates a toolbar.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
- <code>jEdit.getActionContext()</code> or
- <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The toolbar name<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre2</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadToolButton(java.lang.String)"><!-- --></A><H3>
- loadToolButton</H3>
- <PRE>
- public static <A HREF="../../../../org/gjt/sp/jedit/gui/EnhancedButton.html" title="class in org.gjt.sp.jedit.gui">EnhancedButton</A> <B>loadToolButton</B>(java.lang.String name)</PRE>
- <DL>
- <DD>Loads a tool bar button. The tooltip is constructed from
- the <code><i>name</i>.label</code> and
- <code><i>name</i>.shortcut</code> properties and the icon is loaded
- from the resource named '/org/gjt/sp/jedit/icons/' suffixed
- with the value of the <code><i>name</i>.icon</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the button</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadToolButton(org.gjt.sp.jedit.ActionContext, java.lang.String)"><!-- --></A><H3>
- loadToolButton</H3>
- <PRE>
- public static <A HREF="../../../../org/gjt/sp/jedit/gui/EnhancedButton.html" title="class in org.gjt.sp.jedit.gui">EnhancedButton</A> <B>loadToolButton</B>(<A HREF="../../../../org/gjt/sp/jedit/ActionContext.html" title="class in org.gjt.sp.jedit">ActionContext</A> context,
- java.lang.String name)</PRE>
- <DL>
- <DD>Loads a tool bar button. The tooltip is constructed from
- the <code><i>name</i>.label</code> and
- <code><i>name</i>.shortcut</code> properties and the icon is loaded
- from the resource named '/org/gjt/sp/jedit/icons/' suffixed
- with the value of the <code><i>name</i>.icon</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>context</CODE> - An action context; either
- <code>jEdit.getActionContext()</code> or
- <code>VFSBrowser.getActionContext()</code>.<DD><CODE>name</CODE> - The name of the button<DT><B>Since:</B></DT>
- <DD>jEdit 4.2pre1</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="prettifyMenuLabel(java.lang.String)"><!-- --></A><H3>
- prettifyMenuLabel</H3>
- <PRE>
- public static java.lang.String <B>prettifyMenuLabel</B>(java.lang.String label)</PRE>
- <DL>
- <DD>`Prettifies' a menu item label by removing the `$' sign. This
- can be used to process the contents of an <i>action</i>.label
- property.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="getShortcutLabel(java.lang.String)"><!-- --></A><H3>
- getShortcutLabel</H3>
- <PRE>
- public static java.lang.String <B>getShortcutLabel</B>(java.lang.String action)</PRE>
- <DL>
- <DD>Returns a label string to show users what shortcut are
- assigned to the action.
- <P>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="message(java.awt.Component, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
- message</H3>
- <PRE>
- public static void <B>message</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args)</PRE>
- <DL>
- <DD>Displays a dialog box.
- The title of the dialog is fetched from
- the <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property. The message
- is formatted by the property manager with <code>args</code> as
- positional parameters.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>args</CODE> - Positional parameters to be substituted into the
- message text</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="error(java.awt.Component, java.lang.String, java.lang.Object[])"><!-- --></A><H3>
- error</H3>
- <PRE>
- public static void <B>error</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args)</PRE>
- <DL>
- <DD>Displays an error dialog box.
- The title of the dialog is fetched from
- the <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property. The message
- is formatted by the property manager with <code>args</code> as
- positional parameters.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>args</CODE> - Positional parameters to be substituted into the
- message text</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="input(java.awt.Component, java.lang.String, java.lang.Object)"><!-- --></A><H3>
- input</H3>
- <PRE>
- public static java.lang.String <B>input</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object def)</PRE>
- <DL>
- <DD>Displays an input dialog box and returns any text the user entered.
- The title of the dialog is fetched from
- the <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>def</CODE> - The text to display by default in the input field</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="inputProperty(java.awt.Component, java.lang.String, java.lang.String)"><!-- --></A><H3>
- inputProperty</H3>
- <PRE>
- public static java.lang.String <B>inputProperty</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.String def)</PRE>
- <DL>
- <DD>Displays an input dialog box and returns any text the user entered.
- The title of the dialog is fetched from
- the <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>def</CODE> - The property whose text to display in the input field</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="input(java.awt.Component, java.lang.String, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
- input</H3>
- <PRE>
- public static java.lang.String <B>input</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args,
- java.lang.Object def)</PRE>
- <DL>
- <DD>Displays an input dialog box and returns any text the user entered.
- The title of the dialog is fetched from
- the <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>def</CODE> - The text to display by default in the input field<DD><CODE>args</CODE> - Positional parameters to be substituted into the
- message text<DT><B>Since:</B></DT>
- <DD>jEdit 3.1pre3</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="inputProperty(java.awt.Component, java.lang.String, java.lang.Object[], java.lang.String)"><!-- --></A><H3>
- inputProperty</H3>
- <PRE>
- public static java.lang.String <B>inputProperty</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args,
- java.lang.String def)</PRE>
- <DL>
- <DD>Displays an input dialog box and returns any text the user entered.
- The title of the dialog is fetched from
- the <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>args</CODE> - Positional parameters to be substituted into the
- message text<DD><CODE>def</CODE> - The property whose text to display in the input field<DT><B>Since:</B></DT>
- <DD>jEdit 3.1pre3</DD>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="confirm(java.awt.Component, java.lang.String, java.lang.Object[], int, int)"><!-- --></A><H3>
- confirm</H3>
- <PRE>
- public static int <B>confirm</B>(java.awt.Component comp,
- java.lang.String name,
- java.lang.Object[] args,
- int buttons,
- int type)</PRE>
- <DL>
- <DD>Displays a confirm dialog box and returns the button pushed by the
- user. The title of the dialog is fetched from the
- <code><i>name</i>.title</code> property. The message is fetched
- from the <code><i>name</i>.message</code> property.
- <P>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>comp</CODE> - The component to display the dialog for<DD><CODE>name</CODE> - The name of the dialog<DD><CODE>args</CODE> - Positional parameters to be substituted into the
- message text<DD><CODE>buttons</CODE> - The buttons to display - for exa